Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ gpio_base

gpio_t pio_gpio_init_t::gpio_base

GPIO base.

Definition at line 88 of file pio.h.

◆ gpio_count

unsigned pio_gpio_init_t::gpio_count

Number of GPIOs starting at base.

Definition at line 89 of file pio.h.

◆ gpio_direction

gpio_t pio_gpio_init_t::gpio_direction

GPIO directions applied to pins, where the LSBit is the base.

Definition at line 87 of file pio.h.

◆ gpio_state

gpio_t pio_gpio_init_t::gpio_state

GPIO states applied to pins, where the LSBit is the base.

Definition at line 86 of file pio.h.

◆ io

gpio_io_ctrl_t pio_gpio_init_t::io

IO bank GPIO control register.

Definition at line 85 of file pio.h.

◆ pad

gpio_pad_ctrl_t pio_gpio_init_t::pad

Pads bank GPIO control register configuration.

Definition at line 84 of file pio.h.


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