1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 _reserved0: [u8; 0x0400],
5 #[doc = "0x400 - Configuration Register"]
6 pub cfg: CFG,
7 #[doc = "0x404 - Delay Register"]
8 pub dly: DLY,
9 #[doc = "0x408 - Status Register"]
10 pub stat: STAT,
11 #[doc = "0x40c - Interrupt Enable Register"]
12 pub intenset: INTENSET,
13 #[doc = "0x410 - Interrupt Enable Clear Register"]
14 pub intenclr: INTENCLR,
15 _reserved5: [u8; 0x10],
16 #[doc = "0x424 - Clock Divider Register"]
17 pub div: DIV,
18 #[doc = "0x428 - Interrupt Status Register"]
19 pub intstat: INTSTAT,
20 _reserved7: [u8; 0x09d4],
21 #[doc = "0xe00 - FIFO Configuration Register"]
22 pub fifocfg: FIFOCFG,
23 #[doc = "0xe04 - FIFO Status Register"]
24 pub fifostat: FIFOSTAT,
25 #[doc = "0xe08 - FIFO Trigger Register"]
26 pub fifotrig: FIFOTRIG,
27 _reserved10: [u8; 0x04],
28 #[doc = "0xe10 - FIFO Interrupt Enable Register"]
29 pub fifointenset: FIFOINTENSET,
30 #[doc = "0xe14 - FIFO Interrupt Enable Clear Register"]
31 pub fifointenclr: FIFOINTENCLR,
32 #[doc = "0xe18 - FIFO Interrupt Status Register"]
33 pub fifointstat: FIFOINTSTAT,
34 _reserved13: [u8; 0x04],
35 #[doc = "0xe20 - FIFO Write Data Register"]
36 pub fifowr: FIFOWR,
37 _reserved14: [u8; 0x0c],
38 #[doc = "0xe30 - FIFO Read Data Register"]
39 pub fiford: FIFORD,
40 _reserved15: [u8; 0x0c],
41 #[doc = "0xe40 - FIFO Data Read with no FIFO Pop Register"]
42 pub fifordnopop: FIFORDNOPOP,
43 _reserved16: [u8; 0x04],
44 #[doc = "0xe48 - FIFO Size Register"]
45 pub fifosize: FIFOSIZE,
46 _reserved17: [u8; 0x01b0],
47 #[doc = "0xffc - Peripheral Identification Register"]
48 pub id: ID,
49}
50#[doc = "CFG (rw) register accessor: an alias for `Reg<CFG_SPEC>`"]
51pub type CFG = crate::Reg<cfg::CFG_SPEC>;
52#[doc = "Configuration Register"]
53pub mod cfg;
54#[doc = "DLY (rw) register accessor: an alias for `Reg<DLY_SPEC>`"]
55pub type DLY = crate::Reg<dly::DLY_SPEC>;
56#[doc = "Delay Register"]
57pub mod dly;
58#[doc = "STAT (rw) register accessor: an alias for `Reg<STAT_SPEC>`"]
59pub type STAT = crate::Reg<stat::STAT_SPEC>;
60#[doc = "Status Register"]
61pub mod stat;
62#[doc = "INTENSET (rw) register accessor: an alias for `Reg<INTENSET_SPEC>`"]
63pub type INTENSET = crate::Reg<intenset::INTENSET_SPEC>;
64#[doc = "Interrupt Enable Register"]
65pub mod intenset;
66#[doc = "INTENCLR (w) register accessor: an alias for `Reg<INTENCLR_SPEC>`"]
67pub type INTENCLR = crate::Reg<intenclr::INTENCLR_SPEC>;
68#[doc = "Interrupt Enable Clear Register"]
69pub mod intenclr;
70#[doc = "DIV (rw) register accessor: an alias for `Reg<DIV_SPEC>`"]
71pub type DIV = crate::Reg<div::DIV_SPEC>;
72#[doc = "Clock Divider Register"]
73pub mod div;
74#[doc = "INTSTAT (r) register accessor: an alias for `Reg<INTSTAT_SPEC>`"]
75pub type INTSTAT = crate::Reg<intstat::INTSTAT_SPEC>;
76#[doc = "Interrupt Status Register"]
77pub mod intstat;
78#[doc = "FIFOCFG (rw) register accessor: an alias for `Reg<FIFOCFG_SPEC>`"]
79pub type FIFOCFG = crate::Reg<fifocfg::FIFOCFG_SPEC>;
80#[doc = "FIFO Configuration Register"]
81pub mod fifocfg;
82#[doc = "FIFOSTAT (rw) register accessor: an alias for `Reg<FIFOSTAT_SPEC>`"]
83pub type FIFOSTAT = crate::Reg<fifostat::FIFOSTAT_SPEC>;
84#[doc = "FIFO Status Register"]
85pub mod fifostat;
86#[doc = "FIFOTRIG (rw) register accessor: an alias for `Reg<FIFOTRIG_SPEC>`"]
87pub type FIFOTRIG = crate::Reg<fifotrig::FIFOTRIG_SPEC>;
88#[doc = "FIFO Trigger Register"]
89pub mod fifotrig;
90#[doc = "FIFOINTENSET (rw) register accessor: an alias for `Reg<FIFOINTENSET_SPEC>`"]
91pub type FIFOINTENSET = crate::Reg<fifointenset::FIFOINTENSET_SPEC>;
92#[doc = "FIFO Interrupt Enable Register"]
93pub mod fifointenset;
94#[doc = "FIFOINTENCLR (rw) register accessor: an alias for `Reg<FIFOINTENCLR_SPEC>`"]
95pub type FIFOINTENCLR = crate::Reg<fifointenclr::FIFOINTENCLR_SPEC>;
96#[doc = "FIFO Interrupt Enable Clear Register"]
97pub mod fifointenclr;
98#[doc = "FIFOINTSTAT (r) register accessor: an alias for `Reg<FIFOINTSTAT_SPEC>`"]
99pub type FIFOINTSTAT = crate::Reg<fifointstat::FIFOINTSTAT_SPEC>;
100#[doc = "FIFO Interrupt Status Register"]
101pub mod fifointstat;
102#[doc = "FIFOWR (w) register accessor: an alias for `Reg<FIFOWR_SPEC>`"]
103pub type FIFOWR = crate::Reg<fifowr::FIFOWR_SPEC>;
104#[doc = "FIFO Write Data Register"]
105pub mod fifowr;
106#[doc = "FIFORD (r) register accessor: an alias for `Reg<FIFORD_SPEC>`"]
107pub type FIFORD = crate::Reg<fiford::FIFORD_SPEC>;
108#[doc = "FIFO Read Data Register"]
109pub mod fiford;
110#[doc = "FIFORDNOPOP (r) register accessor: an alias for `Reg<FIFORDNOPOP_SPEC>`"]
111pub type FIFORDNOPOP = crate::Reg<fifordnopop::FIFORDNOPOP_SPEC>;
112#[doc = "FIFO Data Read with no FIFO Pop Register"]
113pub mod fifordnopop;
114#[doc = "FIFOSIZE (r) register accessor: an alias for `Reg<FIFOSIZE_SPEC>`"]
115pub type FIFOSIZE = crate::Reg<fifosize::FIFOSIZE_SPEC>;
116#[doc = "FIFO Size Register"]
117pub mod fifosize;
118#[doc = "ID (r) register accessor: an alias for `Reg<ID_SPEC>`"]
119pub type ID = crate::Reg<id::ID_SPEC>;
120#[doc = "Peripheral Identification Register"]
121pub mod id;