Expand description
Configuration for GPIO pin %s
Structs
Type Definitions
Field PIN_CONFIG
reader - Reserved
Field PIN_CONFIG
writer - Reserved
Field PIN_INT_ENA
reader - Interrupt enable bits. bit13: CPU interrupt enabled; bit14: CPU non-maskable interrupt enabled.
Field PIN_INT_ENA
writer - Interrupt enable bits. bit13: CPU interrupt enabled; bit14: CPU non-maskable interrupt enabled.
Field PIN_INT_TYPE
reader - Interrupt type selection. 0: GPIO interrupt disabled; 1: rising edge trigger; 2: falling edge trigger; 3: any edge trigger; 4: low level trigger; 5: high level trigger. (R/W)
Field PIN_INT_TYPE
writer - Interrupt type selection. 0: GPIO interrupt disabled; 1: rising edge trigger; 2: falling edge trigger; 3: any edge trigger; 4: low level trigger; 5: high level trigger. (R/W)
Field PIN_PAD_DRIVER
reader - Pad driver selection. 0: normal output; 1: open drain output..
Field PIN_PAD_DRIVER
writer - Pad driver selection. 0: normal output; 1: open drain output..
Field PIN_SYNC1_BYPASS
reader - For the first stage synchronization, GPIO input data can be synchro- nized on either edge of the APB clock. 0: no synchronization; 1: synchronized on falling edge; 2 and 3: synchronized on rising edge.
Field PIN_SYNC1_BYPASS
writer - For the first stage synchronization, GPIO input data can be synchro- nized on either edge of the APB clock. 0: no synchronization; 1: synchronized on falling edge; 2 and 3: synchronized on rising edge.
Field PIN_SYNC2_BYPASS
reader - For the second stage synchronization, GPIO input data can be syn- chronized on either edge of the APB clock. 0: no synchronization; 1: synchronized on falling edge; 2 and 3: synchronized on rising edge.
Field PIN_SYNC2_BYPASS
writer - For the second stage synchronization, GPIO input data can be syn- chronized on either edge of the APB clock. 0: no synchronization; 1: synchronized on falling edge; 2 and 3: synchronized on rising edge.
Field PIN_WAKEUP_ENABLE
reader - GPIO wake-up enable bit, only wakes up the CPU from Light-sleep.
Field PIN_WAKEUP_ENABLE
writer - GPIO wake-up enable bit, only wakes up the CPU from Light-sleep.