Struct RegisterBlock

Source
#[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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.