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_CONFIG0x00 - utx_config.
urx_config: URX_CONFIG0x04 - urx_config.
uart_bit_prd: UART_BIT_PRD0x08 - uart_bit_prd.
data_config: DATA_CONFIG0x0c - data_config.
utx_ir_position: UTX_IR_POSITION0x10 - utx_ir_position.
urx_ir_position: URX_IR_POSITION0x14 - urx_ir_position.
urx_rto_timer: URX_RTO_TIMER0x18 - urx_rto_timer.
uart_int_sts: UART_INT_STS0x20 - UART interrupt status
uart_int_mask: UART_INT_MASK0x24 - UART interrupt mask
uart_int_clear: UART_INT_CLEAR0x28 - UART interrupt clear
uart_int_en: UART_INT_EN0x2c - UART interrupt enable
uart_status: UART_STATUS0x30 - uart_status.
sts_urx_abr_prd: STS_URX_ABR_PRD0x34 - sts_urx_abr_prd.
uart_fifo_config_0: UART_FIFO_CONFIG_00x80 - uart_fifo_config_0.
uart_fifo_config_1: UART_FIFO_CONFIG_10x84 - uart_fifo_config_1.
uart_fifo_wdata: UART_FIFO_WDATA0x88 - uart_fifo_wdata.
uart_fifo_rdata: UART_FIFO_RDATA0x8c - uart_fifo_rdata.
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