mirror of https://github.com/arendst/Tasmota.git
Changed mcp230xx_config structure
This commit is contained in:
parent
9731b13fd6
commit
6a4d4503f6
|
@ -155,11 +155,9 @@ typedef union {
|
|||
typedef union {
|
||||
uint8_t data;
|
||||
struct {
|
||||
uint8_t enable : 1; // Enable INPUT
|
||||
uint8_t pinmode : 3; // Enable INPUT
|
||||
uint8_t pullup : 1; // Enable internal weak pull-up resistor
|
||||
uint8_t inten : 1; // Enable Interrupt on PIN
|
||||
uint8_t intmode : 1; // Change on STATE or match COMPARATOR
|
||||
uint8_t intcomp : 1; // Interrupt COMPARATOR
|
||||
uint8_t b4 : 1;
|
||||
uint8_t b5 : 1;
|
||||
uint8_t b6 : 1;
|
||||
uint8_t b7 : 1;
|
||||
|
@ -413,4 +411,4 @@ typedef union {
|
|||
ADC_MODE(ADC_VCC); // Set ADC input for Power Supply Voltage usage
|
||||
#endif
|
||||
|
||||
#endif // _SETTINGS_H_
|
||||
#endif // _SETTINGS_H_
|
||||
|
|
Loading…
Reference in New Issue