FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gpio_t Struct Reference

Data Fields

volatile uint32_t paddir
 
volatile uint32_t padin
 
volatile uint32_t padout
 
volatile uint32_t inten
 
volatile uint32_t inttype [2]
 
volatile uint32_t intstatus
 
volatile uint32_t gpioen
 
volatile uint32_t padcfg [8]
 
volatile uint32_t padoutset
 
volatile uint32_t padoutclr
 

Description

GPIO_Type Register Layout Typedef

Field Documentation

volatile uint32_t gpio_t::gpioen

GPIO pad enable configuration register.

GPIO enable register.

volatile uint32_t gpio_t::inten

GPIO pad interrupt enable configuration register.

volatile uint32_t gpio_t::intstatus

GPIO pad interrupt status register.

volatile uint32_t gpio_t::inttype

GPIO pad interrupt type bit 0 & 1 configuration register.

GPIO pad interrupt type configuration register.

volatile uint32_t gpio_t::padcfg

GPIO pad pin configuration register : 0-3, 4-7, 8-11, 12-15, 16-9, 20-23, 24-27, 28-31.

GPIO pad pin configuration register.

volatile uint32_t gpio_t::paddir

GPIO pad direction configuration register.

volatile uint32_t gpio_t::padin

GPIO pad input value register.

volatile uint32_t gpio_t::padout

GPIO pad output value register.

volatile uint32_t gpio_t::padoutclr

GPIO pad output clear register.

volatile uint32_t gpio_t::padoutset

GPIO pad output set register.