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
gpio_data: GPIO_DATA
0x3fc - GPIO Data
gpio_dir: GPIO_DIR
0x400 - GPIO Direction
gpio_is: GPIO_IS
0x404 - GPIO Interrupt Sense
gpio_ibe: GPIO_IBE
0x408 - GPIO Interrupt Both Edges
gpio_iev: GPIO_IEV
0x40c - GPIO Interrupt Event
gpio_im: GPIO_IM
0x410 - GPIO Interrupt Mask
gpio_ris: GPIO_RIS
0x414 - GPIO Raw Interrupt Status
gpio_mis: GPIO_MIS
0x418 - GPIO Masked Interrupt Status
gpio_icr: GPIO_ICR
0x41c - GPIO Interrupt Clear
gpio_afsel: GPIO_AFSEL
0x420 - GPIO Alternate Function Select
gpio_dr2r: GPIO_DR2R
0x500 - GPIO 2-mA Drive Select
gpio_dr4r: GPIO_DR4R
0x504 - GPIO 4-mA Drive Select
gpio_dr8r: GPIO_DR8R
0x508 - GPIO 8-mA Drive Select
gpio_odr: GPIO_ODR
0x50c - GPIO Open Drain Select
gpio_pur: GPIO_PUR
0x510 - GPIO Pull-Up Select
gpio_pdr: GPIO_PDR
0x514 - GPIO Pull-Down Select
gpio_slr: GPIO_SLR
0x518 - GPIO Slew Rate Control Select
gpio_den: GPIO_DEN
0x51c - GPIO Digital Enable
gpio_lock: GPIO_LOCK
0x520 - GPIO Lock
gpio_cr: GPIO_CR
0x524 - GPIO Commit
gpio_amsel: GPIO_AMSEL
0x528 - GPIO Analog Mode Select
gpio_pctl: GPIO_PCTL
0x52c - GPIO Port Control
gpio_adcctl: GPIO_ADCCTL
0x530 - GPIO ADC Control
gpio_dmactl: GPIO_DMACTL
0x534 - GPIO DMA Control