Macros | Enumerations
Enumerations
Peripheral Driver » APP DRIVER » GPIO » Defines

## Macros
#define | APP_IO_MUX APP_IO_MUX_7
| GPIO mux for different APP_DRIVER_CHIP_TYPE. More...

## 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_GPIOA, APP_IO_TYPE_GPIOB, APP_IO_TYPE_GPIOC, 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_NONE, APP_IO_MODE_INPUT, APP_IO_MODE_OUTPUT, 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_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

## Macro Definition Documentation

## ◆ APP_IO_MUX

#define APP_IO_MUX APP_IO_MUX_7

GPIO mux for different APP_DRIVER_CHIP_TYPE.

IO mux for others.

Definition at line 275 of file app_io.h.

## Enumeration Type Documentation

## ◆ app_io_mode_t

enum app_io_mode_t

GPIO mode Enumerations definition.

Enumerator
APP_IO_MODE_NONE |
APP_IO_MODE_INPUT | Input Mode.
APP_IO_MODE_OUTPUT | 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 160 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 252 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 135 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 180 of file app_io.h.

## ◆ app_io_type_t

enum app_io_type_t

GPIO type Enumerations definition.

Enumerator
APP_IO_TYPE_GPIOA | General Purpose Input/Output.
APP_IO_TYPE_GPIOB | General Purpose Input/Output.
APP_IO_TYPE_GPIOC | General Purpose Input/Output.
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 144 of file app_io.h.