| CMSIS-Driver Peripheral Interface for Middleware and Application Code |

Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Enumerations
Driver_GPIO.h File Reference

## Data Structures
struct | ARM_DRIVER_GPIO
| Access structure of the GPIO Driver. More...

## Macros
#define | ARM_GPIO_EVENT_RISING_EDGE (1UL << 0)
| Rising-edge detected.
#define | ARM_GPIO_EVENT_FALLING_EDGE (1UL << 1)
| Falling-edge detected.
#define | ARM_GPIO_EVENT_EITHER_EDGE (1UL << 2)
| Either edge detected (only when hardware cannot distinguish between rising and falling edge)
#define | ARM_GPIO_ERROR_PIN (ARM_DRIVER_ERROR_SPECIFIC - 1)
| Specified Pin not available.

## Typedefs
typedef uint32_t | ARM_GPIO_Pin_t
| GPIO Pin.
typedef void(* | ARM_GPIO_SignalEvent_t) (ARM_GPIO_Pin_t pin, uint32_t event)

## Enumerations
enum | ARM_GPIO_DIRECTION { ARM_GPIO_INPUT , ARM_GPIO_OUTPUT }
| GPIO Direction. More...
enum | ARM_GPIO_OUTPUT_MODE { ARM_GPIO_PUSH_PULL , ARM_GPIO_OPEN_DRAIN }
| GPIO Output Mode. More...
enum | ARM_GPIO_PULL_RESISTOR { ARM_GPIO_PULL_NONE , ARM_GPIO_PULL_UP , ARM_GPIO_PULL_DOWN }
| GPIO Pull Resistor. More...
enum | ARM_GPIO_EVENT_TRIGGER { ARM_GPIO_TRIGGER_NONE , ARM_GPIO_TRIGGER_RISING_EDGE , ARM_GPIO_TRIGGER_FALLING_EDGE , ARM_GPIO_TRIGGER_EITHER_EDGE }
| GPIO Event Trigger. More...

## Typedef Documentation

## ◆ ARM_GPIO_Pin_t

typedef uint32_t ARM_GPIO_Pin_t

GPIO Pin.