| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Event Definition
BLUENRG1 Peripheral Driver » GPIO Peripheral » Exported Constants

## Macros

#define | GPIO_Event_Low (0)
#define | GPIO_Event_High (1)
#define | GPIO_Event_Both (2)
#define | IS_GPIO_EVENT(EV)

## Detailed Description

## Macro Definition Documentation

#define GPIO_Event_Both (2)

Both edges detection

Definition at line 192 of file BlueNRG1_gpio.h.

#define GPIO_Event_High (1)

High level or rising edge detection

Definition at line 191 of file BlueNRG1_gpio.h.

#define GPIO_Event_Low (0)

Low level or falling edge detection

Definition at line 190 of file BlueNRG1_gpio.h.

#define IS_GPIO_EVENT | ( |  | EV | ) |

Value:
(((EV) == GPIO_Event_Low) || \
((EV) == GPIO_Event_High) || \
((EV) == GPIO_Event_Both))
GPIO_Event_Both
#define GPIO_Event_Both
Definition: BlueNRG1_gpio.h:192
GPIO_Event_High
#define GPIO_Event_High
Definition: BlueNRG1_gpio.h:191
GPIO_Event_Low
#define GPIO_Event_Low
Definition: BlueNRG1_gpio.h:190

This macro checks if EV is a valid GPIO_Event value

Definition at line 195 of file BlueNRG1_gpio.h.