ambiq_apollo3_pac2/
bleif.rs1#[doc = r"Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4 #[doc = "0x00 - FIFO Access Port"]
5 pub fifo: crate::Reg<fifo::FIFO_SPEC>,
6 _reserved1: [u8; 0xfc],
7 #[doc = "0x100 - FIFO size and remaining slots open values"]
8 pub fifoptr: crate::Reg<fifoptr::FIFOPTR_SPEC>,
9 #[doc = "0x104 - FIFO Threshold Configuration"]
10 pub fifothr: crate::Reg<fifothr::FIFOTHR_SPEC>,
11 #[doc = "0x108 - FIFO POP register"]
12 pub fifopop: crate::Reg<fifopop::FIFOPOP_SPEC>,
13 #[doc = "0x10c - FIFO PUSH register"]
14 pub fifopush: crate::Reg<fifopush::FIFOPUSH_SPEC>,
15 #[doc = "0x110 - FIFO Control Register"]
16 pub fifoctrl: crate::Reg<fifoctrl::FIFOCTRL_SPEC>,
17 #[doc = "0x114 - FIFO Pointers"]
18 pub fifoloc: crate::Reg<fifoloc::FIFOLOC_SPEC>,
19 _reserved7: [u8; 0xe8],
20 #[doc = "0x200 - I/O Clock Configuration"]
21 pub clkcfg: crate::Reg<clkcfg::CLKCFG_SPEC>,
22 _reserved8: [u8; 0x08],
23 #[doc = "0x20c - Command and offset Register"]
24 pub cmd: crate::Reg<cmd::CMD_SPEC>,
25 #[doc = "0x210 - Command Repeat Register"]
26 pub cmdrpt: crate::Reg<cmdrpt::CMDRPT_SPEC>,
27 #[doc = "0x214 - High order offset bytes"]
28 pub offsethi: crate::Reg<offsethi::OFFSETHI_SPEC>,
29 #[doc = "0x218 - Command status"]
30 pub cmdstat: crate::Reg<cmdstat::CMDSTAT_SPEC>,
31 _reserved12: [u8; 0x04],
32 #[doc = "0x220 - IO Master Interrupts: Enable"]
33 pub inten: crate::Reg<inten::INTEN_SPEC>,
34 #[doc = "0x224 - IO Master Interrupts: Status"]
35 pub intstat: crate::Reg<intstat::INTSTAT_SPEC>,
36 #[doc = "0x228 - IO Master Interrupts: Clear"]
37 pub intclr: crate::Reg<intclr::INTCLR_SPEC>,
38 #[doc = "0x22c - IO Master Interrupts: Set"]
39 pub intset: crate::Reg<intset::INTSET_SPEC>,
40 #[doc = "0x230 - DMA Trigger Enable Register"]
41 pub dmatrigen: crate::Reg<dmatrigen::DMATRIGEN_SPEC>,
42 #[doc = "0x234 - DMA Trigger Status Register"]
43 pub dmatrigstat: crate::Reg<dmatrigstat::DMATRIGSTAT_SPEC>,
44 #[doc = "0x238 - DMA Configuration Register"]
45 pub dmacfg: crate::Reg<dmacfg::DMACFG_SPEC>,
46 #[doc = "0x23c - DMA Total Transfer Count"]
47 pub dmatotcount: crate::Reg<dmatotcount::DMATOTCOUNT_SPEC>,
48 #[doc = "0x240 - DMA Target Address Register"]
49 pub dmatargaddr: crate::Reg<dmatargaddr::DMATARGADDR_SPEC>,
50 #[doc = "0x244 - DMA Status Register"]
51 pub dmastat: crate::Reg<dmastat::DMASTAT_SPEC>,
52 #[doc = "0x248 - Command Queue Configuration Register"]
53 pub cqcfg: crate::Reg<cqcfg::CQCFG_SPEC>,
54 #[doc = "0x24c - CQ Target Read Address Register"]
55 pub cqaddr: crate::Reg<cqaddr::CQADDR_SPEC>,
56 #[doc = "0x250 - Command Queue Status Register"]
57 pub cqstat: crate::Reg<cqstat::CQSTAT_SPEC>,
58 #[doc = "0x254 - Command Queue Flag Register"]
59 pub cqflags: crate::Reg<cqflags::CQFLAGS_SPEC>,
60 #[doc = "0x258 - Command Queue Flag Set/Clear Register"]
61 pub cqsetclear: crate::Reg<cqsetclear::CQSETCLEAR_SPEC>,
62 #[doc = "0x25c - Command Queue Pause Enable Register"]
63 pub cqpauseen: crate::Reg<cqpauseen::CQPAUSEEN_SPEC>,
64 #[doc = "0x260 - IOM Command Queue current index value . Compared to the CQENDIDX reg contents to generate the IDXEQ Pause event for command queue"]
65 pub cqcuridx: crate::Reg<cqcuridx::CQCURIDX_SPEC>,
66 #[doc = "0x264 - IOM Command Queue current index value . Compared to the CQCURIDX reg contents to generate the IDXEQ Pause event for command queue"]
67 pub cqendidx: crate::Reg<cqendidx::CQENDIDX_SPEC>,
68 #[doc = "0x268 - IOM Module Status Register"]
69 pub status: crate::Reg<status::STATUS_SPEC>,
70 _reserved31: [u8; 0x94],
71 #[doc = "0x300 - SPI module master configuration"]
72 pub mspicfg: crate::Reg<mspicfg::MSPICFG_SPEC>,
73 #[doc = "0x304 - BLE Core Control"]
74 pub blecfg: crate::Reg<blecfg::BLECFG_SPEC>,
75 #[doc = "0x308 - BLE Power command interface"]
76 pub pwrcmd: crate::Reg<pwrcmd::PWRCMD_SPEC>,
77 #[doc = "0x30c - BLE Core status"]
78 pub bstatus: crate::Reg<bstatus::BSTATUS_SPEC>,
79 _reserved35: [u8; 0x0100],
80 #[doc = "0x410 - BLEIF Master Debug Register"]
81 pub bledbg: crate::Reg<bledbg::BLEDBG_SPEC>,
82}
83#[doc = "FIFO register accessor: an alias for `Reg<FIFO_SPEC>`"]
84pub type FIFO = crate::Reg<fifo::FIFO_SPEC>;
85#[doc = "FIFO Access Port"]
86pub mod fifo;
87#[doc = "FIFOPTR register accessor: an alias for `Reg<FIFOPTR_SPEC>`"]
88pub type FIFOPTR = crate::Reg<fifoptr::FIFOPTR_SPEC>;
89#[doc = "FIFO size and remaining slots open values"]
90pub mod fifoptr;
91#[doc = "FIFOTHR register accessor: an alias for `Reg<FIFOTHR_SPEC>`"]
92pub type FIFOTHR = crate::Reg<fifothr::FIFOTHR_SPEC>;
93#[doc = "FIFO Threshold Configuration"]
94pub mod fifothr;
95#[doc = "FIFOPOP register accessor: an alias for `Reg<FIFOPOP_SPEC>`"]
96pub type FIFOPOP = crate::Reg<fifopop::FIFOPOP_SPEC>;
97#[doc = "FIFO POP register"]
98pub mod fifopop;
99#[doc = "FIFOPUSH register accessor: an alias for `Reg<FIFOPUSH_SPEC>`"]
100pub type FIFOPUSH = crate::Reg<fifopush::FIFOPUSH_SPEC>;
101#[doc = "FIFO PUSH register"]
102pub mod fifopush;
103#[doc = "FIFOCTRL register accessor: an alias for `Reg<FIFOCTRL_SPEC>`"]
104pub type FIFOCTRL = crate::Reg<fifoctrl::FIFOCTRL_SPEC>;
105#[doc = "FIFO Control Register"]
106pub mod fifoctrl;
107#[doc = "FIFOLOC register accessor: an alias for `Reg<FIFOLOC_SPEC>`"]
108pub type FIFOLOC = crate::Reg<fifoloc::FIFOLOC_SPEC>;
109#[doc = "FIFO Pointers"]
110pub mod fifoloc;
111#[doc = "CLKCFG register accessor: an alias for `Reg<CLKCFG_SPEC>`"]
112pub type CLKCFG = crate::Reg<clkcfg::CLKCFG_SPEC>;
113#[doc = "I/O Clock Configuration"]
114pub mod clkcfg;
115#[doc = "CMD register accessor: an alias for `Reg<CMD_SPEC>`"]
116pub type CMD = crate::Reg<cmd::CMD_SPEC>;
117#[doc = "Command and offset Register"]
118pub mod cmd;
119#[doc = "CMDRPT register accessor: an alias for `Reg<CMDRPT_SPEC>`"]
120pub type CMDRPT = crate::Reg<cmdrpt::CMDRPT_SPEC>;
121#[doc = "Command Repeat Register"]
122pub mod cmdrpt;
123#[doc = "OFFSETHI register accessor: an alias for `Reg<OFFSETHI_SPEC>`"]
124pub type OFFSETHI = crate::Reg<offsethi::OFFSETHI_SPEC>;
125#[doc = "High order offset bytes"]
126pub mod offsethi;
127#[doc = "CMDSTAT register accessor: an alias for `Reg<CMDSTAT_SPEC>`"]
128pub type CMDSTAT = crate::Reg<cmdstat::CMDSTAT_SPEC>;
129#[doc = "Command status"]
130pub mod cmdstat;
131#[doc = "INTEN register accessor: an alias for `Reg<INTEN_SPEC>`"]
132pub type INTEN = crate::Reg<inten::INTEN_SPEC>;
133#[doc = "IO Master Interrupts: Enable"]
134pub mod inten;
135#[doc = "INTSTAT register accessor: an alias for `Reg<INTSTAT_SPEC>`"]
136pub type INTSTAT = crate::Reg<intstat::INTSTAT_SPEC>;
137#[doc = "IO Master Interrupts: Status"]
138pub mod intstat;
139#[doc = "INTCLR register accessor: an alias for `Reg<INTCLR_SPEC>`"]
140pub type INTCLR = crate::Reg<intclr::INTCLR_SPEC>;
141#[doc = "IO Master Interrupts: Clear"]
142pub mod intclr;
143#[doc = "INTSET register accessor: an alias for `Reg<INTSET_SPEC>`"]
144pub type INTSET = crate::Reg<intset::INTSET_SPEC>;
145#[doc = "IO Master Interrupts: Set"]
146pub mod intset;
147#[doc = "DMATRIGEN register accessor: an alias for `Reg<DMATRIGEN_SPEC>`"]
148pub type DMATRIGEN = crate::Reg<dmatrigen::DMATRIGEN_SPEC>;
149#[doc = "DMA Trigger Enable Register"]
150pub mod dmatrigen;
151#[doc = "DMATRIGSTAT register accessor: an alias for `Reg<DMATRIGSTAT_SPEC>`"]
152pub type DMATRIGSTAT = crate::Reg<dmatrigstat::DMATRIGSTAT_SPEC>;
153#[doc = "DMA Trigger Status Register"]
154pub mod dmatrigstat;
155#[doc = "DMACFG register accessor: an alias for `Reg<DMACFG_SPEC>`"]
156pub type DMACFG = crate::Reg<dmacfg::DMACFG_SPEC>;
157#[doc = "DMA Configuration Register"]
158pub mod dmacfg;
159#[doc = "DMATOTCOUNT register accessor: an alias for `Reg<DMATOTCOUNT_SPEC>`"]
160pub type DMATOTCOUNT = crate::Reg<dmatotcount::DMATOTCOUNT_SPEC>;
161#[doc = "DMA Total Transfer Count"]
162pub mod dmatotcount;
163#[doc = "DMATARGADDR register accessor: an alias for `Reg<DMATARGADDR_SPEC>`"]
164pub type DMATARGADDR = crate::Reg<dmatargaddr::DMATARGADDR_SPEC>;
165#[doc = "DMA Target Address Register"]
166pub mod dmatargaddr;
167#[doc = "DMASTAT register accessor: an alias for `Reg<DMASTAT_SPEC>`"]
168pub type DMASTAT = crate::Reg<dmastat::DMASTAT_SPEC>;
169#[doc = "DMA Status Register"]
170pub mod dmastat;
171#[doc = "CQCFG register accessor: an alias for `Reg<CQCFG_SPEC>`"]
172pub type CQCFG = crate::Reg<cqcfg::CQCFG_SPEC>;
173#[doc = "Command Queue Configuration Register"]
174pub mod cqcfg;
175#[doc = "CQADDR register accessor: an alias for `Reg<CQADDR_SPEC>`"]
176pub type CQADDR = crate::Reg<cqaddr::CQADDR_SPEC>;
177#[doc = "CQ Target Read Address Register"]
178pub mod cqaddr;
179#[doc = "CQSTAT register accessor: an alias for `Reg<CQSTAT_SPEC>`"]
180pub type CQSTAT = crate::Reg<cqstat::CQSTAT_SPEC>;
181#[doc = "Command Queue Status Register"]
182pub mod cqstat;
183#[doc = "CQFLAGS register accessor: an alias for `Reg<CQFLAGS_SPEC>`"]
184pub type CQFLAGS = crate::Reg<cqflags::CQFLAGS_SPEC>;
185#[doc = "Command Queue Flag Register"]
186pub mod cqflags;
187#[doc = "CQSETCLEAR register accessor: an alias for `Reg<CQSETCLEAR_SPEC>`"]
188pub type CQSETCLEAR = crate::Reg<cqsetclear::CQSETCLEAR_SPEC>;
189#[doc = "Command Queue Flag Set/Clear Register"]
190pub mod cqsetclear;
191#[doc = "CQPAUSEEN register accessor: an alias for `Reg<CQPAUSEEN_SPEC>`"]
192pub type CQPAUSEEN = crate::Reg<cqpauseen::CQPAUSEEN_SPEC>;
193#[doc = "Command Queue Pause Enable Register"]
194pub mod cqpauseen;
195#[doc = "CQCURIDX register accessor: an alias for `Reg<CQCURIDX_SPEC>`"]
196pub type CQCURIDX = crate::Reg<cqcuridx::CQCURIDX_SPEC>;
197#[doc = "IOM Command Queue current index value . Compared to the CQENDIDX reg contents to generate the IDXEQ Pause event for command queue"]
198pub mod cqcuridx;
199#[doc = "CQENDIDX register accessor: an alias for `Reg<CQENDIDX_SPEC>`"]
200pub type CQENDIDX = crate::Reg<cqendidx::CQENDIDX_SPEC>;
201#[doc = "IOM Command Queue current index value . Compared to the CQCURIDX reg contents to generate the IDXEQ Pause event for command queue"]
202pub mod cqendidx;
203#[doc = "STATUS register accessor: an alias for `Reg<STATUS_SPEC>`"]
204pub type STATUS = crate::Reg<status::STATUS_SPEC>;
205#[doc = "IOM Module Status Register"]
206pub mod status;
207#[doc = "MSPICFG register accessor: an alias for `Reg<MSPICFG_SPEC>`"]
208pub type MSPICFG = crate::Reg<mspicfg::MSPICFG_SPEC>;
209#[doc = "SPI module master configuration"]
210pub mod mspicfg;
211#[doc = "BLECFG register accessor: an alias for `Reg<BLECFG_SPEC>`"]
212pub type BLECFG = crate::Reg<blecfg::BLECFG_SPEC>;
213#[doc = "BLE Core Control"]
214pub mod blecfg;
215#[doc = "PWRCMD register accessor: an alias for `Reg<PWRCMD_SPEC>`"]
216pub type PWRCMD = crate::Reg<pwrcmd::PWRCMD_SPEC>;
217#[doc = "BLE Power command interface"]
218pub mod pwrcmd;
219#[doc = "BSTATUS register accessor: an alias for `Reg<BSTATUS_SPEC>`"]
220pub type BSTATUS = crate::Reg<bstatus::BSTATUS_SPEC>;
221#[doc = "BLE Core status"]
222pub mod bstatus;
223#[doc = "BLEDBG register accessor: an alias for `Reg<BLEDBG_SPEC>`"]
224pub type BLEDBG = crate::Reg<bledbg::BLEDBG_SPEC>;
225#[doc = "BLEIF Master Debug Register"]
226pub mod bledbg;