#[repr(C)]pub struct RegisterBlock {Show 13 fields
pub cr: Reg<CR_SPEC>,
pub dcr: Reg<DCR_SPEC>,
pub sr: Reg<SR_SPEC>,
pub fcr: Reg<FCR_SPEC>,
pub dlr: Reg<DLR_SPEC>,
pub ccr: Reg<CCR_SPEC>,
pub ar: Reg<AR_SPEC>,
pub abr: Reg<ABR_SPEC>,
pub dr: Reg<DR_SPEC>,
pub psmkr: Reg<PSMKR_SPEC>,
pub psmar: Reg<PSMAR_SPEC>,
pub pir: Reg<PIR_SPEC>,
pub lptr: Reg<LPTR_SPEC>,
}
Expand description
Register block
Fields§
§cr: Reg<CR_SPEC>
0x00 - control register
dcr: Reg<DCR_SPEC>
0x04 - device configuration register
sr: Reg<SR_SPEC>
0x08 - status register
fcr: Reg<FCR_SPEC>
0x0c - flag clear register
dlr: Reg<DLR_SPEC>
0x10 - data length register
ccr: Reg<CCR_SPEC>
0x14 - communication configuration register
ar: Reg<AR_SPEC>
0x18 - address register
abr: Reg<ABR_SPEC>
0x1c - ABR
dr: Reg<DR_SPEC>
0x20 - data register
psmkr: Reg<PSMKR_SPEC>
0x24 - polling status mask register
psmar: Reg<PSMAR_SPEC>
0x28 - polling status match register
pir: Reg<PIR_SPEC>
0x2c - polling interval register
lptr: Reg<LPTR_SPEC>
0x30 - low-power timeout register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
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