diff --git a/api/Common.h b/api/Common.h index 9b28f40a..9a86cb5e 100644 --- a/api/Common.h +++ b/api/Common.h @@ -36,11 +36,14 @@ typedef enum { } PinStatus; typedef enum { - INPUT = 0x0, - OUTPUT = 0x1, - INPUT_PULLUP = 0x2, - INPUT_PULLDOWN = 0x3, - OUTPUT_OPENDRAIN = 0x4, + INPUT = 0x0, + OUTPUT = 0x1, + INPUT_PULLUP = 0x2, + INPUT_FLOATING = INPUT, + INPUT_PULLDOWN = 0x3, + OUTPUT_OPENDRAIN = 0x4, + OUTPUT_OPEN_DRAIN = OUTPUT_OPENDRAIN, + INPUT_ANALOG = 0x5, } PinMode; typedef enum {