#[repr(C)]
pub struct RegisterBlock {
Show 15 fields pub rhr: Reg<RHR_SPEC>, pub thr: Reg<THR_SPEC>, pub brgr: Reg<BRGR_SPEC>, pub rtor: Reg<RTOR_SPEC>, pub ttgr: Reg<TTGR_SPEC>, pub fidi: Reg<FIDI_SPEC>, pub ner: Reg<NER_SPEC>, pub ifr: Reg<IFR_SPEC>, pub man: Reg<MAN_SPEC>, pub linmr: Reg<LINMR_SPEC>, pub linir: Reg<LINIR_SPEC>, pub linbrr: Reg<LINBRR_SPEC>, pub wpmr: Reg<WPMR_SPEC>, pub wpsr: Reg<WPSR_SPEC>, pub version: Reg<VERSION_SPEC>, /* private fields */
}
Expand description

Register block

Fields

rhr: Reg<RHR_SPEC>

0x18 - Receiver Holding Register

thr: Reg<THR_SPEC>

0x1c - Transmitter Holding Register

brgr: Reg<BRGR_SPEC>

0x20 - Baud Rate Generator Register

rtor: Reg<RTOR_SPEC>

0x24 - Receiver Time-out Register

ttgr: Reg<TTGR_SPEC>

0x28 - Transmitter Timeguard Register

fidi: Reg<FIDI_SPEC>

0x40 - FI DI Ratio Register

ner: Reg<NER_SPEC>

0x44 - Number of Errors Register

ifr: Reg<IFR_SPEC>

0x4c - IrDA Filter Register

man: Reg<MAN_SPEC>

0x50 - Manchester Configuration Register

linmr: Reg<LINMR_SPEC>

0x54 - LIN Mode Register

linir: Reg<LINIR_SPEC>

0x58 - LIN Identifier Register

linbrr: Reg<LINBRR_SPEC>

0x5c - LIN Baud Rate Register

wpmr: Reg<WPMR_SPEC>

0xe4 - Write Protect Mode Register

wpsr: Reg<WPSR_SPEC>

0xe8 - Write Protect Status Register

version: Reg<VERSION_SPEC>

0xfc - Version Register

Implementations

0x00 - Control Register

0x00 - Control Register

0x00 - Control Register

0x04 - Mode Register

0x04 - Mode Register

0x08 - Interrupt Enable Register

0x08 - Interrupt Enable Register

0x08 - Interrupt Enable Register

0x0c - Interrupt Disable Register

0x0c - Interrupt Disable Register

0x0c - Interrupt Disable Register

0x10 - Interrupt Mask Register

0x10 - Interrupt Mask Register

0x10 - Interrupt Mask Register

0x14 - Channel Status Register

0x14 - Channel Status Register

0x14 - Channel 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.