Rev 1543 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1543 | Rev 1978 | ||
|---|---|---|---|
| Line 32... | Line 32... | ||
| 32 | uint8_t Type; //Config, if sensor is of type periodic or digital input |
32 | uint8_t Type; //Config, if sensor is of type periodic or digital input |
| 33 | uint8_t PullupEnable; //Config, if the pullup should be enabled |
33 | uint8_t PullupEnable; //Config, if the pullup should be enabled |
| 34 | uint8_t RefEnable; //Config, if the reference to GND should be enabled |
34 | uint8_t RefEnable; //Config, if the reference to GND should be enabled |
| 35 | } sns_inputAnalog_Config[sns_inputAnalog_NUM_SUPPORTED]; |
35 | } sns_inputAnalog_Config[sns_inputAnalog_NUM_SUPPORTED]; |
| 36 | 36 | ||
| 37 | |
37 | #ifndef sns_inputAnalog_USEEEPROM |
| - | 38 | #define sns_inputAnalog_USEEEPROM 0 |
|
| - | 39 | #endif |
|
| - | 40 | ||
| - | 41 | #if sns_inputAnalog_USEEEPROM==1 |
|
| 38 | struct sns_inputAnalog_Data{ |
42 | struct sns_inputAnalog_Data{ |
| 39 | struct sns_inputAnalog_Config Config0; |
43 | struct sns_inputAnalog_Config Config0; |
| 40 | #if sns_inputAnalog_NUM_SUPPORTED>=2 |
44 | #if sns_inputAnalog_NUM_SUPPORTED>=2 |
| 41 | struct sns_inputAnalog_Config Config1; |
45 | struct sns_inputAnalog_Config Config1; |
| 42 | #endif |
46 | #endif |