#[repr(C)]
pub struct RegisterBlock {
Show 23 fields pub us_rhr: Reg<US_RHR_SPEC>, pub us_thr: Reg<US_THR_SPEC>, pub us_brgr: Reg<US_BRGR_SPEC>, pub us_rtor: Reg<US_RTOR_SPEC>, pub us_ner: Reg<US_NER_SPEC>, pub us_if: Reg<US_IF_SPEC>, pub us_man: Reg<US_MAN_SPEC>, pub us_linmr: Reg<US_LINMR_SPEC>, pub us_linir: Reg<US_LINIR_SPEC>, pub us_linbrr: Reg<US_LINBRR_SPEC>, pub us_lonmr: Reg<US_LONMR_SPEC>, pub us_lonpr: Reg<US_LONPR_SPEC>, pub us_londl: Reg<US_LONDL_SPEC>, pub us_lonl2hdr: Reg<US_LONL2HDR_SPEC>, pub us_lonbl: Reg<US_LONBL_SPEC>, pub us_lonb1tx: Reg<US_LONB1TX_SPEC>, pub us_lonb1rx: Reg<US_LONB1RX_SPEC>, pub us_lonprio: Reg<US_LONPRIO_SPEC>, pub us_idttx: Reg<US_IDTTX_SPEC>, pub us_idtrx: Reg<US_IDTRX_SPEC>, pub us_icdiff: Reg<US_ICDIFF_SPEC>, pub us_wpmr: Reg<US_WPMR_SPEC>, pub us_wpsr: Reg<US_WPSR_SPEC>, /* private fields */
}
Expand description

Register block

Fields

us_rhr: Reg<US_RHR_SPEC>

0x18 - Receive Holding Register

us_thr: Reg<US_THR_SPEC>

0x1c - Transmit Holding Register

us_brgr: Reg<US_BRGR_SPEC>

0x20 - Baud Rate Generator Register

us_rtor: Reg<US_RTOR_SPEC>

0x24 - Receiver Timeout Register

us_ner: Reg<US_NER_SPEC>

0x44 - Number of Errors Register

us_if: Reg<US_IF_SPEC>

0x4c - IrDA Filter Register

us_man: Reg<US_MAN_SPEC>

0x50 - Manchester Configuration Register

us_linmr: Reg<US_LINMR_SPEC>

0x54 - LIN Mode Register

us_linir: Reg<US_LINIR_SPEC>

0x58 - LIN Identifier Register

us_linbrr: Reg<US_LINBRR_SPEC>

0x5c - LIN Baud Rate Register

us_lonmr: Reg<US_LONMR_SPEC>

0x60 - LON Mode Register

us_lonpr: Reg<US_LONPR_SPEC>

0x64 - LON Preamble Register

us_londl: Reg<US_LONDL_SPEC>

0x68 - LON Data Length Register

us_lonl2hdr: Reg<US_LONL2HDR_SPEC>

0x6c - LON L2HDR Register

us_lonbl: Reg<US_LONBL_SPEC>

0x70 - LON Backlog Register

us_lonb1tx: Reg<US_LONB1TX_SPEC>

0x74 - LON Beta1 Tx Register

us_lonb1rx: Reg<US_LONB1RX_SPEC>

0x78 - LON Beta1 Rx Register

us_lonprio: Reg<US_LONPRIO_SPEC>

0x7c - LON Priority Register

us_idttx: Reg<US_IDTTX_SPEC>

0x80 - LON IDT Tx Register

us_idtrx: Reg<US_IDTRX_SPEC>

0x84 - LON IDT Rx Register

us_icdiff: Reg<US_ICDIFF_SPEC>

0x88 - IC DIFF Register

us_wpmr: Reg<US_WPMR_SPEC>

0xe4 - Write Protection Mode Register

us_wpsr: Reg<US_WPSR_SPEC>

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.