[][src]Struct bl602_pac::uart::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub utx_config: Reg<UTX_CONFIG_SPEC>,
    pub urx_config: Reg<URX_CONFIG_SPEC>,
    pub uart_bit_prd: Reg<UART_BIT_PRD_SPEC>,
    pub data_config: Reg<DATA_CONFIG_SPEC>,
    pub utx_ir_position: Reg<UTX_IR_POSITION_SPEC>,
    pub urx_ir_position: Reg<URX_IR_POSITION_SPEC>,
    pub urx_rto_timer: Reg<URX_RTO_TIMER_SPEC>,
    pub uart_int_sts: Reg<UART_INT_STS_SPEC>,
    pub uart_int_mask: Reg<UART_INT_MASK_SPEC>,
    pub uart_int_clear: Reg<UART_INT_CLEAR_SPEC>,
    pub uart_int_en: Reg<UART_INT_EN_SPEC>,
    pub uart_status: Reg<UART_STATUS_SPEC>,
    pub sts_urx_abr_prd: Reg<STS_URX_ABR_PRD_SPEC>,
    pub uart_fifo_config_0: Reg<UART_FIFO_CONFIG_0_SPEC>,
    pub uart_fifo_config_1: Reg<UART_FIFO_CONFIG_1_SPEC>,
    pub uart_fifo_wdata: Reg<UART_FIFO_WDATA_SPEC>,
    pub uart_fifo_rdata: Reg<UART_FIFO_RDATA_SPEC>,
    // some fields omitted
}

Register block

Fields

utx_config: Reg<UTX_CONFIG_SPEC>

0x00 - utx_config.

urx_config: Reg<URX_CONFIG_SPEC>

0x04 - urx_config.

uart_bit_prd: Reg<UART_BIT_PRD_SPEC>

0x08 - uart_bit_prd.

data_config: Reg<DATA_CONFIG_SPEC>

0x0c - data_config.

utx_ir_position: Reg<UTX_IR_POSITION_SPEC>

0x10 - utx_ir_position.

urx_ir_position: Reg<URX_IR_POSITION_SPEC>

0x14 - urx_ir_position.

urx_rto_timer: Reg<URX_RTO_TIMER_SPEC>

0x18 - urx_rto_timer.

uart_int_sts: Reg<UART_INT_STS_SPEC>

0x20 - UART interrupt status

uart_int_mask: Reg<UART_INT_MASK_SPEC>

0x24 - UART interrupt mask

uart_int_clear: Reg<UART_INT_CLEAR_SPEC>

0x28 - UART interrupt clear

uart_int_en: Reg<UART_INT_EN_SPEC>

0x2c - UART interrupt enable

uart_status: Reg<UART_STATUS_SPEC>

0x30 - uart_status.

sts_urx_abr_prd: Reg<STS_URX_ABR_PRD_SPEC>

0x34 - sts_urx_abr_prd.

uart_fifo_config_0: Reg<UART_FIFO_CONFIG_0_SPEC>

0x80 - uart_fifo_config_0.

uart_fifo_config_1: Reg<UART_FIFO_CONFIG_1_SPEC>

0x84 - uart_fifo_config_1.

uart_fifo_wdata: Reg<UART_FIFO_WDATA_SPEC>

0x88 - uart_fifo_wdata.

uart_fifo_rdata: Reg<UART_FIFO_RDATA_SPEC>

0x8c - uart_fifo_rdata.

Auto Trait Implementations

impl Send for RegisterBlock

impl !Sync for RegisterBlock

impl Unpin for RegisterBlock

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.