| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

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

## Macros

#define | GPIO_Pin_0 ((uint16_t)0x0001)
#define | GPIO_Pin_1 ((uint16_t)0x0002)
#define | GPIO_Pin_2 ((uint16_t)0x0004)
#define | GPIO_Pin_3 ((uint16_t)0x0008)
#define | GPIO_Pin_4 ((uint16_t)0x0010)
#define | GPIO_Pin_5 ((uint16_t)0x0020)
#define | GPIO_Pin_6 ((uint16_t)0x0040)
#define | GPIO_Pin_7 ((uint16_t)0x0080)
#define | GPIO_Pin_8 ((uint16_t)0x0100)
#define | GPIO_Pin_9 ((uint16_t)0x0200)
#define | GPIO_Pin_10 ((uint16_t)0x0400)
#define | GPIO_Pin_11 ((uint16_t)0x0800)
#define | GPIO_Pin_12 ((uint16_t)0x1000)
#define | GPIO_Pin_13 ((uint16_t)0x2000)
#define | GPIO_Pin_14 ((uint16_t)0x4000)
#define | GPIO_Pin_All ((uint16_t)0x7FFF)
#define | GPIO_PIN_COUNT (15)
#define | IS_GPIO_PIN(PIN)
#define | IS_GPIO_PINS(PIN) ((PIN & GPIO_Pin_All) != 0)

## Detailed Description

## Macro Definition Documentation

#define GPIO_Pin_0 ((uint16_t)0x0001)

Pin 0 selected

Definition at line 133 of file BlueNRG1_gpio.h.

#define GPIO_Pin_1 ((uint16_t)0x0002)

Pin 1 selected

Definition at line 134 of file BlueNRG1_gpio.h.

#define GPIO_Pin_10 ((uint16_t)0x0400)

Pin 10 selected

Definition at line 143 of file BlueNRG1_gpio.h.

#define GPIO_Pin_11 ((uint16_t)0x0800)

Pin 11 selected

Definition at line 144 of file BlueNRG1_gpio.h.

#define GPIO_Pin_12 ((uint16_t)0x1000)

Pin 12 selected

Definition at line 145 of file BlueNRG1_gpio.h.

#define GPIO_Pin_13 ((uint16_t)0x2000)

Pin 13 selected

Definition at line 146 of file BlueNRG1_gpio.h.

#define GPIO_Pin_14 ((uint16_t)0x4000)

Pin 14 selected

Definition at line 147 of file BlueNRG1_gpio.h.

#define GPIO_Pin_2 ((uint16_t)0x0004)

Pin 2 selected

Definition at line 135 of file BlueNRG1_gpio.h.

#define GPIO_Pin_3 ((uint16_t)0x0008)

Pin 3 selected

Definition at line 136 of file BlueNRG1_gpio.h.

#define GPIO_Pin_4 ((uint16_t)0x0010)

Pin 4 selected

Definition at line 137 of file BlueNRG1_gpio.h.

#define GPIO_Pin_5 ((uint16_t)0x0020)

Pin 5 selected

Definition at line 138 of file BlueNRG1_gpio.h.

#define GPIO_Pin_6 ((uint16_t)0x0040)

Pin 6 selected

Definition at line 139 of file BlueNRG1_gpio.h.

#define GPIO_Pin_7 ((uint16_t)0x0080)

Pin 7 selected

Definition at line 140 of file BlueNRG1_gpio.h.

#define GPIO_Pin_8 ((uint16_t)0x0100)

Pin 8 selected

Definition at line 141 of file BlueNRG1_gpio.h.

#define GPIO_Pin_9 ((uint16_t)0x0200)

Pin 9 selected

Definition at line 142 of file BlueNRG1_gpio.h.

#define GPIO_Pin_All ((uint16_t)0x7FFF)

All pins selected

Definition at line 148 of file BlueNRG1_gpio.h.

#define GPIO_PIN_COUNT (15)

Definition at line 151 of file BlueNRG1_gpio.h.

#define IS_GPIO_PIN | ( |  | PIN | ) |

Value:
(((PIN) == GPIO_Pin_0) || ((PIN) == GPIO_Pin_1) || \
((PIN) == GPIO_Pin_2) || ((PIN) == GPIO_Pin_3) || \
((PIN) == GPIO_Pin_4) || ((PIN) == GPIO_Pin_5) || \
((PIN) == GPIO_Pin_6) || ((PIN) == GPIO_Pin_7) || \
((PIN) == GPIO_Pin_8) || ((PIN) == GPIO_Pin_9) || \
((PIN) == GPIO_Pin_10) || ((PIN) == GPIO_Pin_11) || \
((PIN) == GPIO_Pin_12) || ((PIN) == GPIO_Pin_13) || \
((PIN) == GPIO_Pin_14))
GPIO_Pin_0
#define GPIO_Pin_0
Definition: BlueNRG1_gpio.h:133
GPIO_Pin_12
#define GPIO_Pin_12
Definition: BlueNRG1_gpio.h:145
GPIO_Pin_3
#define GPIO_Pin_3
Definition: BlueNRG1_gpio.h:136
GPIO_Pin_5
#define GPIO_Pin_5
Definition: BlueNRG1_gpio.h:138
GPIO_Pin_13
#define GPIO_Pin_13
Definition: BlueNRG1_gpio.h:146
GPIO_Pin_8
#define GPIO_Pin_8
Definition: BlueNRG1_gpio.h:141
GPIO_Pin_2
#define GPIO_Pin_2
Definition: BlueNRG1_gpio.h:135
GPIO_Pin_6
#define GPIO_Pin_6
Definition: BlueNRG1_gpio.h:139
GPIO_Pin_14
#define GPIO_Pin_14
Definition: BlueNRG1_gpio.h:147
GPIO_Pin_1
#define GPIO_Pin_1
Definition: BlueNRG1_gpio.h:134
GPIO_Pin_9
#define GPIO_Pin_9
Definition: BlueNRG1_gpio.h:142
GPIO_Pin_7
#define GPIO_Pin_7
Definition: BlueNRG1_gpio.h:140
GPIO_Pin_10
#define GPIO_Pin_10
Definition: BlueNRG1_gpio.h:143
GPIO_Pin_11
#define GPIO_Pin_11
Definition: BlueNRG1_gpio.h:144
GPIO_Pin_4
#define GPIO_Pin_4
Definition: BlueNRG1_gpio.h:137

Definition at line 153 of file BlueNRG1_gpio.h.

#define IS_GPIO_PINS | ( |  | PIN | ) | ((PIN & GPIO_Pin_All) != 0)

Definition at line 164 of file BlueNRG1_gpio.h.