bl702_pac/
uart.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - utx_config."]
5    pub utx_config: UTX_CONFIG,
6    #[doc = "0x04 - urx_config."]
7    pub urx_config: URX_CONFIG,
8    #[doc = "0x08 - uart_bit_prd."]
9    pub uart_bit_prd: UART_BIT_PRD,
10    #[doc = "0x0c - data_config."]
11    pub data_config: DATA_CONFIG,
12    #[doc = "0x10 - utx_ir_position."]
13    pub utx_ir_position: UTX_IR_POSITION,
14    #[doc = "0x14 - urx_ir_position."]
15    pub urx_ir_position: URX_IR_POSITION,
16    #[doc = "0x18 - urx_rto_timer."]
17    pub urx_rto_timer: URX_RTO_TIMER,
18    #[doc = "0x1c - uart_sw_mode."]
19    pub uart_sw_mode: UART_SW_MODE,
20    #[doc = "0x20 - UART interrupt status"]
21    pub uart_int_sts: UART_INT_STS,
22    #[doc = "0x24 - UART interrupt mask"]
23    pub uart_int_mask: UART_INT_MASK,
24    #[doc = "0x28 - UART interrupt clear"]
25    pub uart_int_clear: UART_INT_CLEAR,
26    #[doc = "0x2c - UART interrupt enable"]
27    pub uart_int_en: UART_INT_EN,
28    #[doc = "0x30 - uart_status."]
29    pub uart_status: UART_STATUS,
30    #[doc = "0x34 - sts_urx_abr_prd."]
31    pub sts_urx_abr_prd: STS_URX_ABR_PRD,
32    _reserved14: [u8; 0x48],
33    #[doc = "0x80 - uart_fifo_config_0."]
34    pub uart_fifo_config_0: UART_FIFO_CONFIG_0,
35    #[doc = "0x84 - uart_fifo_config_1."]
36    pub uart_fifo_config_1: UART_FIFO_CONFIG_1,
37    #[doc = "0x88 - uart_fifo_wdata."]
38    pub uart_fifo_wdata: UART_FIFO_WDATA,
39    #[doc = "0x8c - uart_fifo_rdata."]
40    pub uart_fifo_rdata: UART_FIFO_RDATA,
41}
42#[doc = "utx_config (rw) register accessor: an alias for `Reg<UTX_CONFIG_SPEC>`"]
43pub type UTX_CONFIG = crate::Reg<utx_config::UTX_CONFIG_SPEC>;
44#[doc = "utx_config."]
45pub mod utx_config;
46#[doc = "urx_config (rw) register accessor: an alias for `Reg<URX_CONFIG_SPEC>`"]
47pub type URX_CONFIG = crate::Reg<urx_config::URX_CONFIG_SPEC>;
48#[doc = "urx_config."]
49pub mod urx_config;
50#[doc = "uart_bit_prd (rw) register accessor: an alias for `Reg<UART_BIT_PRD_SPEC>`"]
51pub type UART_BIT_PRD = crate::Reg<uart_bit_prd::UART_BIT_PRD_SPEC>;
52#[doc = "uart_bit_prd."]
53pub mod uart_bit_prd;
54#[doc = "data_config (rw) register accessor: an alias for `Reg<DATA_CONFIG_SPEC>`"]
55pub type DATA_CONFIG = crate::Reg<data_config::DATA_CONFIG_SPEC>;
56#[doc = "data_config."]
57pub mod data_config;
58#[doc = "utx_ir_position (rw) register accessor: an alias for `Reg<UTX_IR_POSITION_SPEC>`"]
59pub type UTX_IR_POSITION = crate::Reg<utx_ir_position::UTX_IR_POSITION_SPEC>;
60#[doc = "utx_ir_position."]
61pub mod utx_ir_position;
62#[doc = "urx_ir_position (rw) register accessor: an alias for `Reg<URX_IR_POSITION_SPEC>`"]
63pub type URX_IR_POSITION = crate::Reg<urx_ir_position::URX_IR_POSITION_SPEC>;
64#[doc = "urx_ir_position."]
65pub mod urx_ir_position;
66#[doc = "urx_rto_timer (rw) register accessor: an alias for `Reg<URX_RTO_TIMER_SPEC>`"]
67pub type URX_RTO_TIMER = crate::Reg<urx_rto_timer::URX_RTO_TIMER_SPEC>;
68#[doc = "urx_rto_timer."]
69pub mod urx_rto_timer;
70#[doc = "uart_sw_mode (rw) register accessor: an alias for `Reg<UART_SW_MODE_SPEC>`"]
71pub type UART_SW_MODE = crate::Reg<uart_sw_mode::UART_SW_MODE_SPEC>;
72#[doc = "uart_sw_mode."]
73pub mod uart_sw_mode;
74#[doc = "uart_int_sts (rw) register accessor: an alias for `Reg<UART_INT_STS_SPEC>`"]
75pub type UART_INT_STS = crate::Reg<uart_int_sts::UART_INT_STS_SPEC>;
76#[doc = "UART interrupt status"]
77pub mod uart_int_sts;
78#[doc = "uart_int_mask (rw) register accessor: an alias for `Reg<UART_INT_MASK_SPEC>`"]
79pub type UART_INT_MASK = crate::Reg<uart_int_mask::UART_INT_MASK_SPEC>;
80#[doc = "UART interrupt mask"]
81pub mod uart_int_mask;
82#[doc = "uart_int_clear (rw) register accessor: an alias for `Reg<UART_INT_CLEAR_SPEC>`"]
83pub type UART_INT_CLEAR = crate::Reg<uart_int_clear::UART_INT_CLEAR_SPEC>;
84#[doc = "UART interrupt clear"]
85pub mod uart_int_clear;
86#[doc = "uart_int_en (rw) register accessor: an alias for `Reg<UART_INT_EN_SPEC>`"]
87pub type UART_INT_EN = crate::Reg<uart_int_en::UART_INT_EN_SPEC>;
88#[doc = "UART interrupt enable"]
89pub mod uart_int_en;
90#[doc = "uart_status (rw) register accessor: an alias for `Reg<UART_STATUS_SPEC>`"]
91pub type UART_STATUS = crate::Reg<uart_status::UART_STATUS_SPEC>;
92#[doc = "uart_status."]
93pub mod uart_status;
94#[doc = "sts_urx_abr_prd (rw) register accessor: an alias for `Reg<STS_URX_ABR_PRD_SPEC>`"]
95pub type STS_URX_ABR_PRD = crate::Reg<sts_urx_abr_prd::STS_URX_ABR_PRD_SPEC>;
96#[doc = "sts_urx_abr_prd."]
97pub mod sts_urx_abr_prd;
98#[doc = "uart_fifo_config_0 (rw) register accessor: an alias for `Reg<UART_FIFO_CONFIG_0_SPEC>`"]
99pub type UART_FIFO_CONFIG_0 = crate::Reg<uart_fifo_config_0::UART_FIFO_CONFIG_0_SPEC>;
100#[doc = "uart_fifo_config_0."]
101pub mod uart_fifo_config_0;
102#[doc = "uart_fifo_config_1 (rw) register accessor: an alias for `Reg<UART_FIFO_CONFIG_1_SPEC>`"]
103pub type UART_FIFO_CONFIG_1 = crate::Reg<uart_fifo_config_1::UART_FIFO_CONFIG_1_SPEC>;
104#[doc = "uart_fifo_config_1."]
105pub mod uart_fifo_config_1;
106#[doc = "uart_fifo_wdata (rw) register accessor: an alias for `Reg<UART_FIFO_WDATA_SPEC>`"]
107pub type UART_FIFO_WDATA = crate::Reg<uart_fifo_wdata::UART_FIFO_WDATA_SPEC>;
108#[doc = "uart_fifo_wdata."]
109pub mod uart_fifo_wdata;
110#[doc = "uart_fifo_rdata (rw) register accessor: an alias for `Reg<UART_FIFO_RDATA_SPEC>`"]
111pub type UART_FIFO_RDATA = crate::Reg<uart_fifo_rdata::UART_FIFO_RDATA_SPEC>;
112#[doc = "uart_fifo_rdata."]
113pub mod uart_fifo_rdata;