Struct tm4c123x::gpio_porta::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {Show 24 fields
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,
/* private fields */
}
Expand description
Register block
Fields§
§data: DATA
0x3fc - GPIO Data
dir: DIR
0x400 - GPIO Direction
is: IS
0x404 - GPIO Interrupt Sense
ibe: IBE
0x408 - GPIO Interrupt Both Edges
iev: IEV
0x40c - GPIO Interrupt Event
im: IM
0x410 - GPIO Interrupt Mask
ris: RIS
0x414 - GPIO Raw Interrupt Status
mis: MIS
0x418 - GPIO Masked Interrupt Status
icr: ICR
0x41c - GPIO Interrupt Clear
afsel: AFSEL
0x420 - GPIO Alternate Function Select
dr2r: DR2R
0x500 - GPIO 2-mA Drive Select
dr4r: DR4R
0x504 - GPIO 4-mA Drive Select
dr8r: DR8R
0x508 - GPIO 8-mA Drive Select
odr: ODR
0x50c - GPIO Open Drain Select
pur: PUR
0x510 - GPIO Pull-Up Select
pdr: PDR
0x514 - GPIO Pull-Down Select
slr: SLR
0x518 - GPIO Slew Rate Control Select
den: DEN
0x51c - GPIO Digital Enable
lock: LOCK
0x520 - GPIO Lock
cr: CR
0x524 - GPIO Commit
amsel: AMSEL
0x528 - GPIO Analog Mode Select
pctl: PCTL
0x52c - GPIO Port Control
adcctl: ADCCTL
0x530 - GPIO ADC Control
dmactl: DMACTL
0x534 - GPIO DMA Control
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more