nrf5/hal/gpio: Removing toggle event from the enumeration as that will be a combination of the rising and falling together.
This commit is contained in:
parent
6446105689
commit
8c45aca8d2
|
@ -49,8 +49,7 @@
|
|||
|
||||
typedef enum {
|
||||
HAL_GPIO_POLARITY_EVENT_LOW_TO_HIGH = GPIOTE_CONFIG_POLARITY_LoToHi << GPIOTE_CONFIG_POLARITY_Pos,
|
||||
HAL_GPIO_POLARITY_EVENT_HIGH_TO_LOW = GPIOTE_CONFIG_POLARITY_HiToLo << GPIOTE_CONFIG_POLARITY_Pos,
|
||||
HAL_GPIO_POLARITY_EVENT_TOGGLE = GPIOTE_CONFIG_POLARITY_Toggle << GPIOTE_CONFIG_POLARITY_Pos
|
||||
HAL_GPIO_POLARITY_EVENT_HIGH_TO_LOW = GPIOTE_CONFIG_POLARITY_HiToLo << GPIOTE_CONFIG_POLARITY_Pos
|
||||
} hal_gpio_polarity_event_t;
|
||||
|
||||
typedef enum {
|
||||
|
|
Loading…
Reference in New Issue