RegisterBlock

Struct RegisterBlock 

Source
pub struct RegisterBlock {
Show 17 fields pub utx_config: UTX_CONFIG, pub urx_config: URX_CONFIG, pub uart_bit_prd: UART_BIT_PRD, pub data_config: DATA_CONFIG, pub utx_ir_position: UTX_IR_POSITION, pub urx_ir_position: URX_IR_POSITION, pub urx_rto_timer: URX_RTO_TIMER, pub uart_int_sts: UART_INT_STS, pub uart_int_mask: UART_INT_MASK, pub uart_int_clear: UART_INT_CLEAR, pub uart_int_en: UART_INT_EN, pub uart_status: UART_STATUS, pub sts_urx_abr_prd: STS_URX_ABR_PRD, pub uart_fifo_config_0: UART_FIFO_CONFIG_0, pub uart_fifo_config_1: UART_FIFO_CONFIG_1, pub uart_fifo_wdata: UART_FIFO_WDATA, pub uart_fifo_rdata: UART_FIFO_RDATA, /* private fields */
}
Expand description

Register block

Fields§

§utx_config: UTX_CONFIG

0x00 - utx_config.

§urx_config: URX_CONFIG

0x04 - urx_config.

§uart_bit_prd: UART_BIT_PRD

0x08 - uart_bit_prd.

§data_config: DATA_CONFIG

0x0c - data_config.

§utx_ir_position: UTX_IR_POSITION

0x10 - utx_ir_position.

§urx_ir_position: URX_IR_POSITION

0x14 - urx_ir_position.

§urx_rto_timer: URX_RTO_TIMER

0x18 - urx_rto_timer.

§uart_int_sts: UART_INT_STS

0x20 - UART interrupt status

§uart_int_mask: UART_INT_MASK

0x24 - UART interrupt mask

§uart_int_clear: UART_INT_CLEAR

0x28 - UART interrupt clear

§uart_int_en: UART_INT_EN

0x2c - UART interrupt enable

§uart_status: UART_STATUS

0x30 - uart_status.

§sts_urx_abr_prd: STS_URX_ABR_PRD

0x34 - sts_urx_abr_prd.

§uart_fifo_config_0: UART_FIFO_CONFIG_0

0x80 - uart_fifo_config_0.

§uart_fifo_config_1: UART_FIFO_CONFIG_1

0x84 - uart_fifo_config_1.

§uart_fifo_wdata: UART_FIFO_WDATA

0x88 - uart_fifo_wdata.

§uart_fifo_rdata: UART_FIFO_RDATA

0x8c - uart_fifo_rdata.

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.