#[repr(C)]
pub struct RegisterBlock {
Show 23 fields pub us_rhr: US_RHR, pub us_thr: US_THR, pub us_brgr: US_BRGR, pub us_rtor: US_RTOR, pub us_ner: US_NER, pub us_if: US_IF, pub us_man: US_MAN, pub us_linmr: US_LINMR, pub us_linir: US_LINIR, pub us_linbrr: US_LINBRR, pub us_lonmr: US_LONMR, pub us_lonpr: US_LONPR, pub us_londl: US_LONDL, pub us_lonl2hdr: US_LONL2HDR, pub us_lonbl: US_LONBL, pub us_lonb1tx: US_LONB1TX, pub us_lonb1rx: US_LONB1RX, pub us_lonprio: US_LONPRIO, pub us_idttx: US_IDTTX, pub us_idtrx: US_IDTRX, pub us_icdiff: US_ICDIFF, pub us_wpmr: US_WPMR, pub us_wpsr: US_WPSR, /* private fields */
}
Expand description

Register block

Fields

us_rhr: US_RHR

0x18 - Receive Holding Register

us_thr: US_THR

0x1c - Transmit Holding Register

us_brgr: US_BRGR

0x20 - Baud Rate Generator Register

us_rtor: US_RTOR

0x24 - Receiver Timeout Register

us_ner: US_NER

0x44 - Number of Errors Register

us_if: US_IF

0x4c - IrDA Filter Register

us_man: US_MAN

0x50 - Manchester Configuration Register

us_linmr: US_LINMR

0x54 - LIN Mode Register

us_linir: US_LINIR

0x58 - LIN Identifier Register

us_linbrr: US_LINBRR

0x5c - LIN Baud Rate Register

us_lonmr: US_LONMR

0x60 - LON Mode Register

us_lonpr: US_LONPR

0x64 - LON Preamble Register

us_londl: US_LONDL

0x68 - LON Data Length Register

us_lonl2hdr: US_LONL2HDR

0x6c - LON L2HDR Register

us_lonbl: US_LONBL

0x70 - LON Backlog Register

us_lonb1tx: US_LONB1TX

0x74 - LON Beta1 Tx Register

us_lonb1rx: US_LONB1RX

0x78 - LON Beta1 Rx Register

us_lonprio: US_LONPRIO

0x7c - LON Priority Register

us_idttx: US_IDTTX

0x80 - LON IDT Tx Register

us_idtrx: US_IDTRX

0x84 - LON IDT Rx Register

us_icdiff: US_ICDIFF

0x88 - IC DIFF Register

us_wpmr: US_WPMR

0xe4 - Write Protection Mode Register

us_wpsr: US_WPSR

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

0x08 - Interrupt Enable Register

0x0c - Interrupt Disable 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

0x10 - Interrupt Mask Register

0x14 - Channel Status Register

0x14 - Channel Status Register

0x14 - Channel Status Register

0x14 - Channel Status Register

0x28 - Transmitter Timeguard Register

0x28 - Transmitter Timeguard Register

0x40 - FI DI Ratio Register

0x40 - FI DI Ratio 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.