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
#[doc = r"Register block"]
#[repr(C)]
pub struct RegisterBlock {
    #[doc = "0x00 - In the master mode, it is the start bit of a single operation. Self-clear by hardware"]
    pub spi_cmd: SPI_CMD,
    #[doc = "0x04 - In the master mode, it is the value of address in \"address\" phase."]
    pub spi_addr: SPI_ADDR,
    #[doc = "0x08 - SPI_CTRL"]
    pub spi_ctrl: SPI_CTRL,
    _reserved3: [u8; 4usize],
    #[doc = "0x10 - In the slave mode, this register are the status register for the master to read out."]
    pub spi_rd_status: SPI_RD_STATUS,
    #[doc = "0x14 - spi_cs signal is delayed by 80MHz clock cycles"]
    pub spi_ctrl2: SPI_CTRL2,
    #[doc = "0x18 - In the master mode, 1: spi_clk is eqaul to 80MHz, 0: spi_clk is divided from 80 MHz clock."]
    pub spi_clock: SPI_CLOCK,
    #[doc = "0x1c - This bit enable the \"command\" phase of an operation."]
    pub spi_user: SPI_USER,
    #[doc = "0x20 - The length in bits of \"address\" phase. The register value shall be (bit_num-1)"]
    pub spi_user1: SPI_USER1,
    #[doc = "0x24 - The length in bits of \"command\" phase. The register value shall be (bit_num-1)"]
    pub spi_user2: SPI_USER2,
    #[doc = "0x28 - In the slave mode, this register are the status register for the master to write into."]
    pub spi_wr_status: SPI_WR_STATUS,
    #[doc = "0x2c - 1: disable CS2; 0: spi_cs signal is from/to CS2 pin"]
    pub spi_pin: SPI_PIN,
    #[doc = "0x30 - It is the synchronous reset signal of the module. This bit is self-cleared by hardware."]
    pub spi_slave: SPI_SLAVE,
    #[doc = "0x34 - In the slave mode, it is the length in bits for \"write-status\" and \"read-status\" operations. The register valueshall be (bit_num-1)"]
    pub spi_slave1: SPI_SLAVE1,
    #[doc = "0x38 - In the slave mode, it is the length in spi_clk cycles \"dummy\" phase for \"write-buffer\" operations. The registervalue shall be (cycle_num-1)"]
    pub spi_slave2: SPI_SLAVE2,
    #[doc = "0x3c - In slave mode, it is the value of \"write-status\" command"]
    pub spi_slave3: SPI_SLAVE3,
    #[doc = "0x40 - the data inside the buffer of the SPI module, byte 0"]
    pub spi_w0: SPI_W0,
    _reserved16: [u8; 28usize],
    #[doc = "0x60 - the data inside the buffer of the SPI module, byte 1"]
    pub spi_w1: SPI_W1,
    _reserved17: [u8; 28usize],
    #[doc = "0x80 - the data inside the buffer of the SPI module, byte 2"]
    pub spi_w2: SPI_W2,
    _reserved18: [u8; 28usize],
    #[doc = "0xa0 - the data inside the buffer of the SPI module, byte 3"]
    pub spi_w3: SPI_W3,
    _reserved19: [u8; 28usize],
    #[doc = "0xc0 - the data inside the buffer of the SPI module, byte 4"]
    pub spi_w4: SPI_W4,
    _reserved20: [u8; 28usize],
    #[doc = "0xe0 - the data inside the buffer of the SPI module, byte 5"]
    pub spi_w5: SPI_W5,
    _reserved21: [u8; 28usize],
    #[doc = "0x100 - the data inside the buffer of the SPI module, byte 6"]
    pub spi_w6: SPI_W6,
    _reserved22: [u8; 28usize],
    #[doc = "0x120 - the data inside the buffer of the SPI module, byte 7"]
    pub spi_w7: SPI_W7,
    _reserved23: [u8; 28usize],
    #[doc = "0x140 - the data inside the buffer of the SPI module, byte 8"]
    pub spi_w8: SPI_W8,
    _reserved24: [u8; 28usize],
    #[doc = "0x160 - the data inside the buffer of the SPI module, byte 9"]
    pub spi_w9: SPI_W9,
    _reserved25: [u8; 28usize],
    #[doc = "0x180 - the data inside the buffer of the SPI module, byte 10"]
    pub spi_w10: SPI_W10,
    _reserved26: [u8; 28usize],
    #[doc = "0x1a0 - the data inside the buffer of the SPI module, byte 11"]
    pub spi_w11: SPI_W11,
    _reserved27: [u8; 28usize],
    #[doc = "0x1c0 - the data inside the buffer of the SPI module, byte 12"]
    pub spi_w12: SPI_W12,
    _reserved28: [u8; 28usize],
    #[doc = "0x1e0 - the data inside the buffer of the SPI module, byte 13"]
    pub spi_w13: SPI_W13,
    _reserved29: [u8; 28usize],
    #[doc = "0x200 - the data inside the buffer of the SPI module, byte 14"]
    pub spi_w14: SPI_W14,
    _reserved30: [u8; 28usize],
    #[doc = "0x220 - the data inside the buffer of the SPI module, byte 15"]
    pub spi_w15: SPI_W15,
}
#[doc = "In the master mode, it is the start bit of a single operation. Self-clear by hardware\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 [spi_cmd](spi_cmd) module"]
pub type SPI_CMD = crate::Reg<u32, _SPI_CMD>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_CMD;
#[doc = "`read()` method returns [spi_cmd::R](spi_cmd::R) reader structure"]
impl crate::Readable for SPI_CMD {}
#[doc = "`write(|w| ..)` method takes [spi_cmd::W](spi_cmd::W) writer structure"]
impl crate::Writable for SPI_CMD {}
#[doc = "In the master mode, it is the start bit of a single operation. Self-clear by hardware"]
pub mod spi_cmd;
#[doc = "In the master mode, it is the value of address in \"address\" phase.\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 [spi_addr](spi_addr) module"]
pub type SPI_ADDR = crate::Reg<u32, _SPI_ADDR>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_ADDR;
#[doc = "`read()` method returns [spi_addr::R](spi_addr::R) reader structure"]
impl crate::Readable for SPI_ADDR {}
#[doc = "`write(|w| ..)` method takes [spi_addr::W](spi_addr::W) writer structure"]
impl crate::Writable for SPI_ADDR {}
#[doc = "In the master mode, it is the value of address in \"address\" phase."]
pub mod spi_addr;
#[doc = "SPI_CTRL\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 [spi_ctrl](spi_ctrl) module"]
pub type SPI_CTRL = crate::Reg<u32, _SPI_CTRL>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_CTRL;
#[doc = "`read()` method returns [spi_ctrl::R](spi_ctrl::R) reader structure"]
impl crate::Readable for SPI_CTRL {}
#[doc = "`write(|w| ..)` method takes [spi_ctrl::W](spi_ctrl::W) writer structure"]
impl crate::Writable for SPI_CTRL {}
#[doc = "SPI_CTRL"]
pub mod spi_ctrl;
#[doc = "In the slave mode, this register are the status register for the master to read out.\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 [spi_rd_status](spi_rd_status) module"]
pub type SPI_RD_STATUS = crate::Reg<u32, _SPI_RD_STATUS>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_RD_STATUS;
#[doc = "`read()` method returns [spi_rd_status::R](spi_rd_status::R) reader structure"]
impl crate::Readable for SPI_RD_STATUS {}
#[doc = "`write(|w| ..)` method takes [spi_rd_status::W](spi_rd_status::W) writer structure"]
impl crate::Writable for SPI_RD_STATUS {}
#[doc = "In the slave mode, this register are the status register for the master to read out."]
pub mod spi_rd_status;
#[doc = "spi_cs signal is delayed by 80MHz clock cycles\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 [spi_ctrl2](spi_ctrl2) module"]
pub type SPI_CTRL2 = crate::Reg<u32, _SPI_CTRL2>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_CTRL2;
#[doc = "`read()` method returns [spi_ctrl2::R](spi_ctrl2::R) reader structure"]
impl crate::Readable for SPI_CTRL2 {}
#[doc = "`write(|w| ..)` method takes [spi_ctrl2::W](spi_ctrl2::W) writer structure"]
impl crate::Writable for SPI_CTRL2 {}
#[doc = "spi_cs signal is delayed by 80MHz clock cycles"]
pub mod spi_ctrl2;
#[doc = "In the master mode, 1: spi_clk is eqaul to 80MHz, 0: spi_clk is divided from 80 MHz clock.\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 [spi_clock](spi_clock) module"]
pub type SPI_CLOCK = crate::Reg<u32, _SPI_CLOCK>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_CLOCK;
#[doc = "`read()` method returns [spi_clock::R](spi_clock::R) reader structure"]
impl crate::Readable for SPI_CLOCK {}
#[doc = "`write(|w| ..)` method takes [spi_clock::W](spi_clock::W) writer structure"]
impl crate::Writable for SPI_CLOCK {}
#[doc = "In the master mode, 1: spi_clk is eqaul to 80MHz, 0: spi_clk is divided from 80 MHz clock."]
pub mod spi_clock;
#[doc = "This bit enable the \"command\" phase of an operation.\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 [spi_user](spi_user) module"]
pub type SPI_USER = crate::Reg<u32, _SPI_USER>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_USER;
#[doc = "`read()` method returns [spi_user::R](spi_user::R) reader structure"]
impl crate::Readable for SPI_USER {}
#[doc = "`write(|w| ..)` method takes [spi_user::W](spi_user::W) writer structure"]
impl crate::Writable for SPI_USER {}
#[doc = "This bit enable the \"command\" phase of an operation."]
pub mod spi_user;
#[doc = "The length in bits of \"address\" phase. The register value shall be (bit_num-1)\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 [spi_user1](spi_user1) module"]
pub type SPI_USER1 = crate::Reg<u32, _SPI_USER1>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_USER1;
#[doc = "`read()` method returns [spi_user1::R](spi_user1::R) reader structure"]
impl crate::Readable for SPI_USER1 {}
#[doc = "`write(|w| ..)` method takes [spi_user1::W](spi_user1::W) writer structure"]
impl crate::Writable for SPI_USER1 {}
#[doc = "The length in bits of \"address\" phase. The register value shall be (bit_num-1)"]
pub mod spi_user1;
#[doc = "The length in bits of \"command\" phase. The register value shall be (bit_num-1)\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 [spi_user2](spi_user2) module"]
pub type SPI_USER2 = crate::Reg<u32, _SPI_USER2>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_USER2;
#[doc = "`read()` method returns [spi_user2::R](spi_user2::R) reader structure"]
impl crate::Readable for SPI_USER2 {}
#[doc = "`write(|w| ..)` method takes [spi_user2::W](spi_user2::W) writer structure"]
impl crate::Writable for SPI_USER2 {}
#[doc = "The length in bits of \"command\" phase. The register value shall be (bit_num-1)"]
pub mod spi_user2;
#[doc = "In the slave mode, this register are the status register for the master to write into.\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 [spi_wr_status](spi_wr_status) module"]
pub type SPI_WR_STATUS = crate::Reg<u32, _SPI_WR_STATUS>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_WR_STATUS;
#[doc = "`read()` method returns [spi_wr_status::R](spi_wr_status::R) reader structure"]
impl crate::Readable for SPI_WR_STATUS {}
#[doc = "`write(|w| ..)` method takes [spi_wr_status::W](spi_wr_status::W) writer structure"]
impl crate::Writable for SPI_WR_STATUS {}
#[doc = "In the slave mode, this register are the status register for the master to write into."]
pub mod spi_wr_status;
#[doc = "1: disable CS2; 0: spi_cs signal is from/to CS2 pin\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 [spi_pin](spi_pin) module"]
pub type SPI_PIN = crate::Reg<u32, _SPI_PIN>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_PIN;
#[doc = "`read()` method returns [spi_pin::R](spi_pin::R) reader structure"]
impl crate::Readable for SPI_PIN {}
#[doc = "`write(|w| ..)` method takes [spi_pin::W](spi_pin::W) writer structure"]
impl crate::Writable for SPI_PIN {}
#[doc = "1: disable CS2; 0: spi_cs signal is from/to CS2 pin"]
pub mod spi_pin;
#[doc = "It is the synchronous reset signal of the module. This bit is self-cleared by hardware.\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 [spi_slave](spi_slave) module"]
pub type SPI_SLAVE = crate::Reg<u32, _SPI_SLAVE>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_SLAVE;
#[doc = "`read()` method returns [spi_slave::R](spi_slave::R) reader structure"]
impl crate::Readable for SPI_SLAVE {}
#[doc = "`write(|w| ..)` method takes [spi_slave::W](spi_slave::W) writer structure"]
impl crate::Writable for SPI_SLAVE {}
#[doc = "It is the synchronous reset signal of the module. This bit is self-cleared by hardware."]
pub mod spi_slave;
#[doc = "In the slave mode, it is the length in bits for \"write-status\" and \"read-status\" operations. The register valueshall be (bit_num-1)\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 [spi_slave1](spi_slave1) module"]
pub type SPI_SLAVE1 = crate::Reg<u32, _SPI_SLAVE1>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_SLAVE1;
#[doc = "`read()` method returns [spi_slave1::R](spi_slave1::R) reader structure"]
impl crate::Readable for SPI_SLAVE1 {}
#[doc = "`write(|w| ..)` method takes [spi_slave1::W](spi_slave1::W) writer structure"]
impl crate::Writable for SPI_SLAVE1 {}
#[doc = "In the slave mode, it is the length in bits for \"write-status\" and \"read-status\" operations. The register valueshall be (bit_num-1)"]
pub mod spi_slave1;
#[doc = "In the slave mode, it is the length in spi_clk cycles \"dummy\" phase for \"write-buffer\" operations. The registervalue shall be (cycle_num-1)\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 [spi_slave2](spi_slave2) module"]
pub type SPI_SLAVE2 = crate::Reg<u32, _SPI_SLAVE2>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_SLAVE2;
#[doc = "`read()` method returns [spi_slave2::R](spi_slave2::R) reader structure"]
impl crate::Readable for SPI_SLAVE2 {}
#[doc = "`write(|w| ..)` method takes [spi_slave2::W](spi_slave2::W) writer structure"]
impl crate::Writable for SPI_SLAVE2 {}
#[doc = "In the slave mode, it is the length in spi_clk cycles \"dummy\" phase for \"write-buffer\" operations. The registervalue shall be (cycle_num-1)"]
pub mod spi_slave2;
#[doc = "In slave mode, it is the value of \"write-status\" command\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 [spi_slave3](spi_slave3) module"]
pub type SPI_SLAVE3 = crate::Reg<u32, _SPI_SLAVE3>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_SLAVE3;
#[doc = "`read()` method returns [spi_slave3::R](spi_slave3::R) reader structure"]
impl crate::Readable for SPI_SLAVE3 {}
#[doc = "`write(|w| ..)` method takes [spi_slave3::W](spi_slave3::W) writer structure"]
impl crate::Writable for SPI_SLAVE3 {}
#[doc = "In slave mode, it is the value of \"write-status\" command"]
pub mod spi_slave3;
#[doc = "the data inside the buffer of the SPI module, byte 0\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 [spi_w0](spi_w0) module"]
pub type SPI_W0 = crate::Reg<u32, _SPI_W0>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W0;
#[doc = "`read()` method returns [spi_w0::R](spi_w0::R) reader structure"]
impl crate::Readable for SPI_W0 {}
#[doc = "`write(|w| ..)` method takes [spi_w0::W](spi_w0::W) writer structure"]
impl crate::Writable for SPI_W0 {}
#[doc = "the data inside the buffer of the SPI module, byte 0"]
pub mod spi_w0;
#[doc = "the data inside the buffer of the SPI module, byte 1\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 [spi_w1](spi_w1) module"]
pub type SPI_W1 = crate::Reg<u32, _SPI_W1>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W1;
#[doc = "`read()` method returns [spi_w1::R](spi_w1::R) reader structure"]
impl crate::Readable for SPI_W1 {}
#[doc = "`write(|w| ..)` method takes [spi_w1::W](spi_w1::W) writer structure"]
impl crate::Writable for SPI_W1 {}
#[doc = "the data inside the buffer of the SPI module, byte 1"]
pub mod spi_w1;
#[doc = "the data inside the buffer of the SPI module, byte 2\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 [spi_w2](spi_w2) module"]
pub type SPI_W2 = crate::Reg<u32, _SPI_W2>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W2;
#[doc = "`read()` method returns [spi_w2::R](spi_w2::R) reader structure"]
impl crate::Readable for SPI_W2 {}
#[doc = "`write(|w| ..)` method takes [spi_w2::W](spi_w2::W) writer structure"]
impl crate::Writable for SPI_W2 {}
#[doc = "the data inside the buffer of the SPI module, byte 2"]
pub mod spi_w2;
#[doc = "the data inside the buffer of the SPI module, byte 3\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 [spi_w3](spi_w3) module"]
pub type SPI_W3 = crate::Reg<u32, _SPI_W3>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W3;
#[doc = "`read()` method returns [spi_w3::R](spi_w3::R) reader structure"]
impl crate::Readable for SPI_W3 {}
#[doc = "`write(|w| ..)` method takes [spi_w3::W](spi_w3::W) writer structure"]
impl crate::Writable for SPI_W3 {}
#[doc = "the data inside the buffer of the SPI module, byte 3"]
pub mod spi_w3;
#[doc = "the data inside the buffer of the SPI module, byte 4\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 [spi_w4](spi_w4) module"]
pub type SPI_W4 = crate::Reg<u32, _SPI_W4>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W4;
#[doc = "`read()` method returns [spi_w4::R](spi_w4::R) reader structure"]
impl crate::Readable for SPI_W4 {}
#[doc = "`write(|w| ..)` method takes [spi_w4::W](spi_w4::W) writer structure"]
impl crate::Writable for SPI_W4 {}
#[doc = "the data inside the buffer of the SPI module, byte 4"]
pub mod spi_w4;
#[doc = "the data inside the buffer of the SPI module, byte 5\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 [spi_w5](spi_w5) module"]
pub type SPI_W5 = crate::Reg<u32, _SPI_W5>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W5;
#[doc = "`read()` method returns [spi_w5::R](spi_w5::R) reader structure"]
impl crate::Readable for SPI_W5 {}
#[doc = "`write(|w| ..)` method takes [spi_w5::W](spi_w5::W) writer structure"]
impl crate::Writable for SPI_W5 {}
#[doc = "the data inside the buffer of the SPI module, byte 5"]
pub mod spi_w5;
#[doc = "the data inside the buffer of the SPI module, byte 6\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 [spi_w6](spi_w6) module"]
pub type SPI_W6 = crate::Reg<u32, _SPI_W6>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W6;
#[doc = "`read()` method returns [spi_w6::R](spi_w6::R) reader structure"]
impl crate::Readable for SPI_W6 {}
#[doc = "`write(|w| ..)` method takes [spi_w6::W](spi_w6::W) writer structure"]
impl crate::Writable for SPI_W6 {}
#[doc = "the data inside the buffer of the SPI module, byte 6"]
pub mod spi_w6;
#[doc = "the data inside the buffer of the SPI module, byte 7\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 [spi_w7](spi_w7) module"]
pub type SPI_W7 = crate::Reg<u32, _SPI_W7>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W7;
#[doc = "`read()` method returns [spi_w7::R](spi_w7::R) reader structure"]
impl crate::Readable for SPI_W7 {}
#[doc = "`write(|w| ..)` method takes [spi_w7::W](spi_w7::W) writer structure"]
impl crate::Writable for SPI_W7 {}
#[doc = "the data inside the buffer of the SPI module, byte 7"]
pub mod spi_w7;
#[doc = "the data inside the buffer of the SPI module, byte 8\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 [spi_w8](spi_w8) module"]
pub type SPI_W8 = crate::Reg<u32, _SPI_W8>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W8;
#[doc = "`read()` method returns [spi_w8::R](spi_w8::R) reader structure"]
impl crate::Readable for SPI_W8 {}
#[doc = "`write(|w| ..)` method takes [spi_w8::W](spi_w8::W) writer structure"]
impl crate::Writable for SPI_W8 {}
#[doc = "the data inside the buffer of the SPI module, byte 8"]
pub mod spi_w8;
#[doc = "the data inside the buffer of the SPI module, byte 9\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 [spi_w9](spi_w9) module"]
pub type SPI_W9 = crate::Reg<u32, _SPI_W9>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W9;
#[doc = "`read()` method returns [spi_w9::R](spi_w9::R) reader structure"]
impl crate::Readable for SPI_W9 {}
#[doc = "`write(|w| ..)` method takes [spi_w9::W](spi_w9::W) writer structure"]
impl crate::Writable for SPI_W9 {}
#[doc = "the data inside the buffer of the SPI module, byte 9"]
pub mod spi_w9;
#[doc = "the data inside the buffer of the SPI module, byte 10\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 [spi_w10](spi_w10) module"]
pub type SPI_W10 = crate::Reg<u32, _SPI_W10>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W10;
#[doc = "`read()` method returns [spi_w10::R](spi_w10::R) reader structure"]
impl crate::Readable for SPI_W10 {}
#[doc = "`write(|w| ..)` method takes [spi_w10::W](spi_w10::W) writer structure"]
impl crate::Writable for SPI_W10 {}
#[doc = "the data inside the buffer of the SPI module, byte 10"]
pub mod spi_w10;
#[doc = "the data inside the buffer of the SPI module, byte 11\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 [spi_w11](spi_w11) module"]
pub type SPI_W11 = crate::Reg<u32, _SPI_W11>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W11;
#[doc = "`read()` method returns [spi_w11::R](spi_w11::R) reader structure"]
impl crate::Readable for SPI_W11 {}
#[doc = "`write(|w| ..)` method takes [spi_w11::W](spi_w11::W) writer structure"]
impl crate::Writable for SPI_W11 {}
#[doc = "the data inside the buffer of the SPI module, byte 11"]
pub mod spi_w11;
#[doc = "the data inside the buffer of the SPI module, byte 12\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 [spi_w12](spi_w12) module"]
pub type SPI_W12 = crate::Reg<u32, _SPI_W12>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W12;
#[doc = "`read()` method returns [spi_w12::R](spi_w12::R) reader structure"]
impl crate::Readable for SPI_W12 {}
#[doc = "`write(|w| ..)` method takes [spi_w12::W](spi_w12::W) writer structure"]
impl crate::Writable for SPI_W12 {}
#[doc = "the data inside the buffer of the SPI module, byte 12"]
pub mod spi_w12;
#[doc = "the data inside the buffer of the SPI module, byte 13\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 [spi_w13](spi_w13) module"]
pub type SPI_W13 = crate::Reg<u32, _SPI_W13>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W13;
#[doc = "`read()` method returns [spi_w13::R](spi_w13::R) reader structure"]
impl crate::Readable for SPI_W13 {}
#[doc = "`write(|w| ..)` method takes [spi_w13::W](spi_w13::W) writer structure"]
impl crate::Writable for SPI_W13 {}
#[doc = "the data inside the buffer of the SPI module, byte 13"]
pub mod spi_w13;
#[doc = "the data inside the buffer of the SPI module, byte 14\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 [spi_w14](spi_w14) module"]
pub type SPI_W14 = crate::Reg<u32, _SPI_W14>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W14;
#[doc = "`read()` method returns [spi_w14::R](spi_w14::R) reader structure"]
impl crate::Readable for SPI_W14 {}
#[doc = "`write(|w| ..)` method takes [spi_w14::W](spi_w14::W) writer structure"]
impl crate::Writable for SPI_W14 {}
#[doc = "the data inside the buffer of the SPI module, byte 14"]
pub mod spi_w14;
#[doc = "the data inside the buffer of the SPI module, byte 15\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 [spi_w15](spi_w15) module"]
pub type SPI_W15 = crate::Reg<u32, _SPI_W15>;
#[allow(missing_docs)]
#[doc(hidden)]
pub struct _SPI_W15;
#[doc = "`read()` method returns [spi_w15::R](spi_w15::R) reader structure"]
impl crate::Readable for SPI_W15 {}
#[doc = "`write(|w| ..)` method takes [spi_w15::W](spi_w15::W) writer structure"]
impl crate::Writable for SPI_W15 {}
#[doc = "the data inside the buffer of the SPI module, byte 15"]
pub mod spi_w15;