diff options
author | John Klug <john.klug@multitech.com> | 2017-04-03 09:01:37 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-04-03 09:01:37 -0500 |
commit | 066312ffe878c4bee809684eb1fd59366ed73730 (patch) | |
tree | f97cb9a24e56a23147a1b03ecf0d620d902d3a3c /io-module/mts_io.h | |
parent | e1db81e1665f45461e284e69c9cfbc037ba3cb2b (diff) | |
parent | 5a93570f21fb963f2dc1bdd4dedc01f2d9a86200 (diff) | |
download | mts-io-066312ffe878c4bee809684eb1fd59366ed73730.tar.gz mts-io-066312ffe878c4bee809684eb1fd59366ed73730.tar.bz2 mts-io-066312ffe878c4bee809684eb1fd59366ed73730.zip |
Merge branch 'mtr_patches' into 'master'
1.5.11
Add mtr support
See merge request !11
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r-- | io-module/mts_io.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h index 5918fa9..05111c7 100644 --- a/io-module/mts_io.h +++ b/io-module/mts_io.h @@ -65,6 +65,8 @@ struct device_attribute _dev_name = { \ #define HW_VERSION_MT100EOCG_0_0 "MT100EOCG-0.0" #define HW_VERSION_MTR_0_0 "MTR-0.0" #define HW_VERSION_MTR_0_1 "MTR-0.1" +#define HW_VERSION_MTRV1_0_0 "MTRV1-0.0" +#define HW_VERSION_MTRV1_0_1 "MTRV1-0.1" #define HW_VERSION_MTCDT_0_0 "MTCDT-0.0" #define HW_VERSION_MTCDT_0_1 "MTCDT-0.1" #define HW_VERSION_MTCAP_0_0 "MTCAP-0.0" @@ -75,6 +77,8 @@ enum { MT100EOCG_0_0, MTR_0_0, MTR_0_1, + MTRV1_0_0, + MTRV1_0_1, MTCDT_0_0, MTCDT_0_1, MTCAP_0_0, @@ -91,13 +95,6 @@ enum { MTAC_LORA_1_5, }; -// GPIO pin types:input, output, open drain (1 = high Z, 0 = output low) -enum { - GPIO_DIR_INPUT, - GPIO_DIR_OUTPUT, - GPIO_DIR_OD, -}; - struct gpio_pin { char name[32]; struct gpio pin; |