Enumerations
Enumerations
Peripheral Driver » APP DRIVER » GPIO

## Enumerations
enum | app_io_pin_state_t { APP_IO_PIN_RESET, APP_IO_PIN_SET }
| GPIO state Enumerations definition. More...
enum | app_io_type_t { APP_IO_TYPE_NORMAL, APP_IO_TYPE_AON, APP_IO_TYPE_MSIO, APP_IO_TYPE_MAX }
| GPIO type Enumerations definition. More...
enum | app_io_mode_t { APP_IO_MODE_INPUT, APP_IO_MODE_OUT_PUT, APP_IO_MODE_MUX, APP_IO_MODE_IT_RISING, APP_IO_MODE_IT_FALLING, APP_IO_MODE_IT_HIGH, APP_IO_MODE_IT_LOW, APP_IO_MODE_ANALOG, APP_IO_MODE_MAX }
| GPIO mode Enumerations definition. More...
enum | app_handle_mode_t { APP_IO_NONE_WAKEUP, APP_IO_DISABLE_WAKEUP, APP_IO_ENABLE_WAKEUP }
| GPIO wake-up mode Enumerations definition. More...
enum | app_ctx_type_t { APP_IO_CTX_WAKEUP, APP_IO_CTX_INT }
| GPIO handler context type Enumerations definition. More...
enum | app_io_pull_t { APP_IO_NOPULL, APP_IO_PULLUP, APP_IO_PULLDOWN, APP_IO_PULL_MAX }
| GPIO pull Enumerations definition. More...
enum | app_io_mux_t { APP_IO_MUX_0, APP_IO_MUX_1, APP_IO_MUX_2, APP_IO_MUX_3, APP_IO_MUX_4, APP_IO_MUX_5, APP_IO_MUX_6, APP_IO_MUX_7, APP_IO_MUX_8, APP_IO_MUX_MAX }
| GPIO mux Enumerations definition. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ app_ctx_type_t

enum app_ctx_type_t

GPIO handler context type Enumerations definition.

Enumerator
APP_IO_CTX_WAKEUP | the event of wakeup.
APP_IO_CTX_INT | the event of interrupt.

Definition at line 177 of file app_io.h.

## ◆ app_handle_mode_t

enum app_handle_mode_t

GPIO wake-up mode Enumerations definition.

Enumerator
APP_IO_NONE_WAKEUP | None Wakeup.
APP_IO_DISABLE_WAKEUP | Disable AON GPIO Wakeup.
APP_IO_ENABLE_WAKEUP | Enable AON GPIO Wakeup.

Definition at line 167 of file app_io.h.

## ◆ app_io_mode_t

enum app_io_mode_t

GPIO mode Enumerations definition.

Enumerator
APP_IO_MODE_INPUT | Input Mode.
APP_IO_MODE_OUT_PUT | Output Mode.
APP_IO_MODE_MUX | Mux Mode.
APP_IO_MODE_IT_RISING | Interrupt Mode with Rising edge trigger detection.
APP_IO_MODE_IT_FALLING | Interrupt Mode with Falling edge trigger detection.
APP_IO_MODE_IT_HIGH | Interrupt Mode with High-level trigger detection.
APP_IO_MODE_IT_LOW | Interrupt Mode with Low-level trigger detection.
APP_IO_MODE_ANALOG | Analog IO Mode.
APP_IO_MODE_MAX | Only for check parameter, not used as input parameters.

Definition at line 151 of file app_io.h.

## ◆ app_io_mux_t

enum app_io_mux_t

GPIO mux Enumerations definition.

Enumerator
APP_IO_MUX_0 | IO mux mode 0.
APP_IO_MUX_1 | IO mux mode 1.
APP_IO_MUX_2 | IO mux mode 2.
APP_IO_MUX_3 | IO mux mode 3.
APP_IO_MUX_4 | IO mux mode 4.
APP_IO_MUX_5 | IO mux mode 5.
APP_IO_MUX_6 | IO mux mode 6.
APP_IO_MUX_7 | IO mux mode 7.
APP_IO_MUX_8 | IO mux mode 8.
APP_IO_MUX_MAX | Only for check parameter, not used as input parameters.

Definition at line 197 of file app_io.h.

## ◆ app_io_pin_state_t

enum app_io_pin_state_t

GPIO state Enumerations definition.

Enumerator
APP_IO_PIN_RESET | IO pin low level.
APP_IO_PIN_SET | IO pin high level.

Definition at line 131 of file app_io.h.

## ◆ app_io_pull_t

enum app_io_pull_t

GPIO pull Enumerations definition.

Enumerator
APP_IO_NOPULL | No Pull-up or Pull-down activation.
APP_IO_PULLUP | Pull-up activation.
APP_IO_PULLDOWN | Pull-down activation.
APP_IO_PULL_MAX | Only for check parameter, not used as input parameters.

Definition at line 186 of file app_io.h.

## ◆ app_io_type_t

enum app_io_type_t

GPIO type Enumerations definition.

Enumerator
APP_IO_TYPE_NORMAL | General Purpose Input/Output.
APP_IO_TYPE_AON | Always-on Input/Output.
APP_IO_TYPE_MSIO | Mixed Signal I/O.
APP_IO_TYPE_MAX | Only for check parameter, not used as input parameters.

Definition at line 140 of file app_io.h.