stm32l4x2_pac/
dma1.rs

1#[doc = r" Register block"]
2#[repr(C)]
3pub struct RegisterBlock {
4    #[doc = "0x00 - interrupt status register"]
5    pub isr: ISR,
6    #[doc = "0x04 - interrupt flag clear register"]
7    pub ifcr: IFCR,
8    #[doc = "0x08 - channel x configuration register"]
9    pub ccr1: CCR1,
10    #[doc = "0x0c - channel x number of data register"]
11    pub cndtr1: CNDTR1,
12    #[doc = "0x10 - channel x peripheral address register"]
13    pub cpar1: CPAR1,
14    #[doc = "0x14 - channel x memory address register"]
15    pub cmar1: CMAR1,
16    _reserved0: [u8; 4usize],
17    #[doc = "0x1c - channel x configuration register"]
18    pub ccr2: CCR2,
19    #[doc = "0x20 - channel x number of data register"]
20    pub cndtr2: CNDTR2,
21    #[doc = "0x24 - channel x peripheral address register"]
22    pub cpar2: CPAR2,
23    #[doc = "0x28 - channel x memory address register"]
24    pub cmar2: CMAR2,
25    _reserved1: [u8; 4usize],
26    #[doc = "0x30 - channel x configuration register"]
27    pub ccr3: CCR3,
28    #[doc = "0x34 - channel x number of data register"]
29    pub cndtr3: CNDTR3,
30    #[doc = "0x38 - channel x peripheral address register"]
31    pub cpar3: CPAR3,
32    #[doc = "0x3c - channel x memory address register"]
33    pub cmar3: CMAR3,
34    _reserved2: [u8; 4usize],
35    #[doc = "0x44 - channel x configuration register"]
36    pub ccr4: CCR4,
37    #[doc = "0x48 - channel x number of data register"]
38    pub cndtr4: CNDTR4,
39    #[doc = "0x4c - channel x peripheral address register"]
40    pub cpar4: CPAR4,
41    #[doc = "0x50 - channel x memory address register"]
42    pub cmar4: CMAR4,
43    _reserved3: [u8; 4usize],
44    #[doc = "0x58 - channel x configuration register"]
45    pub ccr5: CCR5,
46    #[doc = "0x5c - channel x number of data register"]
47    pub cndtr5: CNDTR5,
48    #[doc = "0x60 - channel x peripheral address register"]
49    pub cpar5: CPAR5,
50    #[doc = "0x64 - channel x memory address register"]
51    pub cmar5: CMAR5,
52    _reserved4: [u8; 4usize],
53    #[doc = "0x6c - channel x configuration register"]
54    pub ccr6: CCR6,
55    #[doc = "0x70 - channel x number of data register"]
56    pub cndtr6: CNDTR6,
57    #[doc = "0x74 - channel x peripheral address register"]
58    pub cpar6: CPAR6,
59    #[doc = "0x78 - channel x memory address register"]
60    pub cmar6: CMAR6,
61    _reserved5: [u8; 4usize],
62    #[doc = "0x80 - channel x configuration register"]
63    pub ccr7: CCR7,
64    #[doc = "0x84 - channel x number of data register"]
65    pub cndtr7: CNDTR7,
66    #[doc = "0x88 - channel x peripheral address register"]
67    pub cpar7: CPAR7,
68    #[doc = "0x8c - channel x memory address register"]
69    pub cmar7: CMAR7,
70    _reserved6: [u8; 24usize],
71    #[doc = "0xa8 - channel selection register"]
72    pub cselr: CSELR,
73}
74#[doc = "interrupt status register"]
75pub struct ISR {
76    register: ::vcell::VolatileCell<u32>,
77}
78#[doc = "interrupt status register"]
79pub mod isr;
80#[doc = "interrupt flag clear register"]
81pub struct IFCR {
82    register: ::vcell::VolatileCell<u32>,
83}
84#[doc = "interrupt flag clear register"]
85pub mod ifcr;
86#[doc = "channel x configuration register"]
87pub struct CCR1 {
88    register: ::vcell::VolatileCell<u32>,
89}
90#[doc = "channel x configuration register"]
91pub mod ccr1;
92#[doc = "channel x number of data register"]
93pub struct CNDTR1 {
94    register: ::vcell::VolatileCell<u32>,
95}
96#[doc = "channel x number of data register"]
97pub mod cndtr1;
98#[doc = "channel x peripheral address register"]
99pub struct CPAR1 {
100    register: ::vcell::VolatileCell<u32>,
101}
102#[doc = "channel x peripheral address register"]
103pub mod cpar1;
104#[doc = "channel x memory address register"]
105pub struct CMAR1 {
106    register: ::vcell::VolatileCell<u32>,
107}
108#[doc = "channel x memory address register"]
109pub mod cmar1;
110#[doc = "channel x configuration register"]
111pub struct CCR2 {
112    register: ::vcell::VolatileCell<u32>,
113}
114#[doc = "channel x configuration register"]
115pub mod ccr2;
116#[doc = "channel x number of data register"]
117pub struct CNDTR2 {
118    register: ::vcell::VolatileCell<u32>,
119}
120#[doc = "channel x number of data register"]
121pub mod cndtr2;
122#[doc = "channel x peripheral address register"]
123pub struct CPAR2 {
124    register: ::vcell::VolatileCell<u32>,
125}
126#[doc = "channel x peripheral address register"]
127pub mod cpar2;
128#[doc = "channel x memory address register"]
129pub struct CMAR2 {
130    register: ::vcell::VolatileCell<u32>,
131}
132#[doc = "channel x memory address register"]
133pub mod cmar2;
134#[doc = "channel x configuration register"]
135pub struct CCR3 {
136    register: ::vcell::VolatileCell<u32>,
137}
138#[doc = "channel x configuration register"]
139pub mod ccr3;
140#[doc = "channel x number of data register"]
141pub struct CNDTR3 {
142    register: ::vcell::VolatileCell<u32>,
143}
144#[doc = "channel x number of data register"]
145pub mod cndtr3;
146#[doc = "channel x peripheral address register"]
147pub struct CPAR3 {
148    register: ::vcell::VolatileCell<u32>,
149}
150#[doc = "channel x peripheral address register"]
151pub mod cpar3;
152#[doc = "channel x memory address register"]
153pub struct CMAR3 {
154    register: ::vcell::VolatileCell<u32>,
155}
156#[doc = "channel x memory address register"]
157pub mod cmar3;
158#[doc = "channel x configuration register"]
159pub struct CCR4 {
160    register: ::vcell::VolatileCell<u32>,
161}
162#[doc = "channel x configuration register"]
163pub mod ccr4;
164#[doc = "channel x number of data register"]
165pub struct CNDTR4 {
166    register: ::vcell::VolatileCell<u32>,
167}
168#[doc = "channel x number of data register"]
169pub mod cndtr4;
170#[doc = "channel x peripheral address register"]
171pub struct CPAR4 {
172    register: ::vcell::VolatileCell<u32>,
173}
174#[doc = "channel x peripheral address register"]
175pub mod cpar4;
176#[doc = "channel x memory address register"]
177pub struct CMAR4 {
178    register: ::vcell::VolatileCell<u32>,
179}
180#[doc = "channel x memory address register"]
181pub mod cmar4;
182#[doc = "channel x configuration register"]
183pub struct CCR5 {
184    register: ::vcell::VolatileCell<u32>,
185}
186#[doc = "channel x configuration register"]
187pub mod ccr5;
188#[doc = "channel x number of data register"]
189pub struct CNDTR5 {
190    register: ::vcell::VolatileCell<u32>,
191}
192#[doc = "channel x number of data register"]
193pub mod cndtr5;
194#[doc = "channel x peripheral address register"]
195pub struct CPAR5 {
196    register: ::vcell::VolatileCell<u32>,
197}
198#[doc = "channel x peripheral address register"]
199pub mod cpar5;
200#[doc = "channel x memory address register"]
201pub struct CMAR5 {
202    register: ::vcell::VolatileCell<u32>,
203}
204#[doc = "channel x memory address register"]
205pub mod cmar5;
206#[doc = "channel x configuration register"]
207pub struct CCR6 {
208    register: ::vcell::VolatileCell<u32>,
209}
210#[doc = "channel x configuration register"]
211pub mod ccr6;
212#[doc = "channel x number of data register"]
213pub struct CNDTR6 {
214    register: ::vcell::VolatileCell<u32>,
215}
216#[doc = "channel x number of data register"]
217pub mod cndtr6;
218#[doc = "channel x peripheral address register"]
219pub struct CPAR6 {
220    register: ::vcell::VolatileCell<u32>,
221}
222#[doc = "channel x peripheral address register"]
223pub mod cpar6;
224#[doc = "channel x memory address register"]
225pub struct CMAR6 {
226    register: ::vcell::VolatileCell<u32>,
227}
228#[doc = "channel x memory address register"]
229pub mod cmar6;
230#[doc = "channel x configuration register"]
231pub struct CCR7 {
232    register: ::vcell::VolatileCell<u32>,
233}
234#[doc = "channel x configuration register"]
235pub mod ccr7;
236#[doc = "channel x number of data register"]
237pub struct CNDTR7 {
238    register: ::vcell::VolatileCell<u32>,
239}
240#[doc = "channel x number of data register"]
241pub mod cndtr7;
242#[doc = "channel x peripheral address register"]
243pub struct CPAR7 {
244    register: ::vcell::VolatileCell<u32>,
245}
246#[doc = "channel x peripheral address register"]
247pub mod cpar7;
248#[doc = "channel x memory address register"]
249pub struct CMAR7 {
250    register: ::vcell::VolatileCell<u32>,
251}
252#[doc = "channel x memory address register"]
253pub mod cmar7;
254#[doc = "channel selection register"]
255pub struct CSELR {
256    register: ::vcell::VolatileCell<u32>,
257}
258#[doc = "channel selection register"]
259pub mod cselr;