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

#[repr(C)]
pub struct RegisterBlock { pub data: DATA, pub dir: DIR, pub is: IS, pub ibe: IBE, pub iev: IEV, pub im: IM, pub ris: RIS, pub mis: MIS, pub icr: ICR, pub afsel: AFSEL, pub dr2r: DR2R, pub dr4r: DR4R, pub dr8r: DR8R, pub odr: ODR, pub pur: PUR, pub pdr: PDR, pub slr: SLR, pub den: DEN, pub lock: LOCK, pub cr: CR, pub amsel: AMSEL, pub pctl: PCTL, pub adcctl: ADCCTL, pub dmactl: 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

Trait Implementations

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock