Struct tm4c123x::gpio_porta::RegisterBlock [] [src]

#[repr(C)]
pub struct RegisterBlock { pub gpio_data: GPIO_DATA, pub gpio_dir: GPIO_DIR, pub gpio_is: GPIO_IS, pub gpio_ibe: GPIO_IBE, pub gpio_iev: GPIO_IEV, pub gpio_im: GPIO_IM, pub gpio_ris: GPIO_RIS, pub gpio_mis: GPIO_MIS, pub gpio_icr: GPIO_ICR, pub gpio_afsel: GPIO_AFSEL, pub gpio_dr2r: GPIO_DR2R, pub gpio_dr4r: GPIO_DR4R, pub gpio_dr8r: GPIO_DR8R, pub gpio_odr: GPIO_ODR, pub gpio_pur: GPIO_PUR, pub gpio_pdr: GPIO_PDR, pub gpio_slr: GPIO_SLR, pub gpio_den: GPIO_DEN, pub gpio_lock: GPIO_LOCK, pub gpio_cr: GPIO_CR, pub gpio_amsel: GPIO_AMSEL, pub gpio_pctl: GPIO_PCTL, pub gpio_adcctl: GPIO_ADCCTL, pub gpio_dmactl: GPIO_DMACTL, // some fields omitted }

Register block

Fields

0x3fc - GPIO Data

0x400 - GPIO Direction

0x404 - GPIO Interrupt Sense

0x408 - GPIO Interrupt Both Edges

0x40c - GPIO Interrupt Event

0x410 - GPIO Interrupt Mask

0x414 - GPIO Raw Interrupt Status

0x418 - GPIO Masked Interrupt Status

0x41c - GPIO Interrupt Clear

0x420 - GPIO Alternate Function Select

0x500 - GPIO 2-mA Drive Select

0x504 - GPIO 4-mA Drive Select

0x508 - GPIO 8-mA Drive Select

0x50c - GPIO Open Drain Select

0x510 - GPIO Pull-Up Select

0x514 - GPIO Pull-Down Select

0x518 - GPIO Slew Rate Control Select

0x51c - GPIO Digital Enable

0x520 - GPIO Lock

0x524 - GPIO Commit

0x528 - GPIO Analog Mode Select

0x52c - GPIO Port Control

0x530 - GPIO ADC Control

0x534 - GPIO DMA Control