1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - Control Register."]
5 pub ctrl: crate::Reg<ctrl::CTRL_SPEC>,
6 #[doc = "0x04 - Threshold Control register."]
7 pub thresh_ctrl: crate::Reg<thresh_ctrl::THRESH_CTRL_SPEC>,
8 #[doc = "0x08 - Status Register."]
9 pub status: crate::Reg<status::STATUS_SPEC>,
10 #[doc = "0x0c - Interrupt Enable Register."]
11 pub int_en: crate::Reg<int_en::INT_EN_SPEC>,
12 #[doc = "0x10 - Interrupt Status Flags."]
13 pub int_fl: crate::Reg<int_fl::INT_FL_SPEC>,
14 #[doc = "0x14 - Baud rate register. Integer portion."]
15 pub baud0: crate::Reg<baud0::BAUD0_SPEC>,
16 #[doc = "0x18 - Baud rate register. Decimal Setting."]
17 pub baud1: crate::Reg<baud1::BAUD1_SPEC>,
18 #[doc = "0x1c - FIFO Data buffer."]
19 pub fifo: crate::Reg<fifo::FIFO_SPEC>,
20 #[doc = "0x20 - DMA Configuration."]
21 pub dma: crate::Reg<dma::DMA_SPEC>,
22 #[doc = "0x24 - Transmit FIFO Status register."]
23 pub tx_fifo: crate::Reg<tx_fifo::TX_FIFO_SPEC>,
24}
25#[doc = "CTRL register accessor: an alias for `Reg<CTRL_SPEC>`"]
26pub type CTRL = crate::Reg<ctrl::CTRL_SPEC>;
27#[doc = "Control Register."]
28pub mod ctrl;
29#[doc = "THRESH_CTRL register accessor: an alias for `Reg<THRESH_CTRL_SPEC>`"]
30pub type THRESH_CTRL = crate::Reg<thresh_ctrl::THRESH_CTRL_SPEC>;
31#[doc = "Threshold Control register."]
32pub mod thresh_ctrl;
33#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
34pub type STATUS = crate::Reg<status::STATUS_SPEC>;
35#[doc = "Status Register."]
36pub mod status;
37#[doc = "INT_EN register accessor: an alias for `Reg<INT_EN_SPEC>`"]
38pub type INT_EN = crate::Reg<int_en::INT_EN_SPEC>;
39#[doc = "Interrupt Enable Register."]
40pub mod int_en;
41#[doc = "INT_FL register accessor: an alias for `Reg<INT_FL_SPEC>`"]
42pub type INT_FL = crate::Reg<int_fl::INT_FL_SPEC>;
43#[doc = "Interrupt Status Flags."]
44pub mod int_fl;
45#[doc = "BAUD0 register accessor: an alias for `Reg<BAUD0_SPEC>`"]
46pub type BAUD0 = crate::Reg<baud0::BAUD0_SPEC>;
47#[doc = "Baud rate register. Integer portion."]
48pub mod baud0;
49#[doc = "BAUD1 register accessor: an alias for `Reg<BAUD1_SPEC>`"]
50pub type BAUD1 = crate::Reg<baud1::BAUD1_SPEC>;
51#[doc = "Baud rate register. Decimal Setting."]
52pub mod baud1;
53#[doc = "FIFO register accessor: an alias for `Reg<FIFO_SPEC>`"]
54pub type FIFO = crate::Reg<fifo::FIFO_SPEC>;
55#[doc = "FIFO Data buffer."]
56pub mod fifo;
57#[doc = "DMA register accessor: an alias for `Reg<DMA_SPEC>`"]
58pub type DMA = crate::Reg<dma::DMA_SPEC>;
59#[doc = "DMA Configuration."]
60pub mod dma;
61#[doc = "TX_FIFO register accessor: an alias for `Reg<TX_FIFO_SPEC>`"]
62pub type TX_FIFO = crate::Reg<tx_fifo::TX_FIFO_SPEC>;
63#[doc = "Transmit FIFO Status register."]
64pub mod tx_fifo;