#[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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.