Struct ch569_pac::uart0::RegisterBlock
source · [−]#[repr(C)]pub struct RegisterBlock {Show 13 fields
pub r8_uart0_mcr: R8_UART0_MCR,
pub r8_uart0_ier: R8_UART0_IER,
pub r8_uart0_fcr: R8_UART0_FCR,
pub r8_uart0_lcr: R8_UART0_LCR,
pub r8_uart0_iir: R8_UART0_IIR,
pub r8_uart0_lsr: R8_UART0_LSR,
pub r8_uart0_msr: R8_UART0_MSR,
pub r8_uart0_rbr_r8_uart0_thr: R8_UART0_RBR_R8_UART0_THR,
pub r8_uart0_rfc: R8_UART0_RFC,
pub r8_uart0_tfc: R8_UART0_TFC,
pub r16_uart0_dl: R16_UART0_DL,
pub r8_uart0_div: R8_UART0_DIV,
pub r8_uart0_adr: R8_UART0_ADR,
/* private fields */
}Expand description
Register block
Fields
r8_uart0_mcr: R8_UART0_MCR0x00 - UART0 modem control
r8_uart0_ier: R8_UART0_IER0x01 - UART0 interrupt enable
r8_uart0_fcr: R8_UART0_FCR0x02 - UART0 FIFO control
r8_uart0_lcr: R8_UART0_LCR0x03 - UART0 line control
r8_uart0_iir: R8_UART0_IIR0x04 - UART0 interrupt identification
r8_uart0_lsr: R8_UART0_LSR0x05 - UART0 line status
r8_uart0_msr: R8_UART0_MSR0x06 - UART0 modem status
r8_uart0_rbr_r8_uart0_thr: R8_UART0_RBR_R8_UART0_THR0x08 - UART0 receiver buffer, receiving byte _ UART0 transmitter holding, transmittal byte
r8_uart0_rfc: R8_UART0_RFC0x0a - UART0 receiver FIFO count
r8_uart0_tfc: R8_UART0_TFC0x0b - UART0 transmitter FIFO count
r16_uart0_dl: R16_UART0_DL0x0c - UART0 divisor latch
r8_uart0_div: R8_UART0_DIV0x0e - UART0 pre-divisor latch byte
r8_uart0_adr: R8_UART0_ADR0x0f - UART0 slave address
Auto Trait Implementations
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more