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
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - Ethernet MAC configuration register (ETH_MACCR)"]
    pub maccr: MACCR,
    #[doc = "0x04 - Ethernet MAC frame filter register (ETH_MACCFFR)"]
    pub macffr: MACFFR,
    #[doc = "0x08 - Ethernet MAC hash table high register"]
    pub machthr: MACHTHR,
    #[doc = "0x0c - Ethernet MAC hash table low register"]
    pub machtlr: MACHTLR,
    #[doc = "0x10 - Ethernet MAC MII address register (ETH_MACMIIAR)"]
    pub macmiiar: MACMIIAR,
    #[doc = "0x14 - Ethernet MAC MII data register (ETH_MACMIIDR)"]
    pub macmiidr: MACMIIDR,
    #[doc = "0x18 - Ethernet MAC flow control register (ETH_MACFCR)"]
    pub macfcr: MACFCR,
    #[doc = "0x1c - Ethernet MAC VLAN tag register (ETH_MACVLANTR)"]
    pub macvlantr: MACVLANTR,
    _reserved8: [u8; 8usize],
    #[doc = "0x28 - Ethernet MAC remote wakeup frame filter register (ETH_MACRWUFFR)"]
    pub macrwuffr: MACRWUFFR,
    #[doc = "0x2c - Ethernet MAC PMT control and status register (ETH_MACPMTCSR)"]
    pub macpmtcsr: MACPMTCSR,
    _reserved10: [u8; 8usize],
    #[doc = "0x38 - Ethernet MAC interrupt status register (ETH_MACSR)"]
    pub macsr: MACSR,
    #[doc = "0x3c - Ethernet MAC interrupt mask register (ETH_MACIMR)"]
    pub macimr: MACIMR,
    #[doc = "0x40 - Ethernet MAC address 0 high register (ETH_MACA0HR)"]
    pub maca0hr: MACA0HR,
    #[doc = "0x44 - Ethernet MAC address 0 low register"]
    pub maca0lr: MACA0LR,
    #[doc = "0x48 - Ethernet MAC address 1 high register (ETH_MACA1HR)"]
    pub maca1hr: MACA1HR,
    #[doc = "0x4c - Ethernet MAC address1 low register"]
    pub maca1lr: MACA1LR,
    #[doc = "0x50 - Ethernet MAC address 2 high register (ETH_MACA2HR)"]
    pub maca2hr: MACA2HR,
    #[doc = "0x54 - Ethernet MAC address 2 low register"]
    pub maca2lr: MACA2LR,
    #[doc = "0x58 - Ethernet MAC address 3 high register (ETH_MACA3HR)"]
    pub maca3hr: MACA3HR,
    #[doc = "0x5c - Ethernet MAC address 3 low register"]
    pub maca3lr: MACA3LR,
}
#[doc = "Ethernet MAC configuration register (ETH_MACCR)\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 available fields see [maccr](maccr) module"]
pub type MACCR = crate::Reg<u32, _MACCR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACCR;
#[doc = "`read()` method returns [maccr::R](maccr::R) reader structure"]
impl crate::Readable for MACCR {}
#[doc = "`write(|w| ..)` method takes [maccr::W](maccr::W) writer structure"]
impl crate::Writable for MACCR {}
#[doc = "Ethernet MAC configuration register (ETH_MACCR)"]
pub mod maccr;
#[doc = "Ethernet MAC frame filter register (ETH_MACCFFR)\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 available fields see [macffr](macffr) module"]
pub type MACFFR = crate::Reg<u32, _MACFFR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACFFR;
#[doc = "`read()` method returns [macffr::R](macffr::R) reader structure"]
impl crate::Readable for MACFFR {}
#[doc = "`write(|w| ..)` method takes [macffr::W](macffr::W) writer structure"]
impl crate::Writable for MACFFR {}
#[doc = "Ethernet MAC frame filter register (ETH_MACCFFR)"]
pub mod macffr;
#[doc = "Ethernet MAC hash table high 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 available fields see [machthr](machthr) module"]
pub type MACHTHR = crate::Reg<u32, _MACHTHR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACHTHR;
#[doc = "`read()` method returns [machthr::R](machthr::R) reader structure"]
impl crate::Readable for MACHTHR {}
#[doc = "`write(|w| ..)` method takes [machthr::W](machthr::W) writer structure"]
impl crate::Writable for MACHTHR {}
#[doc = "Ethernet MAC hash table high register"]
pub mod machthr;
#[doc = "Ethernet MAC hash table low 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 available fields see [machtlr](machtlr) module"]
pub type MACHTLR = crate::Reg<u32, _MACHTLR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACHTLR;
#[doc = "`read()` method returns [machtlr::R](machtlr::R) reader structure"]
impl crate::Readable for MACHTLR {}
#[doc = "`write(|w| ..)` method takes [machtlr::W](machtlr::W) writer structure"]
impl crate::Writable for MACHTLR {}
#[doc = "Ethernet MAC hash table low register"]
pub mod machtlr;
#[doc = "Ethernet MAC MII address register (ETH_MACMIIAR)\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 available fields see [macmiiar](macmiiar) module"]
pub type MACMIIAR = crate::Reg<u32, _MACMIIAR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACMIIAR;
#[doc = "`read()` method returns [macmiiar::R](macmiiar::R) reader structure"]
impl crate::Readable for MACMIIAR {}
#[doc = "`write(|w| ..)` method takes [macmiiar::W](macmiiar::W) writer structure"]
impl crate::Writable for MACMIIAR {}
#[doc = "Ethernet MAC MII address register (ETH_MACMIIAR)"]
pub mod macmiiar;
#[doc = "Ethernet MAC MII data register (ETH_MACMIIDR)\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 available fields see [macmiidr](macmiidr) module"]
pub type MACMIIDR = crate::Reg<u32, _MACMIIDR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACMIIDR;
#[doc = "`read()` method returns [macmiidr::R](macmiidr::R) reader structure"]
impl crate::Readable for MACMIIDR {}
#[doc = "`write(|w| ..)` method takes [macmiidr::W](macmiidr::W) writer structure"]
impl crate::Writable for MACMIIDR {}
#[doc = "Ethernet MAC MII data register (ETH_MACMIIDR)"]
pub mod macmiidr;
#[doc = "Ethernet MAC flow control register (ETH_MACFCR)\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 available fields see [macfcr](macfcr) module"]
pub type MACFCR = crate::Reg<u32, _MACFCR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACFCR;
#[doc = "`read()` method returns [macfcr::R](macfcr::R) reader structure"]
impl crate::Readable for MACFCR {}
#[doc = "`write(|w| ..)` method takes [macfcr::W](macfcr::W) writer structure"]
impl crate::Writable for MACFCR {}
#[doc = "Ethernet MAC flow control register (ETH_MACFCR)"]
pub mod macfcr;
#[doc = "Ethernet MAC VLAN tag register (ETH_MACVLANTR)\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 available fields see [macvlantr](macvlantr) module"]
pub type MACVLANTR = crate::Reg<u32, _MACVLANTR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACVLANTR;
#[doc = "`read()` method returns [macvlantr::R](macvlantr::R) reader structure"]
impl crate::Readable for MACVLANTR {}
#[doc = "`write(|w| ..)` method takes [macvlantr::W](macvlantr::W) writer structure"]
impl crate::Writable for MACVLANTR {}
#[doc = "Ethernet MAC VLAN tag register (ETH_MACVLANTR)"]
pub mod macvlantr;
#[doc = "Ethernet MAC remote wakeup frame filter register (ETH_MACRWUFFR)\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 available fields see [macrwuffr](macrwuffr) module"]
pub type MACRWUFFR = crate::Reg<u32, _MACRWUFFR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACRWUFFR;
#[doc = "`read()` method returns [macrwuffr::R](macrwuffr::R) reader structure"]
impl crate::Readable for MACRWUFFR {}
#[doc = "`write(|w| ..)` method takes [macrwuffr::W](macrwuffr::W) writer structure"]
impl crate::Writable for MACRWUFFR {}
#[doc = "Ethernet MAC remote wakeup frame filter register (ETH_MACRWUFFR)"]
pub mod macrwuffr;
#[doc = "Ethernet MAC PMT control and status register (ETH_MACPMTCSR)\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 available fields see [macpmtcsr](macpmtcsr) module"]
pub type MACPMTCSR = crate::Reg<u32, _MACPMTCSR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACPMTCSR;
#[doc = "`read()` method returns [macpmtcsr::R](macpmtcsr::R) reader structure"]
impl crate::Readable for MACPMTCSR {}
#[doc = "`write(|w| ..)` method takes [macpmtcsr::W](macpmtcsr::W) writer structure"]
impl crate::Writable for MACPMTCSR {}
#[doc = "Ethernet MAC PMT control and status register (ETH_MACPMTCSR)"]
pub mod macpmtcsr;
#[doc = "Ethernet MAC interrupt status register (ETH_MACSR)\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 available fields see [macsr](macsr) module"]
pub type MACSR = crate::Reg<u32, _MACSR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACSR;
#[doc = "`read()` method returns [macsr::R](macsr::R) reader structure"]
impl crate::Readable for MACSR {}
#[doc = "`write(|w| ..)` method takes [macsr::W](macsr::W) writer structure"]
impl crate::Writable for MACSR {}
#[doc = "Ethernet MAC interrupt status register (ETH_MACSR)"]
pub mod macsr;
#[doc = "Ethernet MAC interrupt mask register (ETH_MACIMR)\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 available fields see [macimr](macimr) module"]
pub type MACIMR = crate::Reg<u32, _MACIMR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACIMR;
#[doc = "`read()` method returns [macimr::R](macimr::R) reader structure"]
impl crate::Readable for MACIMR {}
#[doc = "`write(|w| ..)` method takes [macimr::W](macimr::W) writer structure"]
impl crate::Writable for MACIMR {}
#[doc = "Ethernet MAC interrupt mask register (ETH_MACIMR)"]
pub mod macimr;
#[doc = "Ethernet MAC address 0 high register (ETH_MACA0HR)\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 available fields see [maca0hr](maca0hr) module"]
pub type MACA0HR = crate::Reg<u32, _MACA0HR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACA0HR;
#[doc = "`read()` method returns [maca0hr::R](maca0hr::R) reader structure"]
impl crate::Readable for MACA0HR {}
#[doc = "`write(|w| ..)` method takes [maca0hr::W](maca0hr::W) writer structure"]
impl crate::Writable for MACA0HR {}
#[doc = "Ethernet MAC address 0 high register (ETH_MACA0HR)"]
pub mod maca0hr;
#[doc = "Ethernet MAC address 0 low 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 available fields see [maca0lr](maca0lr) module"]
pub type MACA0LR = crate::Reg<u32, _MACA0LR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACA0LR;
#[doc = "`read()` method returns [maca0lr::R](maca0lr::R) reader structure"]
impl crate::Readable for MACA0LR {}
#[doc = "`write(|w| ..)` method takes [maca0lr::W](maca0lr::W) writer structure"]
impl crate::Writable for MACA0LR {}
#[doc = "Ethernet MAC address 0 low register"]
pub mod maca0lr;
#[doc = "Ethernet MAC address 1 high register (ETH_MACA1HR)\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 available fields see [maca1hr](maca1hr) module"]
pub type MACA1HR = crate::Reg<u32, _MACA1HR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACA1HR;
#[doc = "`read()` method returns [maca1hr::R](maca1hr::R) reader structure"]
impl crate::Readable for MACA1HR {}
#[doc = "`write(|w| ..)` method takes [maca1hr::W](maca1hr::W) writer structure"]
impl crate::Writable for MACA1HR {}
#[doc = "Ethernet MAC address 1 high register (ETH_MACA1HR)"]
pub mod maca1hr;
#[doc = "Ethernet MAC address1 low 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 available fields see [maca1lr](maca1lr) module"]
pub type MACA1LR = crate::Reg<u32, _MACA1LR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACA1LR;
#[doc = "`read()` method returns [maca1lr::R](maca1lr::R) reader structure"]
impl crate::Readable for MACA1LR {}
#[doc = "`write(|w| ..)` method takes [maca1lr::W](maca1lr::W) writer structure"]
impl crate::Writable for MACA1LR {}
#[doc = "Ethernet MAC address1 low register"]
pub mod maca1lr;
#[doc = "Ethernet MAC address 2 high register (ETH_MACA2HR)\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 available fields see [maca2hr](maca2hr) module"]
pub type MACA2HR = crate::Reg<u32, _MACA2HR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACA2HR;
#[doc = "`read()` method returns [maca2hr::R](maca2hr::R) reader structure"]
impl crate::Readable for MACA2HR {}
#[doc = "`write(|w| ..)` method takes [maca2hr::W](maca2hr::W) writer structure"]
impl crate::Writable for MACA2HR {}
#[doc = "Ethernet MAC address 2 high register (ETH_MACA2HR)"]
pub mod maca2hr;
#[doc = "Ethernet MAC address 2 low 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 available fields see [maca2lr](maca2lr) module"]
pub type MACA2LR = crate::Reg<u32, _MACA2LR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACA2LR;
#[doc = "`read()` method returns [maca2lr::R](maca2lr::R) reader structure"]
impl crate::Readable for MACA2LR {}
#[doc = "`write(|w| ..)` method takes [maca2lr::W](maca2lr::W) writer structure"]
impl crate::Writable for MACA2LR {}
#[doc = "Ethernet MAC address 2 low register"]
pub mod maca2lr;
#[doc = "Ethernet MAC address 3 high register (ETH_MACA3HR)\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 available fields see [maca3hr](maca3hr) module"]
pub type MACA3HR = crate::Reg<u32, _MACA3HR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACA3HR;
#[doc = "`read()` method returns [maca3hr::R](maca3hr::R) reader structure"]
impl crate::Readable for MACA3HR {}
#[doc = "`write(|w| ..)` method takes [maca3hr::W](maca3hr::W) writer structure"]
impl crate::Writable for MACA3HR {}
#[doc = "Ethernet MAC address 3 high register (ETH_MACA3HR)"]
pub mod maca3hr;
#[doc = "Ethernet MAC address 3 low 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 available fields see [maca3lr](maca3lr) module"]
pub type MACA3LR = crate::Reg<u32, _MACA3LR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _MACA3LR;
#[doc = "`read()` method returns [maca3lr::R](maca3lr::R) reader structure"]
impl crate::Readable for MACA3LR {}
#[doc = "`write(|w| ..)` method takes [maca3lr::W](maca3lr::W) writer structure"]
impl crate::Writable for MACA3LR {}
#[doc = "Ethernet MAC address 3 low register"]
pub mod maca3lr;