Fast GPIO register definition struct. More...
Fast GPIO register definition struct.
Definition at line 45 of file periph_cpu.h.
#include <periph_cpu.h>
Data Fields | |
__IO uint32_t | DIR |
Direction: Output if corresponding bit is set, otherwise input. | |
uint32_t | _reserved [3] |
12 bytes of reserved memory we don't need to access | |
__IO uint32_t | MASK |
Set bits to ignore corresponding bits when accessing PIN , SET or CLR register of this port. | |
__IO uint32_t | PIN |
The current state of each pin of this port is accessible here (regardless of direction): If bit is set input is high. | |
__IO uint32_t | SET |
Output pins are set to high by setting the corresponding bit. | |
__IO uint32_t | CLR |
Output pins are set to low by setting the corresponding bit. | |