#[repr(C)]pub struct RegisterBlock {Show 15 fields
pub uart_fifo: Reg<UART_FIFO_SPEC>,
pub uart_int_raw: Reg<UART_INT_RAW_SPEC>,
pub uart_int_st: Reg<UART_INT_ST_SPEC>,
pub uart_int_ena: Reg<UART_INT_ENA_SPEC>,
pub uart_int_clr: Reg<UART_INT_CLR_SPEC>,
pub uart_clkdiv: Reg<UART_CLKDIV_SPEC>,
pub uart_autobaud: Reg<UART_AUTOBAUD_SPEC>,
pub uart_status: Reg<UART_STATUS_SPEC>,
pub uart_conf0: Reg<UART_CONF0_SPEC>,
pub uart_conf1: Reg<UART_CONF1_SPEC>,
pub uart_lowpulse: Reg<UART_LOWPULSE_SPEC>,
pub uart_highpulse: Reg<UART_HIGHPULSE_SPEC>,
pub uart_rxd_cnt: Reg<UART_RXD_CNT_SPEC>,
pub uart_date: Reg<UART_DATE_SPEC>,
pub uart_id: Reg<UART_ID_SPEC>,
/* private fields */
}
Expand description
Register block
Fields§
§uart_fifo: Reg<UART_FIFO_SPEC>
0x00 - UART FIFO,length 128
uart_int_raw: Reg<UART_INT_RAW_SPEC>
0x04 - UART INTERRUPT RAW STATE
uart_int_st: Reg<UART_INT_ST_SPEC>
0x08 - UART INTERRUPT STATEREGISTERUART_INT_RAW&UART_INT_ENA
uart_int_ena: Reg<UART_INT_ENA_SPEC>
0x0c - UART INTERRUPT ENABLE REGISTER
uart_int_clr: Reg<UART_INT_CLR_SPEC>
0x10 - UART INTERRUPT CLEAR REGISTER
uart_clkdiv: Reg<UART_CLKDIV_SPEC>
0x14 - UART CLK DIV REGISTER
uart_autobaud: Reg<UART_AUTOBAUD_SPEC>
0x18 - UART BAUDRATE DETECT REGISTER
uart_status: Reg<UART_STATUS_SPEC>
0x1c - UART STATUS REGISTER
uart_conf0: Reg<UART_CONF0_SPEC>
0x20 - UART CONFIG0(UART0 and UART1)
uart_conf1: Reg<UART_CONF1_SPEC>
0x24 - Set this bit to enable rx time-out function
uart_lowpulse: Reg<UART_LOWPULSE_SPEC>
0x28 - UART_LOWPULSE
uart_highpulse: Reg<UART_HIGHPULSE_SPEC>
0x2c - UART_HIGHPULSE
uart_rxd_cnt: Reg<UART_RXD_CNT_SPEC>
0x30 - UART_RXD_CNT
uart_date: Reg<UART_DATE_SPEC>
0x78 - UART HW INFO
uart_id: Reg<UART_ID_SPEC>
0x7c - UART_ID
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more