#[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;