#[repr(C)]
pub struct RegisterBlock {
Show 18 fields pub cr: Reg<CR_SPEC>, pub cmr: Reg<CMR_SPEC>, pub rcmr: Reg<RCMR_SPEC>, pub rfmr: Reg<RFMR_SPEC>, pub tcmr: Reg<TCMR_SPEC>, pub tfmr: Reg<TFMR_SPEC>, pub rhr: Reg<RHR_SPEC>, pub thr: Reg<THR_SPEC>, pub rshr: Reg<RSHR_SPEC>, pub tshr: Reg<TSHR_SPEC>, pub rc0r: Reg<RC0R_SPEC>, pub rc1r: Reg<RC1R_SPEC>, pub sr: Reg<SR_SPEC>, pub ier: Reg<IER_SPEC>, pub idr: Reg<IDR_SPEC>, pub imr: Reg<IMR_SPEC>, pub wpmr: Reg<WPMR_SPEC>, pub wpsr: Reg<WPSR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

cr: Reg<CR_SPEC>

0x00 - Control Register

cmr: Reg<CMR_SPEC>

0x04 - Clock Mode Register

rcmr: Reg<RCMR_SPEC>

0x10 - Receive Clock Mode Register

rfmr: Reg<RFMR_SPEC>

0x14 - Receive Frame Mode Register

tcmr: Reg<TCMR_SPEC>

0x18 - Transmit Clock Mode Register

tfmr: Reg<TFMR_SPEC>

0x1c - Transmit Frame Mode Register

rhr: Reg<RHR_SPEC>

0x20 - Receive Holding Register

thr: Reg<THR_SPEC>

0x24 - Transmit Holding Register

rshr: Reg<RSHR_SPEC>

0x30 - Receive Sync. Holding Register

tshr: Reg<TSHR_SPEC>

0x34 - Transmit Sync. Holding Register

rc0r: Reg<RC0R_SPEC>

0x38 - Receive Compare 0 Register

rc1r: Reg<RC1R_SPEC>

0x3c - Receive Compare 1 Register

sr: Reg<SR_SPEC>

0x40 - Status Register

ier: Reg<IER_SPEC>

0x44 - Interrupt Enable Register

idr: Reg<IDR_SPEC>

0x48 - Interrupt Disable Register

imr: Reg<IMR_SPEC>

0x4c - Interrupt Mask Register

wpmr: Reg<WPMR_SPEC>

0xe4 - Write Protection Mode Register

wpsr: Reg<WPSR_SPEC>

0xe8 - Write Protection Status 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.