Macros
Defines
Peripheral Driver » APP DRIVER » GPIO » Defines
Collaboration diagram for Defines:

## Macros
#define | APP_IO_PIN_0 ((uint32_t)0x00000001U)
| APP_GPIO_DEFINE IO pins. More...
#define | APP_IO_PIN_1 ((uint32_t)0x00000002U)
| Pin 1 selected More...
#define | APP_IO_PIN_2 ((uint32_t)0x00000004U)
| Pin 2 selected More...
#define | APP_IO_PIN_3 ((uint32_t)0x00000008U)
| Pin 3 selected More...
#define | APP_IO_PIN_4 ((uint32_t)0x00000010U)
| Pin 4 selected More...
#define | APP_IO_PIN_5 ((uint32_t)0x00000020U)
| Pin 5 selected More...
#define | APP_IO_PIN_6 ((uint32_t)0x00000040U)
| Pin 6 selected More...
#define | APP_IO_PIN_7 ((uint32_t)0x00000080U)
| Pin 7 selected More...
#define | APP_IO_PIN_8 ((uint32_t)0x00000100U)
| Pin 8 selected More...
#define | APP_IO_PIN_9 ((uint32_t)0x00000200U)
| Pin 9 selected More...
#define | APP_IO_PIN_10 ((uint32_t)0x00000400U)
| Pin 10 selected More...
#define | APP_IO_PIN_11 ((uint32_t)0x00000800U)
| Pin 11 selected More...
#define | APP_IO_PIN_12 ((uint32_t)0x00001000U)
| Pin 12 selected More...
#define | APP_IO_PIN_13 ((uint32_t)0x00002000U)
| Pin 13 selected More...
#define | APP_IO_PIN_14 ((uint32_t)0x00004000U)
| Pin 14 selected More...
#define | APP_IO_PIN_15 ((uint32_t)0x00008000U)
| Pin 15 selected More...
#define | APP_IO_PIN_16 ((uint32_t)0x00010000U)
| Pin 16 selected More...
#define | APP_IO_PIN_17 ((uint32_t)0x00020000U)
| Pin 17 selected More...
#define | APP_IO_PIN_18 ((uint32_t)0x00040000U)
| Pin 18 selected More...
#define | APP_IO_PIN_19 ((uint32_t)0x00080000U)
| Pin 19 selected More...
#define | APP_IO_PIN_20 ((uint32_t)0x00100000U)
| Pin 20 selected More...
#define | APP_IO_PIN_21 ((uint32_t)0x00200000U)
| Pin 21 selected More...
#define | APP_IO_PIN_22 ((uint32_t)0x00400000U)
| Pin 22 selected More...
#define | APP_IO_PIN_23 ((uint32_t)0x00800000U)
| Pin 23 selected More...
#define | APP_IO_PIN_24 ((uint32_t)0x01000000U)
| Pin 24 selected More...
#define | APP_IO_PIN_25 ((uint32_t)0x02000000U)
| Pin 25 selected More...
#define | APP_IO_PIN_26 ((uint32_t)0x04000000U)
| Pin 26 selected More...
#define | APP_IO_PIN_27 ((uint32_t)0x08000000U)
| Pin 27 selected More...
#define | APP_IO_PIN_28 ((uint32_t)0x10000000U)
| Pin 28 selected More...
#define | APP_IO_PIN_29 ((uint32_t)0x20000000U)
| Pin 29 selected More...
#define | APP_IO_PIN_30 ((uint32_t)0x40000000U)
| Pin 30 selected More...
#define | APP_IO_PIN_31 ((uint32_t)0x80000000U)
| Pin 31 selected More...
#define | APP_IO_PINS_0_7 ((uint32_t)0x000000FFU)
| 0~7 pins selected More...
#define | APP_IO_PINS_0_15 ((uint32_t)0x0000FFFFU)
| 0~15 pins selected More...
#define | APP_IO_PINS_16_31 ((uint32_t)0xFFFF0000U)
| 16~31 pins selected More...
#define | APP_AON_IO_PIN_ALL ((uint32_t)0x000000FFU)
| All AON pins selected. More...
#define | APP_IO_PIN_ALL ((uint32_t)0x0000FFFFU)
| All pins selected More...
#define | APP_MSIO_IO_PIN_ALL ((uint32_t)0x000000FFU)
| All MISO pins selected. More...
#define | APP_IO_PIN_MASK ((uint32_t)0xFFFFFFFFU)
| PIN mask for assert test. More...
#define | APP_IO_DEFAULT_CONFIG
| GR5xxx_APP_GPIO_default_config initStruct default config of APP_GPIOn. More...

## Detailed Description

## Macro Definition Documentation

## ◆ APP_AON_IO_PIN_ALL

#define APP_AON_IO_PIN_ALL ((uint32_t)0x000000FFU)

All AON pins selected.

Definition at line 107 of file app_io.h.

## ◆ APP_IO_DEFAULT_CONFIG

#define APP_IO_DEFAULT_CONFIG

Value:
{ \
.pin = APP_IO_PIN_ALL, \
.mode = APP_IO_MODE_INPUT, \
.pull = APP_IO_PULLDOWN, \
}

GR5xxx_APP_GPIO_default_config initStruct default config of APP_GPIOn.

Definition at line 120 of file app_io.h.

## ◆ APP_IO_PIN_0

#define APP_IO_PIN_0 ((uint32_t)0x00000001U)

APP_GPIO_DEFINE IO pins.

Pin 0 selected

Definition at line 69 of file app_io.h.

## ◆ APP_IO_PIN_1

#define APP_IO_PIN_1 ((uint32_t)0x00000002U)

Pin 1 selected

Definition at line 70 of file app_io.h.

## ◆ APP_IO_PIN_10

#define APP_IO_PIN_10 ((uint32_t)0x00000400U)

Pin 10 selected

Definition at line 79 of file app_io.h.

## ◆ APP_IO_PIN_11

#define APP_IO_PIN_11 ((uint32_t)0x00000800U)

Pin 11 selected

Definition at line 80 of file app_io.h.

## ◆ APP_IO_PIN_12

#define APP_IO_PIN_12 ((uint32_t)0x00001000U)

Pin 12 selected

Definition at line 81 of file app_io.h.

## ◆ APP_IO_PIN_13

#define APP_IO_PIN_13 ((uint32_t)0x00002000U)

Pin 13 selected

Definition at line 82 of file app_io.h.

## ◆ APP_IO_PIN_14

#define APP_IO_PIN_14 ((uint32_t)0x00004000U)

Pin 14 selected

Definition at line 83 of file app_io.h.

## ◆ APP_IO_PIN_15

#define APP_IO_PIN_15 ((uint32_t)0x00008000U)

Pin 15 selected

Definition at line 84 of file app_io.h.

## ◆ APP_IO_PIN_16

#define APP_IO_PIN_16 ((uint32_t)0x00010000U)

Pin 16 selected

Definition at line 86 of file app_io.h.

## ◆ APP_IO_PIN_17

#define APP_IO_PIN_17 ((uint32_t)0x00020000U)

Pin 17 selected

Definition at line 87 of file app_io.h.

## ◆ APP_IO_PIN_18

#define APP_IO_PIN_18 ((uint32_t)0x00040000U)

Pin 18 selected

Definition at line 88 of file app_io.h.

## ◆ APP_IO_PIN_19

#define APP_IO_PIN_19 ((uint32_t)0x00080000U)

Pin 19 selected

Definition at line 89 of file app_io.h.

## ◆ APP_IO_PIN_2

#define APP_IO_PIN_2 ((uint32_t)0x00000004U)

Pin 2 selected

Definition at line 71 of file app_io.h.

## ◆ APP_IO_PIN_20

#define APP_IO_PIN_20 ((uint32_t)0x00100000U)

Pin 20 selected

Definition at line 90 of file app_io.h.

## ◆ APP_IO_PIN_21

#define APP_IO_PIN_21 ((uint32_t)0x00200000U)

Pin 21 selected

Definition at line 91 of file app_io.h.

## ◆ APP_IO_PIN_22

#define APP_IO_PIN_22 ((uint32_t)0x00400000U)

Pin 22 selected

Definition at line 92 of file app_io.h.

## ◆ APP_IO_PIN_23

#define APP_IO_PIN_23 ((uint32_t)0x00800000U)

Pin 23 selected

Definition at line 93 of file app_io.h.

## ◆ APP_IO_PIN_24

#define APP_IO_PIN_24 ((uint32_t)0x01000000U)

Pin 24 selected

Definition at line 94 of file app_io.h.

## ◆ APP_IO_PIN_25

#define APP_IO_PIN_25 ((uint32_t)0x02000000U)

Pin 25 selected

Definition at line 95 of file app_io.h.

## ◆ APP_IO_PIN_26

#define APP_IO_PIN_26 ((uint32_t)0x04000000U)

Pin 26 selected

Definition at line 96 of file app_io.h.

## ◆ APP_IO_PIN_27

#define APP_IO_PIN_27 ((uint32_t)0x08000000U)

Pin 27 selected

Definition at line 97 of file app_io.h.

## ◆ APP_IO_PIN_28

#define APP_IO_PIN_28 ((uint32_t)0x10000000U)

Pin 28 selected

Definition at line 98 of file app_io.h.

## ◆ APP_IO_PIN_29

#define APP_IO_PIN_29 ((uint32_t)0x20000000U)

Pin 29 selected

Definition at line 99 of file app_io.h.

## ◆ APP_IO_PIN_3

#define APP_IO_PIN_3 ((uint32_t)0x00000008U)

Pin 3 selected

Definition at line 72 of file app_io.h.

## ◆ APP_IO_PIN_30

#define APP_IO_PIN_30 ((uint32_t)0x40000000U)

Pin 30 selected

Definition at line 100 of file app_io.h.

## ◆ APP_IO_PIN_31

#define APP_IO_PIN_31 ((uint32_t)0x80000000U)

Pin 31 selected

Definition at line 101 of file app_io.h.

## ◆ APP_IO_PIN_4

#define APP_IO_PIN_4 ((uint32_t)0x00000010U)

Pin 4 selected

Definition at line 73 of file app_io.h.

## ◆ APP_IO_PIN_5

#define APP_IO_PIN_5 ((uint32_t)0x00000020U)

Pin 5 selected

Definition at line 74 of file app_io.h.

## ◆ APP_IO_PIN_6

#define APP_IO_PIN_6 ((uint32_t)0x00000040U)

Pin 6 selected

Definition at line 75 of file app_io.h.

## ◆ APP_IO_PIN_7

#define APP_IO_PIN_7 ((uint32_t)0x00000080U)

Pin 7 selected

Definition at line 76 of file app_io.h.

## ◆ APP_IO_PIN_8

#define APP_IO_PIN_8 ((uint32_t)0x00000100U)

Pin 8 selected

Definition at line 77 of file app_io.h.

## ◆ APP_IO_PIN_9

#define APP_IO_PIN_9 ((uint32_t)0x00000200U)

Pin 9 selected

Definition at line 78 of file app_io.h.

## ◆ APP_IO_PIN_ALL

#define APP_IO_PIN_ALL ((uint32_t)0x0000FFFFU)

All pins selected

Definition at line 112 of file app_io.h.

## ◆ APP_IO_PIN_MASK

#define APP_IO_PIN_MASK ((uint32_t)0xFFFFFFFFU)

PIN mask for assert test.

Definition at line 115 of file app_io.h.

## ◆ APP_IO_PINS_0_15

#define APP_IO_PINS_0_15 ((uint32_t)0x0000FFFFU)

0~15 pins selected

Definition at line 105 of file app_io.h.

## ◆ APP_IO_PINS_0_7

#define APP_IO_PINS_0_7 ((uint32_t)0x000000FFU)

0~7 pins selected

Definition at line 104 of file app_io.h.

## ◆ APP_IO_PINS_16_31

#define APP_IO_PINS_16_31 ((uint32_t)0xFFFF0000U)

16~31 pins selected

Definition at line 106 of file app_io.h.

## ◆ APP_MSIO_IO_PIN_ALL

#define APP_MSIO_IO_PIN_ALL ((uint32_t)0x000000FFU)

All MISO pins selected.

Definition at line 113 of file app_io.h.

APP_IO_MODE_INPUT
@ APP_IO_MODE_INPUT
Input Mode.
Definition: app_io.h:165
APP_IO_PULLDOWN
@ APP_IO_PULLDOWN
Pull-down activation.
Definition: app_io.h:186
APP_IO_PIN_ALL
#define APP_IO_PIN_ALL
All pins selected
Definition: app_io.h:112