| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

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

## Macros

#define | GPIO_Input ((uint8_t)0)
#define | Serial1_Mode ((uint8_t)1)
#define | Serial0_Mode ((uint8_t)4)
#define | Microphone_Mode ((uint8_t)5)
#define | GPIO_Output ((uint8_t)6)
#define | IS_GPIO_MODE(MODE)

## Detailed Description

## Macro Definition Documentation

#define GPIO_Input ((uint8_t)0)

GPIO input selected

Definition at line 111 of file BlueNRG1_gpio.h.

#define GPIO_Output ((uint8_t)6)

GPIO output mode selected

Definition at line 115 of file BlueNRG1_gpio.h.

#define IS_GPIO_MODE | ( |  | MODE | ) |

Value:
(((MODE) == GPIO_Input) || \
((MODE) == GPIO_Output) || \
((MODE) == Serial1_Mode) || \
((MODE) == Serial0_Mode) || \
((MODE) == Microphone_Mode))
Serial1_Mode
#define Serial1_Mode
Definition: BlueNRG1_gpio.h:112
GPIO_Input
#define GPIO_Input
Definition: BlueNRG1_gpio.h:111
Serial0_Mode
#define Serial0_Mode
Definition: BlueNRG1_gpio.h:113
GPIO_Output
#define GPIO_Output
Definition: BlueNRG1_gpio.h:115
Microphone_Mode
#define Microphone_Mode
Definition: BlueNRG1_gpio.h:114

Definition at line 118 of file BlueNRG1_gpio.h.

#define Microphone_Mode ((uint8_t)5)

Microphone mode selected

Definition at line 114 of file BlueNRG1_gpio.h.

#define Serial0_Mode ((uint8_t)4)

Serial0 mode selected

Definition at line 113 of file BlueNRG1_gpio.h.

#define Serial1_Mode ((uint8_t)1)

Serial1 mode selected

Definition at line 112 of file BlueNRG1_gpio.h.