#[repr(C)]
pub struct RegisterBlock { pub r8_uart2_mcr: R8_UART2_MCR, pub r8_uart2_ier: R8_UART2_IER, pub r8_uart2_fcr: R8_UART2_FCR, pub r8_uart2_lcr: R8_UART2_LCR, pub r8_uart2_iir: R8_UART2_IIR, pub r8_uart2_lsr: R8_UART2_LSR, pub r8_uart2_rbr_r8_uart2_thr: R8_UART2_RBR_R8_UART2_THR, pub r8_uart2_rfc: R8_UART2_RFC, pub r8_uart2_tfc: R8_UART2_TFC, pub r16_uart2_dl: R16_UART2_DL, pub r8_uart2_div: R8_UART2_DIV, /* private fields */ }
Expand description

Register block

Fields

r8_uart2_mcr: R8_UART2_MCR

0x00 - UART2 modem control

r8_uart2_ier: R8_UART2_IER

0x01 - UART2 interrupt enable

r8_uart2_fcr: R8_UART2_FCR

0x02 - UART2 FIFO control

r8_uart2_lcr: R8_UART2_LCR

0x03 - UART2 line control

r8_uart2_iir: R8_UART2_IIR

0x04 - UART2 interrupt identification

r8_uart2_lsr: R8_UART2_LSR

0x05 - UART2 line status

r8_uart2_rbr_r8_uart2_thr: R8_UART2_RBR_R8_UART2_THR

0x08 - UART2 receiver buffer, receiving byte _ UART2 transmitter holding, transmittal byte

r8_uart2_rfc: R8_UART2_RFC

0x0a - UART2 receiver FIFO count

r8_uart2_tfc: R8_UART2_TFC

0x0b - UART2 transmitter FIFO count

r16_uart2_dl: R16_UART2_DL

0x0c - UART2 divisor latch

r8_uart2_div: R8_UART2_DIV

0x0e - UART2 pre-divisor latch byte

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.