CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches
GPIO Events

The GPIO driver generates call back events that are notified via the function ARM_GPIO_SignalEvent. 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)
 

Description

The GPIO driver generates call back events that are notified via the function ARM_GPIO_SignalEvent.

This section provides the event values for the ARM_GPIO_SignalEvent callback function.

The following call back notification events are generated:

Macro Definition Documentation

◆ ARM_GPIO_EVENT_RISING_EDGE

#define ARM_GPIO_EVENT_RISING_EDGE   (1UL << 0)

Rising-edge detected.

◆ ARM_GPIO_EVENT_FALLING_EDGE

#define ARM_GPIO_EVENT_FALLING_EDGE   (1UL << 1)

Falling-edge detected.

◆ ARM_GPIO_EVENT_EITHER_EDGE

#define ARM_GPIO_EVENT_EITHER_EDGE   (1UL << 2)

Either edge detected (only when hardware cannot distinguish between rising and falling edge)