stm32f7 0.9.0

Device support crates for STM32F7 devices
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
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - OTG_FS control and status register (OTG_FS_GOTGCTL)"]
    pub otg_fs_gotgctl: OTG_FS_GOTGCTL,
    #[doc = "0x04 - OTG_FS interrupt register (OTG_FS_GOTGINT)"]
    pub otg_fs_gotgint: OTG_FS_GOTGINT,
    #[doc = "0x08 - OTG_FS AHB configuration register (OTG_FS_GAHBCFG)"]
    pub otg_fs_gahbcfg: OTG_FS_GAHBCFG,
    #[doc = "0x0c - OTG_FS USB configuration register (OTG_FS_GUSBCFG)"]
    pub otg_fs_gusbcfg: OTG_FS_GUSBCFG,
    #[doc = "0x10 - OTG_FS reset register (OTG_FS_GRSTCTL)"]
    pub otg_fs_grstctl: OTG_FS_GRSTCTL,
    #[doc = "0x14 - OTG_FS core interrupt register (OTG_FS_GINTSTS)"]
    pub otg_fs_gintsts: OTG_FS_GINTSTS,
    #[doc = "0x18 - OTG_FS interrupt mask register (OTG_FS_GINTMSK)"]
    pub otg_fs_gintmsk: OTG_FS_GINTMSK,
    _reserved_7_otg_fs_grxstsr: [u8; 4usize],
    _reserved_8_otg_fs_grxstsp: [u8; 4usize],
    #[doc = "0x24 - OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)"]
    pub otg_fs_grxfsiz: OTG_FS_GRXFSIZ,
    _reserved_10_otg_fs: [u8; 4usize],
    #[doc = "0x2c - OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)"]
    pub otg_fs_hnptxsts: OTG_FS_HNPTXSTS,
    #[doc = "0x30 - OTG I2C access register"]
    pub otg_fs_gi2cctl: OTG_FS_GI2CCTL,
    _reserved13: [u8; 4usize],
    #[doc = "0x38 - OTG_FS general core configuration register (OTG_FS_GCCFG)"]
    pub otg_fs_gccfg: OTG_FS_GCCFG,
    #[doc = "0x3c - core ID register"]
    pub otg_fs_cid: OTG_FS_CID,
    _reserved15: [u8; 20usize],
    #[doc = "0x54 - OTG core LPM configuration register"]
    pub otg_fs_glpmcfg: OTG_FS_GLPMCFG,
    #[doc = "0x58 - OTG power down register"]
    pub otg_fs_gpwrdn: OTG_FS_GPWRDN,
    _reserved17: [u8; 4usize],
    #[doc = "0x60 - OTG ADP timer, control and status register"]
    pub otg_fs_gadpctl: OTG_FS_GADPCTL,
    _reserved18: [u8; 156usize],
    #[doc = "0x100 - OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)"]
    pub otg_fs_hptxfsiz: OTG_FS_HPTXFSIZ,
    #[doc = "0x104 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF1)"]
    pub otg_fs_dieptxf1: OTG_FS_DIEPTXF1,
    #[doc = "0x108 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)"]
    pub otg_fs_dieptxf2: OTG_FS_DIEPTXF2,
    #[doc = "0x10c - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF3)"]
    pub otg_fs_dieptxf3: OTG_FS_DIEPTXF3,
    #[doc = "0x110 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF4)"]
    pub otg_fs_dieptxf4: OTG_FS_DIEPTXF4,
    #[doc = "0x114 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF5)"]
    pub otg_fs_dieptxf5: OTG_FS_DIEPTXF5,
}
impl RegisterBlock {
    #[doc = "0x1c - OTG_FS Receive status debug read(Host mode)"]
    #[inline(always)]
    pub fn otg_fs_grxstsr_host(&self) -> &OTG_FS_GRXSTSR_HOST {
        unsafe {
            &*(((self as *const Self) as *const u8).add(28usize) as *const OTG_FS_GRXSTSR_HOST)
        }
    }
    #[doc = "0x1c - OTG_FS Receive status debug read(Host mode)"]
    #[inline(always)]
    pub fn otg_fs_grxstsr_host_mut(&self) -> &mut OTG_FS_GRXSTSR_HOST {
        unsafe {
            &mut *(((self as *const Self) as *mut u8).add(28usize) as *mut OTG_FS_GRXSTSR_HOST)
        }
    }
    #[doc = "0x1c - OTG_FS Receive status debug read(Device mode)"]
    #[inline(always)]
    pub fn otg_fs_grxstsr_device(&self) -> &OTG_FS_GRXSTSR_DEVICE {
        unsafe {
            &*(((self as *const Self) as *const u8).add(28usize) as *const OTG_FS_GRXSTSR_DEVICE)
        }
    }
    #[doc = "0x1c - OTG_FS Receive status debug read(Device mode)"]
    #[inline(always)]
    pub fn otg_fs_grxstsr_device_mut(&self) -> &mut OTG_FS_GRXSTSR_DEVICE {
        unsafe {
            &mut *(((self as *const Self) as *mut u8).add(28usize) as *mut OTG_FS_GRXSTSR_DEVICE)
        }
    }
    #[doc = "0x20 - OTG status read and pop register (Host mode)"]
    #[inline(always)]
    pub fn otg_fs_grxstsp_host(&self) -> &OTG_FS_GRXSTSP_HOST {
        unsafe {
            &*(((self as *const Self) as *const u8).add(32usize) as *const OTG_FS_GRXSTSP_HOST)
        }
    }
    #[doc = "0x20 - OTG status read and pop register (Host mode)"]
    #[inline(always)]
    pub fn otg_fs_grxstsp_host_mut(&self) -> &mut OTG_FS_GRXSTSP_HOST {
        unsafe {
            &mut *(((self as *const Self) as *mut u8).add(32usize) as *mut OTG_FS_GRXSTSP_HOST)
        }
    }
    #[doc = "0x20 - OTG status read and pop register (Device mode)"]
    #[inline(always)]
    pub fn otg_fs_grxstsp_device(&self) -> &OTG_FS_GRXSTSP_DEVICE {
        unsafe {
            &*(((self as *const Self) as *const u8).add(32usize) as *const OTG_FS_GRXSTSP_DEVICE)
        }
    }
    #[doc = "0x20 - OTG status read and pop register (Device mode)"]
    #[inline(always)]
    pub fn otg_fs_grxstsp_device_mut(&self) -> &mut OTG_FS_GRXSTSP_DEVICE {
        unsafe {
            &mut *(((self as *const Self) as *mut u8).add(32usize) as *mut OTG_FS_GRXSTSP_DEVICE)
        }
    }
    #[doc = "0x28 - OTG_FS Host non-periodic transmit FIFO size register"]
    #[inline(always)]
    pub fn otg_fs_hnptxfsiz_host(&self) -> &OTG_FS_HNPTXFSIZ_HOST {
        unsafe {
            &*(((self as *const Self) as *const u8).add(40usize) as *const OTG_FS_HNPTXFSIZ_HOST)
        }
    }
    #[doc = "0x28 - OTG_FS Host non-periodic transmit FIFO size register"]
    #[inline(always)]
    pub fn otg_fs_hnptxfsiz_host_mut(&self) -> &mut OTG_FS_HNPTXFSIZ_HOST {
        unsafe {
            &mut *(((self as *const Self) as *mut u8).add(40usize) as *mut OTG_FS_HNPTXFSIZ_HOST)
        }
    }
    #[doc = "0x28 - OTG_FS Endpoint 0 Transmit FIFO size"]
    #[inline(always)]
    pub fn otg_fs_dieptxf0_device(&self) -> &OTG_FS_DIEPTXF0_DEVICE {
        unsafe {
            &*(((self as *const Self) as *const u8).add(40usize) as *const OTG_FS_DIEPTXF0_DEVICE)
        }
    }
    #[doc = "0x28 - OTG_FS Endpoint 0 Transmit FIFO size"]
    #[inline(always)]
    pub fn otg_fs_dieptxf0_device_mut(&self) -> &mut OTG_FS_DIEPTXF0_DEVICE {
        unsafe {
            &mut *(((self as *const Self) as *mut u8).add(40usize) as *mut OTG_FS_DIEPTXF0_DEVICE)
        }
    }
}
#[doc = "OTG_FS control and status register (OTG_FS_GOTGCTL)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gotgctl](otg_fs_gotgctl) module"]
pub type OTG_FS_GOTGCTL = crate::Reg<u32, _OTG_FS_GOTGCTL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GOTGCTL;
#[doc = "`read()` method returns [otg_fs_gotgctl::R](otg_fs_gotgctl::R) reader structure"]
impl crate::Readable for OTG_FS_GOTGCTL {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gotgctl::W](otg_fs_gotgctl::W) writer structure"]
impl crate::Writable for OTG_FS_GOTGCTL {}
#[doc = "OTG_FS control and status register (OTG_FS_GOTGCTL)"]
pub mod otg_fs_gotgctl;
#[doc = "OTG_FS interrupt register (OTG_FS_GOTGINT)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gotgint](otg_fs_gotgint) module"]
pub type OTG_FS_GOTGINT = crate::Reg<u32, _OTG_FS_GOTGINT>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GOTGINT;
#[doc = "`read()` method returns [otg_fs_gotgint::R](otg_fs_gotgint::R) reader structure"]
impl crate::Readable for OTG_FS_GOTGINT {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gotgint::W](otg_fs_gotgint::W) writer structure"]
impl crate::Writable for OTG_FS_GOTGINT {}
#[doc = "OTG_FS interrupt register (OTG_FS_GOTGINT)"]
pub mod otg_fs_gotgint;
#[doc = "OTG_FS AHB configuration register (OTG_FS_GAHBCFG)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gahbcfg](otg_fs_gahbcfg) module"]
pub type OTG_FS_GAHBCFG = crate::Reg<u32, _OTG_FS_GAHBCFG>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GAHBCFG;
#[doc = "`read()` method returns [otg_fs_gahbcfg::R](otg_fs_gahbcfg::R) reader structure"]
impl crate::Readable for OTG_FS_GAHBCFG {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gahbcfg::W](otg_fs_gahbcfg::W) writer structure"]
impl crate::Writable for OTG_FS_GAHBCFG {}
#[doc = "OTG_FS AHB configuration register (OTG_FS_GAHBCFG)"]
pub mod otg_fs_gahbcfg;
#[doc = "OTG_FS USB configuration register (OTG_FS_GUSBCFG)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gusbcfg](otg_fs_gusbcfg) module"]
pub type OTG_FS_GUSBCFG = crate::Reg<u32, _OTG_FS_GUSBCFG>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GUSBCFG;
#[doc = "`read()` method returns [otg_fs_gusbcfg::R](otg_fs_gusbcfg::R) reader structure"]
impl crate::Readable for OTG_FS_GUSBCFG {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gusbcfg::W](otg_fs_gusbcfg::W) writer structure"]
impl crate::Writable for OTG_FS_GUSBCFG {}
#[doc = "OTG_FS USB configuration register (OTG_FS_GUSBCFG)"]
pub mod otg_fs_gusbcfg;
#[doc = "OTG_FS reset register (OTG_FS_GRSTCTL)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_grstctl](otg_fs_grstctl) module"]
pub type OTG_FS_GRSTCTL = crate::Reg<u32, _OTG_FS_GRSTCTL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GRSTCTL;
#[doc = "`read()` method returns [otg_fs_grstctl::R](otg_fs_grstctl::R) reader structure"]
impl crate::Readable for OTG_FS_GRSTCTL {}
#[doc = "`write(|w| ..)` method takes [otg_fs_grstctl::W](otg_fs_grstctl::W) writer structure"]
impl crate::Writable for OTG_FS_GRSTCTL {}
#[doc = "OTG_FS reset register (OTG_FS_GRSTCTL)"]
pub mod otg_fs_grstctl;
#[doc = "OTG_FS core interrupt register (OTG_FS_GINTSTS)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gintsts](otg_fs_gintsts) module"]
pub type OTG_FS_GINTSTS = crate::Reg<u32, _OTG_FS_GINTSTS>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GINTSTS;
#[doc = "`read()` method returns [otg_fs_gintsts::R](otg_fs_gintsts::R) reader structure"]
impl crate::Readable for OTG_FS_GINTSTS {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gintsts::W](otg_fs_gintsts::W) writer structure"]
impl crate::Writable for OTG_FS_GINTSTS {}
#[doc = "OTG_FS core interrupt register (OTG_FS_GINTSTS)"]
pub mod otg_fs_gintsts;
#[doc = "OTG_FS interrupt mask register (OTG_FS_GINTMSK)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gintmsk](otg_fs_gintmsk) module"]
pub type OTG_FS_GINTMSK = crate::Reg<u32, _OTG_FS_GINTMSK>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GINTMSK;
#[doc = "`read()` method returns [otg_fs_gintmsk::R](otg_fs_gintmsk::R) reader structure"]
impl crate::Readable for OTG_FS_GINTMSK {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gintmsk::W](otg_fs_gintmsk::W) writer structure"]
impl crate::Writable for OTG_FS_GINTMSK {}
#[doc = "OTG_FS interrupt mask register (OTG_FS_GINTMSK)"]
pub mod otg_fs_gintmsk;
#[doc = "OTG_FS Receive status debug read(Device mode)\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_grxstsr_device](otg_fs_grxstsr_device) module"]
pub type OTG_FS_GRXSTSR_DEVICE = crate::Reg<u32, _OTG_FS_GRXSTSR_DEVICE>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GRXSTSR_DEVICE;
#[doc = "`read()` method returns [otg_fs_grxstsr_device::R](otg_fs_grxstsr_device::R) reader structure"]
impl crate::Readable for OTG_FS_GRXSTSR_DEVICE {}
#[doc = "OTG_FS Receive status debug read(Device mode)"]
pub mod otg_fs_grxstsr_device;
#[doc = "OTG_FS Receive status debug read(Host mode)\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_grxstsr_host](otg_fs_grxstsr_host) module"]
pub type OTG_FS_GRXSTSR_HOST = crate::Reg<u32, _OTG_FS_GRXSTSR_HOST>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GRXSTSR_HOST;
#[doc = "`read()` method returns [otg_fs_grxstsr_host::R](otg_fs_grxstsr_host::R) reader structure"]
impl crate::Readable for OTG_FS_GRXSTSR_HOST {}
#[doc = "OTG_FS Receive status debug read(Host mode)"]
pub mod otg_fs_grxstsr_host;
#[doc = "OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_grxfsiz](otg_fs_grxfsiz) module"]
pub type OTG_FS_GRXFSIZ = crate::Reg<u32, _OTG_FS_GRXFSIZ>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GRXFSIZ;
#[doc = "`read()` method returns [otg_fs_grxfsiz::R](otg_fs_grxfsiz::R) reader structure"]
impl crate::Readable for OTG_FS_GRXFSIZ {}
#[doc = "`write(|w| ..)` method takes [otg_fs_grxfsiz::W](otg_fs_grxfsiz::W) writer structure"]
impl crate::Writable for OTG_FS_GRXFSIZ {}
#[doc = "OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)"]
pub mod otg_fs_grxfsiz;
#[doc = "OTG_FS Endpoint 0 Transmit FIFO size\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_dieptxf0_device](otg_fs_dieptxf0_device) module"]
pub type OTG_FS_DIEPTXF0_DEVICE = crate::Reg<u32, _OTG_FS_DIEPTXF0_DEVICE>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_DIEPTXF0_DEVICE;
#[doc = "`read()` method returns [otg_fs_dieptxf0_device::R](otg_fs_dieptxf0_device::R) reader structure"]
impl crate::Readable for OTG_FS_DIEPTXF0_DEVICE {}
#[doc = "`write(|w| ..)` method takes [otg_fs_dieptxf0_device::W](otg_fs_dieptxf0_device::W) writer structure"]
impl crate::Writable for OTG_FS_DIEPTXF0_DEVICE {}
#[doc = "OTG_FS Endpoint 0 Transmit FIFO size"]
pub mod otg_fs_dieptxf0_device;
#[doc = "OTG_FS Host non-periodic transmit FIFO size register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_hnptxfsiz_host](otg_fs_hnptxfsiz_host) module"]
pub type OTG_FS_HNPTXFSIZ_HOST = crate::Reg<u32, _OTG_FS_HNPTXFSIZ_HOST>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_HNPTXFSIZ_HOST;
#[doc = "`read()` method returns [otg_fs_hnptxfsiz_host::R](otg_fs_hnptxfsiz_host::R) reader structure"]
impl crate::Readable for OTG_FS_HNPTXFSIZ_HOST {}
#[doc = "`write(|w| ..)` method takes [otg_fs_hnptxfsiz_host::W](otg_fs_hnptxfsiz_host::W) writer structure"]
impl crate::Writable for OTG_FS_HNPTXFSIZ_HOST {}
#[doc = "OTG_FS Host non-periodic transmit FIFO size register"]
pub mod otg_fs_hnptxfsiz_host;
#[doc = "OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_hnptxsts](otg_fs_hnptxsts) module"]
pub type OTG_FS_HNPTXSTS = crate::Reg<u32, _OTG_FS_HNPTXSTS>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_HNPTXSTS;
#[doc = "`read()` method returns [otg_fs_hnptxsts::R](otg_fs_hnptxsts::R) reader structure"]
impl crate::Readable for OTG_FS_HNPTXSTS {}
#[doc = "OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)"]
pub mod otg_fs_hnptxsts;
#[doc = "OTG_FS general core configuration register (OTG_FS_GCCFG)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gccfg](otg_fs_gccfg) module"]
pub type OTG_FS_GCCFG = crate::Reg<u32, _OTG_FS_GCCFG>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GCCFG;
#[doc = "`read()` method returns [otg_fs_gccfg::R](otg_fs_gccfg::R) reader structure"]
impl crate::Readable for OTG_FS_GCCFG {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gccfg::W](otg_fs_gccfg::W) writer structure"]
impl crate::Writable for OTG_FS_GCCFG {}
#[doc = "OTG_FS general core configuration register (OTG_FS_GCCFG)"]
pub mod otg_fs_gccfg;
#[doc = "core ID register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_cid](otg_fs_cid) module"]
pub type OTG_FS_CID = crate::Reg<u32, _OTG_FS_CID>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_CID;
#[doc = "`read()` method returns [otg_fs_cid::R](otg_fs_cid::R) reader structure"]
impl crate::Readable for OTG_FS_CID {}
#[doc = "`write(|w| ..)` method takes [otg_fs_cid::W](otg_fs_cid::W) writer structure"]
impl crate::Writable for OTG_FS_CID {}
#[doc = "core ID register"]
pub mod otg_fs_cid;
#[doc = "OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_hptxfsiz](otg_fs_hptxfsiz) module"]
pub type OTG_FS_HPTXFSIZ = crate::Reg<u32, _OTG_FS_HPTXFSIZ>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_HPTXFSIZ;
#[doc = "`read()` method returns [otg_fs_hptxfsiz::R](otg_fs_hptxfsiz::R) reader structure"]
impl crate::Readable for OTG_FS_HPTXFSIZ {}
#[doc = "`write(|w| ..)` method takes [otg_fs_hptxfsiz::W](otg_fs_hptxfsiz::W) writer structure"]
impl crate::Writable for OTG_FS_HPTXFSIZ {}
#[doc = "OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)"]
pub mod otg_fs_hptxfsiz;
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF1)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_dieptxf1](otg_fs_dieptxf1) module"]
pub type OTG_FS_DIEPTXF1 = crate::Reg<u32, _OTG_FS_DIEPTXF1>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_DIEPTXF1;
#[doc = "`read()` method returns [otg_fs_dieptxf1::R](otg_fs_dieptxf1::R) reader structure"]
impl crate::Readable for OTG_FS_DIEPTXF1 {}
#[doc = "`write(|w| ..)` method takes [otg_fs_dieptxf1::W](otg_fs_dieptxf1::W) writer structure"]
impl crate::Writable for OTG_FS_DIEPTXF1 {}
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF1)"]
pub mod otg_fs_dieptxf1;
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_dieptxf2](otg_fs_dieptxf2) module"]
pub type OTG_FS_DIEPTXF2 = crate::Reg<u32, _OTG_FS_DIEPTXF2>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_DIEPTXF2;
#[doc = "`read()` method returns [otg_fs_dieptxf2::R](otg_fs_dieptxf2::R) reader structure"]
impl crate::Readable for OTG_FS_DIEPTXF2 {}
#[doc = "`write(|w| ..)` method takes [otg_fs_dieptxf2::W](otg_fs_dieptxf2::W) writer structure"]
impl crate::Writable for OTG_FS_DIEPTXF2 {}
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)"]
pub mod otg_fs_dieptxf2;
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF3)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_dieptxf3](otg_fs_dieptxf3) module"]
pub type OTG_FS_DIEPTXF3 = crate::Reg<u32, _OTG_FS_DIEPTXF3>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_DIEPTXF3;
#[doc = "`read()` method returns [otg_fs_dieptxf3::R](otg_fs_dieptxf3::R) reader structure"]
impl crate::Readable for OTG_FS_DIEPTXF3 {}
#[doc = "`write(|w| ..)` method takes [otg_fs_dieptxf3::W](otg_fs_dieptxf3::W) writer structure"]
impl crate::Writable for OTG_FS_DIEPTXF3 {}
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF3)"]
pub mod otg_fs_dieptxf3;
#[doc = "OTG status read and pop register (Device mode)\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_grxstsp_device](otg_fs_grxstsp_device) module"]
pub type OTG_FS_GRXSTSP_DEVICE = crate::Reg<u32, _OTG_FS_GRXSTSP_DEVICE>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GRXSTSP_DEVICE;
#[doc = "`read()` method returns [otg_fs_grxstsp_device::R](otg_fs_grxstsp_device::R) reader structure"]
impl crate::Readable for OTG_FS_GRXSTSP_DEVICE {}
#[doc = "OTG status read and pop register (Device mode)"]
pub mod otg_fs_grxstsp_device;
#[doc = "OTG status read and pop register (Host mode)\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_grxstsp_host](otg_fs_grxstsp_host) module"]
pub type OTG_FS_GRXSTSP_HOST = crate::Reg<u32, _OTG_FS_GRXSTSP_HOST>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GRXSTSP_HOST;
#[doc = "`read()` method returns [otg_fs_grxstsp_host::R](otg_fs_grxstsp_host::R) reader structure"]
impl crate::Readable for OTG_FS_GRXSTSP_HOST {}
#[doc = "OTG status read and pop register (Host mode)"]
pub mod otg_fs_grxstsp_host;
#[doc = "OTG I2C access register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gi2cctl](otg_fs_gi2cctl) module"]
pub type OTG_FS_GI2CCTL = crate::Reg<u32, _OTG_FS_GI2CCTL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GI2CCTL;
#[doc = "`read()` method returns [otg_fs_gi2cctl::R](otg_fs_gi2cctl::R) reader structure"]
impl crate::Readable for OTG_FS_GI2CCTL {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gi2cctl::W](otg_fs_gi2cctl::W) writer structure"]
impl crate::Writable for OTG_FS_GI2CCTL {}
#[doc = "OTG I2C access register"]
pub mod otg_fs_gi2cctl;
#[doc = "OTG power down register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gpwrdn](otg_fs_gpwrdn) module"]
pub type OTG_FS_GPWRDN = crate::Reg<u32, _OTG_FS_GPWRDN>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GPWRDN;
#[doc = "`read()` method returns [otg_fs_gpwrdn::R](otg_fs_gpwrdn::R) reader structure"]
impl crate::Readable for OTG_FS_GPWRDN {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gpwrdn::W](otg_fs_gpwrdn::W) writer structure"]
impl crate::Writable for OTG_FS_GPWRDN {}
#[doc = "OTG power down register"]
pub mod otg_fs_gpwrdn;
#[doc = "OTG ADP timer, control and status register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_gadpctl](otg_fs_gadpctl) module"]
pub type OTG_FS_GADPCTL = crate::Reg<u32, _OTG_FS_GADPCTL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GADPCTL;
#[doc = "`read()` method returns [otg_fs_gadpctl::R](otg_fs_gadpctl::R) reader structure"]
impl crate::Readable for OTG_FS_GADPCTL {}
#[doc = "`write(|w| ..)` method takes [otg_fs_gadpctl::W](otg_fs_gadpctl::W) writer structure"]
impl crate::Writable for OTG_FS_GADPCTL {}
#[doc = "OTG ADP timer, control and status register"]
pub mod otg_fs_gadpctl;
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF4)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_dieptxf4](otg_fs_dieptxf4) module"]
pub type OTG_FS_DIEPTXF4 = crate::Reg<u32, _OTG_FS_DIEPTXF4>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_DIEPTXF4;
#[doc = "`read()` method returns [otg_fs_dieptxf4::R](otg_fs_dieptxf4::R) reader structure"]
impl crate::Readable for OTG_FS_DIEPTXF4 {}
#[doc = "`write(|w| ..)` method takes [otg_fs_dieptxf4::W](otg_fs_dieptxf4::W) writer structure"]
impl crate::Writable for OTG_FS_DIEPTXF4 {}
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF4)"]
pub mod otg_fs_dieptxf4;
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF5)\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_dieptxf5](otg_fs_dieptxf5) module"]
pub type OTG_FS_DIEPTXF5 = crate::Reg<u32, _OTG_FS_DIEPTXF5>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_DIEPTXF5;
#[doc = "`read()` method returns [otg_fs_dieptxf5::R](otg_fs_dieptxf5::R) reader structure"]
impl crate::Readable for OTG_FS_DIEPTXF5 {}
#[doc = "`write(|w| ..)` method takes [otg_fs_dieptxf5::W](otg_fs_dieptxf5::W) writer structure"]
impl crate::Writable for OTG_FS_DIEPTXF5 {}
#[doc = "OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF5)"]
pub mod otg_fs_dieptxf5;
#[doc = "OTG core LPM configuration register\n\nThis register you can [`read`](crate::generic::Reg::read), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about avaliable fields see [otg_fs_glpmcfg](otg_fs_glpmcfg) module"]
pub type OTG_FS_GLPMCFG = crate::Reg<u32, _OTG_FS_GLPMCFG>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _OTG_FS_GLPMCFG;
#[doc = "`read()` method returns [otg_fs_glpmcfg::R](otg_fs_glpmcfg::R) reader structure"]
impl crate::Readable for OTG_FS_GLPMCFG {}
#[doc = "`write(|w| ..)` method takes [otg_fs_glpmcfg::W](otg_fs_glpmcfg::W) writer structure"]
impl crate::Writable for OTG_FS_GLPMCFG {}
#[doc = "OTG core LPM configuration register"]
pub mod otg_fs_glpmcfg;