#[repr(C)]
pub struct RegisterBlock { pub r8_uart1_mcr: R8_UART1_MCR, pub r8_uart1_ier: R8_UART1_IER, pub r8_uart1_fcr: R8_UART1_FCR, pub r8_uart1_lcr: R8_UART1_LCR, pub r8_uart1_iir: R8_UART1_IIR, pub r8_uart1_lsr: R8_UART1_LSR, pub r8_uart1_rbr_r8_uart1_thr: R8_UART1_RBR_R8_UART1_THR, pub r8_uart1_rfc: R8_UART1_RFC, pub r8_uart1_tfc: R8_UART1_TFC, pub r16_uart1_dl: R16_UART1_DL, pub r8_uart1_div: R8_UART1_DIV, /* private fields */ }
Expand description

Register block

Fields

r8_uart1_mcr: R8_UART1_MCR

0x00 - UART1 modem control

r8_uart1_ier: R8_UART1_IER

0x01 - UART1 interrupt enable

r8_uart1_fcr: R8_UART1_FCR

0x02 - UART1 FIFO control

r8_uart1_lcr: R8_UART1_LCR

0x03 - UART1 line control

r8_uart1_iir: R8_UART1_IIR

0x04 - UART1 interrupt identification

r8_uart1_lsr: R8_UART1_LSR

0x05 - UART1 line status

r8_uart1_rbr_r8_uart1_thr: R8_UART1_RBR_R8_UART1_THR

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

r8_uart1_rfc: R8_UART1_RFC

0x0a - UART1 receiver FIFO count

r8_uart1_tfc: R8_UART1_TFC

0x0b - UART1 transmitter FIFO count

r16_uart1_dl: R16_UART1_DL

0x0c - UART1 divisor latch

r8_uart1_div: R8_UART1_DIV

0x0e - UART1 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.