esp8266/
uart0.rs

1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - UART FIFO,length 128"]
5    pub uart_fifo: crate::Reg<uart_fifo::UART_FIFO_SPEC>,
6    #[doc = "0x04 - UART INTERRUPT RAW STATE"]
7    pub uart_int_raw: crate::Reg<uart_int_raw::UART_INT_RAW_SPEC>,
8    #[doc = "0x08 - UART INTERRUPT STATEREGISTERUART_INT_RAW&UART_INT_ENA"]
9    pub uart_int_st: crate::Reg<uart_int_st::UART_INT_ST_SPEC>,
10    #[doc = "0x0c - UART INTERRUPT ENABLE REGISTER"]
11    pub uart_int_ena: crate::Reg<uart_int_ena::UART_INT_ENA_SPEC>,
12    #[doc = "0x10 - UART INTERRUPT CLEAR REGISTER"]
13    pub uart_int_clr: crate::Reg<uart_int_clr::UART_INT_CLR_SPEC>,
14    #[doc = "0x14 - UART CLK DIV REGISTER"]
15    pub uart_clkdiv: crate::Reg<uart_clkdiv::UART_CLKDIV_SPEC>,
16    #[doc = "0x18 - UART BAUDRATE DETECT REGISTER"]
17    pub uart_autobaud: crate::Reg<uart_autobaud::UART_AUTOBAUD_SPEC>,
18    #[doc = "0x1c - UART STATUS REGISTER"]
19    pub uart_status: crate::Reg<uart_status::UART_STATUS_SPEC>,
20    #[doc = "0x20 - UART CONFIG0(UART0 and UART1)"]
21    pub uart_conf0: crate::Reg<uart_conf0::UART_CONF0_SPEC>,
22    #[doc = "0x24 - Set this bit to enable rx time-out function"]
23    pub uart_conf1: crate::Reg<uart_conf1::UART_CONF1_SPEC>,
24    #[doc = "0x28 - UART_LOWPULSE"]
25    pub uart_lowpulse: crate::Reg<uart_lowpulse::UART_LOWPULSE_SPEC>,
26    #[doc = "0x2c - UART_HIGHPULSE"]
27    pub uart_highpulse: crate::Reg<uart_highpulse::UART_HIGHPULSE_SPEC>,
28    #[doc = "0x30 - UART_RXD_CNT"]
29    pub uart_rxd_cnt: crate::Reg<uart_rxd_cnt::UART_RXD_CNT_SPEC>,
30    _reserved13: [u8; 0x44],
31    #[doc = "0x78 - UART HW INFO"]
32    pub uart_date: crate::Reg<uart_date::UART_DATE_SPEC>,
33    #[doc = "0x7c - UART_ID"]
34    pub uart_id: crate::Reg<uart_id::UART_ID_SPEC>,
35}
36#[doc = "UART_FIFO register accessor: an alias for `Reg<UART_FIFO_SPEC>`"]
37pub type UART_FIFO = crate::Reg<uart_fifo::UART_FIFO_SPEC>;
38#[doc = "UART FIFO,length 128"]
39pub mod uart_fifo;
40#[doc = "UART_INT_RAW register accessor: an alias for `Reg<UART_INT_RAW_SPEC>`"]
41pub type UART_INT_RAW = crate::Reg<uart_int_raw::UART_INT_RAW_SPEC>;
42#[doc = "UART INTERRUPT RAW STATE"]
43pub mod uart_int_raw;
44#[doc = "UART_INT_ST register accessor: an alias for `Reg<UART_INT_ST_SPEC>`"]
45pub type UART_INT_ST = crate::Reg<uart_int_st::UART_INT_ST_SPEC>;
46#[doc = "UART INTERRUPT STATEREGISTERUART_INT_RAW&UART_INT_ENA"]
47pub mod uart_int_st;
48#[doc = "UART_INT_ENA register accessor: an alias for `Reg<UART_INT_ENA_SPEC>`"]
49pub type UART_INT_ENA = crate::Reg<uart_int_ena::UART_INT_ENA_SPEC>;
50#[doc = "UART INTERRUPT ENABLE REGISTER"]
51pub mod uart_int_ena;
52#[doc = "UART_INT_CLR register accessor: an alias for `Reg<UART_INT_CLR_SPEC>`"]
53pub type UART_INT_CLR = crate::Reg<uart_int_clr::UART_INT_CLR_SPEC>;
54#[doc = "UART INTERRUPT CLEAR REGISTER"]
55pub mod uart_int_clr;
56#[doc = "UART_CLKDIV register accessor: an alias for `Reg<UART_CLKDIV_SPEC>`"]
57pub type UART_CLKDIV = crate::Reg<uart_clkdiv::UART_CLKDIV_SPEC>;
58#[doc = "UART CLK DIV REGISTER"]
59pub mod uart_clkdiv;
60#[doc = "UART_AUTOBAUD register accessor: an alias for `Reg<UART_AUTOBAUD_SPEC>`"]
61pub type UART_AUTOBAUD = crate::Reg<uart_autobaud::UART_AUTOBAUD_SPEC>;
62#[doc = "UART BAUDRATE DETECT REGISTER"]
63pub mod uart_autobaud;
64#[doc = "UART_STATUS register accessor: an alias for `Reg<UART_STATUS_SPEC>`"]
65pub type UART_STATUS = crate::Reg<uart_status::UART_STATUS_SPEC>;
66#[doc = "UART STATUS REGISTER"]
67pub mod uart_status;
68#[doc = "UART_CONF0 register accessor: an alias for `Reg<UART_CONF0_SPEC>`"]
69pub type UART_CONF0 = crate::Reg<uart_conf0::UART_CONF0_SPEC>;
70#[doc = "UART CONFIG0(UART0 and UART1)"]
71pub mod uart_conf0;
72#[doc = "UART_CONF1 register accessor: an alias for `Reg<UART_CONF1_SPEC>`"]
73pub type UART_CONF1 = crate::Reg<uart_conf1::UART_CONF1_SPEC>;
74#[doc = "Set this bit to enable rx time-out function"]
75pub mod uart_conf1;
76#[doc = "UART_LOWPULSE register accessor: an alias for `Reg<UART_LOWPULSE_SPEC>`"]
77pub type UART_LOWPULSE = crate::Reg<uart_lowpulse::UART_LOWPULSE_SPEC>;
78#[doc = "UART_LOWPULSE"]
79pub mod uart_lowpulse;
80#[doc = "UART_HIGHPULSE register accessor: an alias for `Reg<UART_HIGHPULSE_SPEC>`"]
81pub type UART_HIGHPULSE = crate::Reg<uart_highpulse::UART_HIGHPULSE_SPEC>;
82#[doc = "UART_HIGHPULSE"]
83pub mod uart_highpulse;
84#[doc = "UART_RXD_CNT register accessor: an alias for `Reg<UART_RXD_CNT_SPEC>`"]
85pub type UART_RXD_CNT = crate::Reg<uart_rxd_cnt::UART_RXD_CNT_SPEC>;
86#[doc = "UART_RXD_CNT"]
87pub mod uart_rxd_cnt;
88#[doc = "UART_DATE register accessor: an alias for `Reg<UART_DATE_SPEC>`"]
89pub type UART_DATE = crate::Reg<uart_date::UART_DATE_SPEC>;
90#[doc = "UART HW INFO"]
91pub mod uart_date;
92#[doc = "UART_ID register accessor: an alias for `Reg<UART_ID_SPEC>`"]
93pub type UART_ID = crate::Reg<uart_id::UART_ID_SPEC>;
94#[doc = "UART_ID"]
95pub mod uart_id;