pio_gpio_init_t Struct Reference

Type used to configure PIO gpios pins. More...

Detailed Description

Type used to configure PIO gpios pins.

Definition at line 83 of file pio.h.

#include <pio.h>

Data Fields

gpio_pad_ctrl_t pad
 Pads bank GPIO control register configuration.
 
gpio_io_ctrl_t io
 IO bank GPIO control register.
 
gpio_t gpio_state
 GPIO states applied to pins, where the LSBit is the base.
 
gpio_t gpio_direction
 GPIO directions applied to pins, where the LSBit is the base.
 
gpio_t gpio_base
 GPIO base.
 
unsigned gpio_count
 Number of GPIOs starting at base.
 

The documentation for this struct was generated from the following file: