Structure describing the memory layout of the registers of a GPIO port on ATmega MCUs. More...
Structure describing the memory layout of the registers of a GPIO port on ATmega MCUs.
Definition at line 129 of file periph_cpu_common.h.
#include <periph_cpu_common.h>
Data Fields | |
volatile uint8_t | pin |
Toggle bits in the port register. | |
volatile uint8_t | ddr |
Configure pins as output (1) or input (0) using the Data Direction Register. | |
volatile uint8_t | port |
Read/write the state of GPIO pins using the Port Data Register. | |
volatile uint8_t atmega_gpio_port_t::ddr |
Configure pins as output (1) or input (0) using the Data Direction Register.
Definition at line 143 of file periph_cpu_common.h.
volatile uint8_t atmega_gpio_port_t::pin |
Toggle bits in the port register.
Referred to as "Input Pins Address" in the datasheet.
Definition at line 138 of file periph_cpu_common.h.
volatile uint8_t atmega_gpio_port_t::port |
Read/write the state of GPIO pins using the Port Data Register.
Definition at line 151 of file periph_cpu_common.h.