stm32f103-pac 0.1.3

Peripheral Access Crate (PAC) for STM32F103
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
#[repr(C)]
#[doc = "Register block"]
pub struct RegisterBlock {
    fs_hcfg: FsHcfg,
    hfir: Hfir,
    fs_hfnum: FsHfnum,
    _reserved3: [u8; 0x04],
    fs_hptxsts: FsHptxsts,
    haint: Haint,
    haintmsk: Haintmsk,
    _reserved6: [u8; 0x24],
    fs_hprt: FsHprt,
    _reserved7: [u8; 0xbc],
    fs_hcchar0: FsHcchar0,
    _reserved8: [u8; 0x04],
    fs_hcint0: FsHcint0,
    fs_hcintmsk0: FsHcintmsk0,
    fs_hctsiz0: FsHctsiz0,
    _reserved11: [u8; 0x0c],
    fs_hcchar1: FsHcchar1,
    _reserved12: [u8; 0x04],
    fs_hcint1: FsHcint1,
    fs_hcintmsk1: FsHcintmsk1,
    fs_hctsiz1: FsHctsiz1,
    _reserved15: [u8; 0x0c],
    fs_hcchar2: FsHcchar2,
    _reserved16: [u8; 0x04],
    fs_hcint2: FsHcint2,
    fs_hcintmsk2: FsHcintmsk2,
    fs_hctsiz2: FsHctsiz2,
    _reserved19: [u8; 0x0c],
    fs_hcchar3: FsHcchar3,
    _reserved20: [u8; 0x04],
    fs_hcint3: FsHcint3,
    fs_hcintmsk3: FsHcintmsk3,
    fs_hctsiz3: FsHctsiz3,
    _reserved23: [u8; 0x0c],
    fs_hcchar4: FsHcchar4,
    _reserved24: [u8; 0x04],
    fs_hcint4: FsHcint4,
    fs_hcintmsk4: FsHcintmsk4,
    fs_hctsiz4: FsHctsiz4,
    _reserved27: [u8; 0x0c],
    fs_hcchar5: FsHcchar5,
    _reserved28: [u8; 0x04],
    fs_hcint5: FsHcint5,
    fs_hcintmsk5: FsHcintmsk5,
    fs_hctsiz5: FsHctsiz5,
    _reserved31: [u8; 0x0c],
    fs_hcchar6: FsHcchar6,
    _reserved32: [u8; 0x04],
    fs_hcint6: FsHcint6,
    fs_hcintmsk6: FsHcintmsk6,
    fs_hctsiz6: FsHctsiz6,
    _reserved35: [u8; 0x0c],
    fs_hcchar7: FsHcchar7,
    _reserved36: [u8; 0x04],
    fs_hcint7: FsHcint7,
    fs_hcintmsk7: FsHcintmsk7,
    fs_hctsiz7: FsHctsiz7,
}
impl RegisterBlock {
    #[doc = "0x00 - OTG_FS host configuration register (OTG_FS_HCFG)"]
    #[inline(always)]
    pub const fn fs_hcfg(&self) -> &FsHcfg {
        &self.fs_hcfg
    }
    #[doc = "0x04 - OTG_FS Host frame interval register"]
    #[inline(always)]
    pub const fn hfir(&self) -> &Hfir {
        &self.hfir
    }
    #[doc = "0x08 - OTG_FS host frame number/frame time remaining register (OTG_FS_HFNUM)"]
    #[inline(always)]
    pub const fn fs_hfnum(&self) -> &FsHfnum {
        &self.fs_hfnum
    }
    #[doc = "0x10 - OTG_FS_Host periodic transmit FIFO/queue status register (OTG_FS_HPTXSTS)"]
    #[inline(always)]
    pub const fn fs_hptxsts(&self) -> &FsHptxsts {
        &self.fs_hptxsts
    }
    #[doc = "0x14 - OTG_FS Host all channels interrupt register"]
    #[inline(always)]
    pub const fn haint(&self) -> &Haint {
        &self.haint
    }
    #[doc = "0x18 - OTG_FS host all channels interrupt mask register"]
    #[inline(always)]
    pub const fn haintmsk(&self) -> &Haintmsk {
        &self.haintmsk
    }
    #[doc = "0x40 - OTG_FS host port control and status register (OTG_FS_HPRT)"]
    #[inline(always)]
    pub const fn fs_hprt(&self) -> &FsHprt {
        &self.fs_hprt
    }
    #[doc = "0x100 - OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)"]
    #[inline(always)]
    pub const fn fs_hcchar0(&self) -> &FsHcchar0 {
        &self.fs_hcchar0
    }
    #[doc = "0x108 - OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)"]
    #[inline(always)]
    pub const fn fs_hcint0(&self) -> &FsHcint0 {
        &self.fs_hcint0
    }
    #[doc = "0x10c - OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)"]
    #[inline(always)]
    pub const fn fs_hcintmsk0(&self) -> &FsHcintmsk0 {
        &self.fs_hcintmsk0
    }
    #[doc = "0x110 - OTG_FS host channel-0 transfer size register"]
    #[inline(always)]
    pub const fn fs_hctsiz0(&self) -> &FsHctsiz0 {
        &self.fs_hctsiz0
    }
    #[doc = "0x120 - OTG_FS host channel-1 characteristics register (OTG_FS_HCCHAR1)"]
    #[inline(always)]
    pub const fn fs_hcchar1(&self) -> &FsHcchar1 {
        &self.fs_hcchar1
    }
    #[doc = "0x128 - OTG_FS host channel-1 interrupt register (OTG_FS_HCINT1)"]
    #[inline(always)]
    pub const fn fs_hcint1(&self) -> &FsHcint1 {
        &self.fs_hcint1
    }
    #[doc = "0x12c - OTG_FS host channel-1 mask register (OTG_FS_HCINTMSK1)"]
    #[inline(always)]
    pub const fn fs_hcintmsk1(&self) -> &FsHcintmsk1 {
        &self.fs_hcintmsk1
    }
    #[doc = "0x130 - OTG_FS host channel-1 transfer size register"]
    #[inline(always)]
    pub const fn fs_hctsiz1(&self) -> &FsHctsiz1 {
        &self.fs_hctsiz1
    }
    #[doc = "0x140 - OTG_FS host channel-2 characteristics register (OTG_FS_HCCHAR2)"]
    #[inline(always)]
    pub const fn fs_hcchar2(&self) -> &FsHcchar2 {
        &self.fs_hcchar2
    }
    #[doc = "0x148 - OTG_FS host channel-2 interrupt register (OTG_FS_HCINT2)"]
    #[inline(always)]
    pub const fn fs_hcint2(&self) -> &FsHcint2 {
        &self.fs_hcint2
    }
    #[doc = "0x14c - OTG_FS host channel-2 mask register (OTG_FS_HCINTMSK2)"]
    #[inline(always)]
    pub const fn fs_hcintmsk2(&self) -> &FsHcintmsk2 {
        &self.fs_hcintmsk2
    }
    #[doc = "0x150 - OTG_FS host channel-2 transfer size register"]
    #[inline(always)]
    pub const fn fs_hctsiz2(&self) -> &FsHctsiz2 {
        &self.fs_hctsiz2
    }
    #[doc = "0x160 - OTG_FS host channel-3 characteristics register (OTG_FS_HCCHAR3)"]
    #[inline(always)]
    pub const fn fs_hcchar3(&self) -> &FsHcchar3 {
        &self.fs_hcchar3
    }
    #[doc = "0x168 - OTG_FS host channel-3 interrupt register (OTG_FS_HCINT3)"]
    #[inline(always)]
    pub const fn fs_hcint3(&self) -> &FsHcint3 {
        &self.fs_hcint3
    }
    #[doc = "0x16c - OTG_FS host channel-3 mask register (OTG_FS_HCINTMSK3)"]
    #[inline(always)]
    pub const fn fs_hcintmsk3(&self) -> &FsHcintmsk3 {
        &self.fs_hcintmsk3
    }
    #[doc = "0x170 - OTG_FS host channel-3 transfer size register"]
    #[inline(always)]
    pub const fn fs_hctsiz3(&self) -> &FsHctsiz3 {
        &self.fs_hctsiz3
    }
    #[doc = "0x180 - OTG_FS host channel-4 characteristics register (OTG_FS_HCCHAR4)"]
    #[inline(always)]
    pub const fn fs_hcchar4(&self) -> &FsHcchar4 {
        &self.fs_hcchar4
    }
    #[doc = "0x188 - OTG_FS host channel-4 interrupt register (OTG_FS_HCINT4)"]
    #[inline(always)]
    pub const fn fs_hcint4(&self) -> &FsHcint4 {
        &self.fs_hcint4
    }
    #[doc = "0x18c - OTG_FS host channel-4 mask register (OTG_FS_HCINTMSK4)"]
    #[inline(always)]
    pub const fn fs_hcintmsk4(&self) -> &FsHcintmsk4 {
        &self.fs_hcintmsk4
    }
    #[doc = "0x190 - OTG_FS host channel-x transfer size register"]
    #[inline(always)]
    pub const fn fs_hctsiz4(&self) -> &FsHctsiz4 {
        &self.fs_hctsiz4
    }
    #[doc = "0x1a0 - OTG_FS host channel-5 characteristics register (OTG_FS_HCCHAR5)"]
    #[inline(always)]
    pub const fn fs_hcchar5(&self) -> &FsHcchar5 {
        &self.fs_hcchar5
    }
    #[doc = "0x1a8 - OTG_FS host channel-5 interrupt register (OTG_FS_HCINT5)"]
    #[inline(always)]
    pub const fn fs_hcint5(&self) -> &FsHcint5 {
        &self.fs_hcint5
    }
    #[doc = "0x1ac - OTG_FS host channel-5 mask register (OTG_FS_HCINTMSK5)"]
    #[inline(always)]
    pub const fn fs_hcintmsk5(&self) -> &FsHcintmsk5 {
        &self.fs_hcintmsk5
    }
    #[doc = "0x1b0 - OTG_FS host channel-5 transfer size register"]
    #[inline(always)]
    pub const fn fs_hctsiz5(&self) -> &FsHctsiz5 {
        &self.fs_hctsiz5
    }
    #[doc = "0x1c0 - OTG_FS host channel-6 characteristics register (OTG_FS_HCCHAR6)"]
    #[inline(always)]
    pub const fn fs_hcchar6(&self) -> &FsHcchar6 {
        &self.fs_hcchar6
    }
    #[doc = "0x1c8 - OTG_FS host channel-6 interrupt register (OTG_FS_HCINT6)"]
    #[inline(always)]
    pub const fn fs_hcint6(&self) -> &FsHcint6 {
        &self.fs_hcint6
    }
    #[doc = "0x1cc - OTG_FS host channel-6 mask register (OTG_FS_HCINTMSK6)"]
    #[inline(always)]
    pub const fn fs_hcintmsk6(&self) -> &FsHcintmsk6 {
        &self.fs_hcintmsk6
    }
    #[doc = "0x1d0 - OTG_FS host channel-6 transfer size register"]
    #[inline(always)]
    pub const fn fs_hctsiz6(&self) -> &FsHctsiz6 {
        &self.fs_hctsiz6
    }
    #[doc = "0x1e0 - OTG_FS host channel-7 characteristics register (OTG_FS_HCCHAR7)"]
    #[inline(always)]
    pub const fn fs_hcchar7(&self) -> &FsHcchar7 {
        &self.fs_hcchar7
    }
    #[doc = "0x1e8 - OTG_FS host channel-7 interrupt register (OTG_FS_HCINT7)"]
    #[inline(always)]
    pub const fn fs_hcint7(&self) -> &FsHcint7 {
        &self.fs_hcint7
    }
    #[doc = "0x1ec - OTG_FS host channel-7 mask register (OTG_FS_HCINTMSK7)"]
    #[inline(always)]
    pub const fn fs_hcintmsk7(&self) -> &FsHcintmsk7 {
        &self.fs_hcintmsk7
    }
    #[doc = "0x1f0 - OTG_FS host channel-7 transfer size register"]
    #[inline(always)]
    pub const fn fs_hctsiz7(&self) -> &FsHctsiz7 {
        &self.fs_hctsiz7
    }
}
#[doc = "FS_HCFG (rw) register accessor: OTG_FS host configuration register (OTG_FS_HCFG)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcfg::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcfg::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcfg`] module"]
#[doc(alias = "FS_HCFG")]
pub type FsHcfg = crate::Reg<fs_hcfg::FsHcfgSpec>;
#[doc = "OTG_FS host configuration register (OTG_FS_HCFG)"]
pub mod fs_hcfg;
#[doc = "HFIR (rw) register accessor: OTG_FS Host frame interval register\n\nYou can [`read`](crate::Reg::read) this register and get [`hfir::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`hfir::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@hfir`] module"]
#[doc(alias = "HFIR")]
pub type Hfir = crate::Reg<hfir::HfirSpec>;
#[doc = "OTG_FS Host frame interval register"]
pub mod hfir;
#[doc = "FS_HFNUM (r) register accessor: OTG_FS host frame number/frame time remaining register (OTG_FS_HFNUM)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hfnum::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hfnum`] module"]
#[doc(alias = "FS_HFNUM")]
pub type FsHfnum = crate::Reg<fs_hfnum::FsHfnumSpec>;
#[doc = "OTG_FS host frame number/frame time remaining register (OTG_FS_HFNUM)"]
pub mod fs_hfnum;
#[doc = "FS_HPTXSTS (rw) register accessor: OTG_FS_Host periodic transmit FIFO/queue status register (OTG_FS_HPTXSTS)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hptxsts::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hptxsts::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hptxsts`] module"]
#[doc(alias = "FS_HPTXSTS")]
pub type FsHptxsts = crate::Reg<fs_hptxsts::FsHptxstsSpec>;
#[doc = "OTG_FS_Host periodic transmit FIFO/queue status register (OTG_FS_HPTXSTS)"]
pub mod fs_hptxsts;
#[doc = "HAINT (r) register accessor: OTG_FS Host all channels interrupt register\n\nYou can [`read`](crate::Reg::read) this register and get [`haint::R`]. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@haint`] module"]
#[doc(alias = "HAINT")]
pub type Haint = crate::Reg<haint::HaintSpec>;
#[doc = "OTG_FS Host all channels interrupt register"]
pub mod haint;
#[doc = "HAINTMSK (rw) register accessor: OTG_FS host all channels interrupt mask register\n\nYou can [`read`](crate::Reg::read) this register and get [`haintmsk::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`haintmsk::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@haintmsk`] module"]
#[doc(alias = "HAINTMSK")]
pub type Haintmsk = crate::Reg<haintmsk::HaintmskSpec>;
#[doc = "OTG_FS host all channels interrupt mask register"]
pub mod haintmsk;
#[doc = "FS_HPRT (rw) register accessor: OTG_FS host port control and status register (OTG_FS_HPRT)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hprt::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hprt::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hprt`] module"]
#[doc(alias = "FS_HPRT")]
pub type FsHprt = crate::Reg<fs_hprt::FsHprtSpec>;
#[doc = "OTG_FS host port control and status register (OTG_FS_HPRT)"]
pub mod fs_hprt;
#[doc = "FS_HCCHAR0 (rw) register accessor: OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcchar0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcchar0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcchar0`] module"]
#[doc(alias = "FS_HCCHAR0")]
pub type FsHcchar0 = crate::Reg<fs_hcchar0::FsHcchar0Spec>;
#[doc = "OTG_FS host channel-0 characteristics register (OTG_FS_HCCHAR0)"]
pub mod fs_hcchar0;
#[doc = "FS_HCCHAR1 (rw) register accessor: OTG_FS host channel-1 characteristics register (OTG_FS_HCCHAR1)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcchar1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcchar1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcchar1`] module"]
#[doc(alias = "FS_HCCHAR1")]
pub type FsHcchar1 = crate::Reg<fs_hcchar1::FsHcchar1Spec>;
#[doc = "OTG_FS host channel-1 characteristics register (OTG_FS_HCCHAR1)"]
pub mod fs_hcchar1;
#[doc = "FS_HCCHAR2 (rw) register accessor: OTG_FS host channel-2 characteristics register (OTG_FS_HCCHAR2)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcchar2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcchar2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcchar2`] module"]
#[doc(alias = "FS_HCCHAR2")]
pub type FsHcchar2 = crate::Reg<fs_hcchar2::FsHcchar2Spec>;
#[doc = "OTG_FS host channel-2 characteristics register (OTG_FS_HCCHAR2)"]
pub mod fs_hcchar2;
#[doc = "FS_HCCHAR3 (rw) register accessor: OTG_FS host channel-3 characteristics register (OTG_FS_HCCHAR3)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcchar3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcchar3::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcchar3`] module"]
#[doc(alias = "FS_HCCHAR3")]
pub type FsHcchar3 = crate::Reg<fs_hcchar3::FsHcchar3Spec>;
#[doc = "OTG_FS host channel-3 characteristics register (OTG_FS_HCCHAR3)"]
pub mod fs_hcchar3;
#[doc = "FS_HCCHAR4 (rw) register accessor: OTG_FS host channel-4 characteristics register (OTG_FS_HCCHAR4)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcchar4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcchar4::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcchar4`] module"]
#[doc(alias = "FS_HCCHAR4")]
pub type FsHcchar4 = crate::Reg<fs_hcchar4::FsHcchar4Spec>;
#[doc = "OTG_FS host channel-4 characteristics register (OTG_FS_HCCHAR4)"]
pub mod fs_hcchar4;
#[doc = "FS_HCCHAR5 (rw) register accessor: OTG_FS host channel-5 characteristics register (OTG_FS_HCCHAR5)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcchar5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcchar5::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcchar5`] module"]
#[doc(alias = "FS_HCCHAR5")]
pub type FsHcchar5 = crate::Reg<fs_hcchar5::FsHcchar5Spec>;
#[doc = "OTG_FS host channel-5 characteristics register (OTG_FS_HCCHAR5)"]
pub mod fs_hcchar5;
#[doc = "FS_HCCHAR6 (rw) register accessor: OTG_FS host channel-6 characteristics register (OTG_FS_HCCHAR6)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcchar6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcchar6::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcchar6`] module"]
#[doc(alias = "FS_HCCHAR6")]
pub type FsHcchar6 = crate::Reg<fs_hcchar6::FsHcchar6Spec>;
#[doc = "OTG_FS host channel-6 characteristics register (OTG_FS_HCCHAR6)"]
pub mod fs_hcchar6;
#[doc = "FS_HCCHAR7 (rw) register accessor: OTG_FS host channel-7 characteristics register (OTG_FS_HCCHAR7)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcchar7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcchar7::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcchar7`] module"]
#[doc(alias = "FS_HCCHAR7")]
pub type FsHcchar7 = crate::Reg<fs_hcchar7::FsHcchar7Spec>;
#[doc = "OTG_FS host channel-7 characteristics register (OTG_FS_HCCHAR7)"]
pub mod fs_hcchar7;
#[doc = "FS_HCINT0 (rw) register accessor: OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcint0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcint0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcint0`] module"]
#[doc(alias = "FS_HCINT0")]
pub type FsHcint0 = crate::Reg<fs_hcint0::FsHcint0Spec>;
#[doc = "OTG_FS host channel-0 interrupt register (OTG_FS_HCINT0)"]
pub mod fs_hcint0;
#[doc = "FS_HCINT1 (rw) register accessor: OTG_FS host channel-1 interrupt register (OTG_FS_HCINT1)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcint1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcint1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcint1`] module"]
#[doc(alias = "FS_HCINT1")]
pub type FsHcint1 = crate::Reg<fs_hcint1::FsHcint1Spec>;
#[doc = "OTG_FS host channel-1 interrupt register (OTG_FS_HCINT1)"]
pub mod fs_hcint1;
#[doc = "FS_HCINT2 (rw) register accessor: OTG_FS host channel-2 interrupt register (OTG_FS_HCINT2)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcint2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcint2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcint2`] module"]
#[doc(alias = "FS_HCINT2")]
pub type FsHcint2 = crate::Reg<fs_hcint2::FsHcint2Spec>;
#[doc = "OTG_FS host channel-2 interrupt register (OTG_FS_HCINT2)"]
pub mod fs_hcint2;
#[doc = "FS_HCINT3 (rw) register accessor: OTG_FS host channel-3 interrupt register (OTG_FS_HCINT3)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcint3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcint3::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcint3`] module"]
#[doc(alias = "FS_HCINT3")]
pub type FsHcint3 = crate::Reg<fs_hcint3::FsHcint3Spec>;
#[doc = "OTG_FS host channel-3 interrupt register (OTG_FS_HCINT3)"]
pub mod fs_hcint3;
#[doc = "FS_HCINT4 (rw) register accessor: OTG_FS host channel-4 interrupt register (OTG_FS_HCINT4)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcint4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcint4::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcint4`] module"]
#[doc(alias = "FS_HCINT4")]
pub type FsHcint4 = crate::Reg<fs_hcint4::FsHcint4Spec>;
#[doc = "OTG_FS host channel-4 interrupt register (OTG_FS_HCINT4)"]
pub mod fs_hcint4;
#[doc = "FS_HCINT5 (rw) register accessor: OTG_FS host channel-5 interrupt register (OTG_FS_HCINT5)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcint5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcint5::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcint5`] module"]
#[doc(alias = "FS_HCINT5")]
pub type FsHcint5 = crate::Reg<fs_hcint5::FsHcint5Spec>;
#[doc = "OTG_FS host channel-5 interrupt register (OTG_FS_HCINT5)"]
pub mod fs_hcint5;
#[doc = "FS_HCINT6 (rw) register accessor: OTG_FS host channel-6 interrupt register (OTG_FS_HCINT6)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcint6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcint6::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcint6`] module"]
#[doc(alias = "FS_HCINT6")]
pub type FsHcint6 = crate::Reg<fs_hcint6::FsHcint6Spec>;
#[doc = "OTG_FS host channel-6 interrupt register (OTG_FS_HCINT6)"]
pub mod fs_hcint6;
#[doc = "FS_HCINT7 (rw) register accessor: OTG_FS host channel-7 interrupt register (OTG_FS_HCINT7)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcint7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcint7::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcint7`] module"]
#[doc(alias = "FS_HCINT7")]
pub type FsHcint7 = crate::Reg<fs_hcint7::FsHcint7Spec>;
#[doc = "OTG_FS host channel-7 interrupt register (OTG_FS_HCINT7)"]
pub mod fs_hcint7;
#[doc = "FS_HCINTMSK0 (rw) register accessor: OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcintmsk0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcintmsk0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcintmsk0`] module"]
#[doc(alias = "FS_HCINTMSK0")]
pub type FsHcintmsk0 = crate::Reg<fs_hcintmsk0::FsHcintmsk0Spec>;
#[doc = "OTG_FS host channel-0 mask register (OTG_FS_HCINTMSK0)"]
pub mod fs_hcintmsk0;
#[doc = "FS_HCINTMSK1 (rw) register accessor: OTG_FS host channel-1 mask register (OTG_FS_HCINTMSK1)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcintmsk1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcintmsk1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcintmsk1`] module"]
#[doc(alias = "FS_HCINTMSK1")]
pub type FsHcintmsk1 = crate::Reg<fs_hcintmsk1::FsHcintmsk1Spec>;
#[doc = "OTG_FS host channel-1 mask register (OTG_FS_HCINTMSK1)"]
pub mod fs_hcintmsk1;
#[doc = "FS_HCINTMSK2 (rw) register accessor: OTG_FS host channel-2 mask register (OTG_FS_HCINTMSK2)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcintmsk2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcintmsk2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcintmsk2`] module"]
#[doc(alias = "FS_HCINTMSK2")]
pub type FsHcintmsk2 = crate::Reg<fs_hcintmsk2::FsHcintmsk2Spec>;
#[doc = "OTG_FS host channel-2 mask register (OTG_FS_HCINTMSK2)"]
pub mod fs_hcintmsk2;
#[doc = "FS_HCINTMSK3 (rw) register accessor: OTG_FS host channel-3 mask register (OTG_FS_HCINTMSK3)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcintmsk3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcintmsk3::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcintmsk3`] module"]
#[doc(alias = "FS_HCINTMSK3")]
pub type FsHcintmsk3 = crate::Reg<fs_hcintmsk3::FsHcintmsk3Spec>;
#[doc = "OTG_FS host channel-3 mask register (OTG_FS_HCINTMSK3)"]
pub mod fs_hcintmsk3;
#[doc = "FS_HCINTMSK4 (rw) register accessor: OTG_FS host channel-4 mask register (OTG_FS_HCINTMSK4)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcintmsk4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcintmsk4::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcintmsk4`] module"]
#[doc(alias = "FS_HCINTMSK4")]
pub type FsHcintmsk4 = crate::Reg<fs_hcintmsk4::FsHcintmsk4Spec>;
#[doc = "OTG_FS host channel-4 mask register (OTG_FS_HCINTMSK4)"]
pub mod fs_hcintmsk4;
#[doc = "FS_HCINTMSK5 (rw) register accessor: OTG_FS host channel-5 mask register (OTG_FS_HCINTMSK5)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcintmsk5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcintmsk5::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcintmsk5`] module"]
#[doc(alias = "FS_HCINTMSK5")]
pub type FsHcintmsk5 = crate::Reg<fs_hcintmsk5::FsHcintmsk5Spec>;
#[doc = "OTG_FS host channel-5 mask register (OTG_FS_HCINTMSK5)"]
pub mod fs_hcintmsk5;
#[doc = "FS_HCINTMSK6 (rw) register accessor: OTG_FS host channel-6 mask register (OTG_FS_HCINTMSK6)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcintmsk6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcintmsk6::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcintmsk6`] module"]
#[doc(alias = "FS_HCINTMSK6")]
pub type FsHcintmsk6 = crate::Reg<fs_hcintmsk6::FsHcintmsk6Spec>;
#[doc = "OTG_FS host channel-6 mask register (OTG_FS_HCINTMSK6)"]
pub mod fs_hcintmsk6;
#[doc = "FS_HCINTMSK7 (rw) register accessor: OTG_FS host channel-7 mask register (OTG_FS_HCINTMSK7)\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hcintmsk7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hcintmsk7::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hcintmsk7`] module"]
#[doc(alias = "FS_HCINTMSK7")]
pub type FsHcintmsk7 = crate::Reg<fs_hcintmsk7::FsHcintmsk7Spec>;
#[doc = "OTG_FS host channel-7 mask register (OTG_FS_HCINTMSK7)"]
pub mod fs_hcintmsk7;
#[doc = "FS_HCTSIZ0 (rw) register accessor: OTG_FS host channel-0 transfer size register\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hctsiz0::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hctsiz0::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hctsiz0`] module"]
#[doc(alias = "FS_HCTSIZ0")]
pub type FsHctsiz0 = crate::Reg<fs_hctsiz0::FsHctsiz0Spec>;
#[doc = "OTG_FS host channel-0 transfer size register"]
pub mod fs_hctsiz0;
#[doc = "FS_HCTSIZ1 (rw) register accessor: OTG_FS host channel-1 transfer size register\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hctsiz1::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hctsiz1::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hctsiz1`] module"]
#[doc(alias = "FS_HCTSIZ1")]
pub type FsHctsiz1 = crate::Reg<fs_hctsiz1::FsHctsiz1Spec>;
#[doc = "OTG_FS host channel-1 transfer size register"]
pub mod fs_hctsiz1;
#[doc = "FS_HCTSIZ2 (rw) register accessor: OTG_FS host channel-2 transfer size register\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hctsiz2::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hctsiz2::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hctsiz2`] module"]
#[doc(alias = "FS_HCTSIZ2")]
pub type FsHctsiz2 = crate::Reg<fs_hctsiz2::FsHctsiz2Spec>;
#[doc = "OTG_FS host channel-2 transfer size register"]
pub mod fs_hctsiz2;
#[doc = "FS_HCTSIZ3 (rw) register accessor: OTG_FS host channel-3 transfer size register\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hctsiz3::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hctsiz3::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hctsiz3`] module"]
#[doc(alias = "FS_HCTSIZ3")]
pub type FsHctsiz3 = crate::Reg<fs_hctsiz3::FsHctsiz3Spec>;
#[doc = "OTG_FS host channel-3 transfer size register"]
pub mod fs_hctsiz3;
#[doc = "FS_HCTSIZ4 (rw) register accessor: OTG_FS host channel-x transfer size register\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hctsiz4::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hctsiz4::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hctsiz4`] module"]
#[doc(alias = "FS_HCTSIZ4")]
pub type FsHctsiz4 = crate::Reg<fs_hctsiz4::FsHctsiz4Spec>;
#[doc = "OTG_FS host channel-x transfer size register"]
pub mod fs_hctsiz4;
#[doc = "FS_HCTSIZ5 (rw) register accessor: OTG_FS host channel-5 transfer size register\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hctsiz5::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hctsiz5::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hctsiz5`] module"]
#[doc(alias = "FS_HCTSIZ5")]
pub type FsHctsiz5 = crate::Reg<fs_hctsiz5::FsHctsiz5Spec>;
#[doc = "OTG_FS host channel-5 transfer size register"]
pub mod fs_hctsiz5;
#[doc = "FS_HCTSIZ6 (rw) register accessor: OTG_FS host channel-6 transfer size register\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hctsiz6::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hctsiz6::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hctsiz6`] module"]
#[doc(alias = "FS_HCTSIZ6")]
pub type FsHctsiz6 = crate::Reg<fs_hctsiz6::FsHctsiz6Spec>;
#[doc = "OTG_FS host channel-6 transfer size register"]
pub mod fs_hctsiz6;
#[doc = "FS_HCTSIZ7 (rw) register accessor: OTG_FS host channel-7 transfer size register\n\nYou can [`read`](crate::Reg::read) this register and get [`fs_hctsiz7::R`]. You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`fs_hctsiz7::W`]. You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [`mod@fs_hctsiz7`] module"]
#[doc(alias = "FS_HCTSIZ7")]
pub type FsHctsiz7 = crate::Reg<fs_hctsiz7::FsHctsiz7Spec>;
#[doc = "OTG_FS host channel-7 transfer size register"]
pub mod fs_hctsiz7;