pub struct R(/* private fields */);Expand description
Register SPI_USER reader
Implementations§
Source§impl R
impl R
Sourcepub fn spi_usr_command(&self) -> SPI_USR_COMMAND_R
pub fn spi_usr_command(&self) -> SPI_USR_COMMAND_R
Bit 31 - This bit enable the “command” phase of an operation.
Sourcepub fn spi_usr_addr(&self) -> SPI_USR_ADDR_R
pub fn spi_usr_addr(&self) -> SPI_USR_ADDR_R
Bit 30 - This bit enable the “address” phase of an operation.
Sourcepub fn spi_usr_dummy(&self) -> SPI_USR_DUMMY_R
pub fn spi_usr_dummy(&self) -> SPI_USR_DUMMY_R
Bit 29 - This bit enable the “dummy” phase of an operation.
Sourcepub fn spi_usr_miso(&self) -> SPI_USR_MISO_R
pub fn spi_usr_miso(&self) -> SPI_USR_MISO_R
Bit 28 - This bit enable the “read-data” phase of an operation.
Sourcepub fn spi_usr_mosi(&self) -> SPI_USR_MOSI_R
pub fn spi_usr_mosi(&self) -> SPI_USR_MOSI_R
Bit 27 - This bit enable the “write-data” phase of an operation.
Sourcepub fn reg_usr_mosi_highpart(&self) -> REG_USR_MOSI_HIGHPART_R
pub fn reg_usr_mosi_highpart(&self) -> REG_USR_MOSI_HIGHPART_R
Bit 25 - 1: “write-data” phase only access to high-part of the buffer spi_w8~spi_w15
Sourcepub fn reg_usr_miso_highpart(&self) -> REG_USR_MISO_HIGHPART_R
pub fn reg_usr_miso_highpart(&self) -> REG_USR_MISO_HIGHPART_R
Bit 24 - 1: “read-data” phase only access to high-part of the buffer spi_w8~spi_w15
Sourcepub fn spi_fwrite_qio(&self) -> SPI_FWRITE_QIO_R
pub fn spi_fwrite_qio(&self) -> SPI_FWRITE_QIO_R
Bit 15 - In the write operations, “address” phase and “read-data” phase apply 4 signals
Sourcepub fn spi_fwrite_dio(&self) -> SPI_FWRITE_DIO_R
pub fn spi_fwrite_dio(&self) -> SPI_FWRITE_DIO_R
Bit 14 - In the write operations, “address” phase and “read-data” phase apply 2 signals
Sourcepub fn spi_fwrite_quad(&self) -> SPI_FWRITE_QUAD_R
pub fn spi_fwrite_quad(&self) -> SPI_FWRITE_QUAD_R
Bit 13 - In the write operations, “read-data” phase apply 4 signals
Sourcepub fn spi_fwrite_dual(&self) -> SPI_FWRITE_DUAL_R
pub fn spi_fwrite_dual(&self) -> SPI_FWRITE_DUAL_R
Bit 12 - In the write operations, “read-data” phase apply 2 signals
Sourcepub fn spi_wr_byte_order(&self) -> SPI_WR_BYTE_ORDER_R
pub fn spi_wr_byte_order(&self) -> SPI_WR_BYTE_ORDER_R
Bit 11 - In “command”, “address”, “write-data” (MOSI) phases, 1: little-endian; 0: big_endian
Sourcepub fn spi_rd_byte_order(&self) -> SPI_RD_BYTE_ORDER_R
pub fn spi_rd_byte_order(&self) -> SPI_RD_BYTE_ORDER_R
Bit 10 - In “read-data” (MISO) phase, 1: little-endian; 0: big_endian
Sourcepub fn spi_ck_i_edge(&self) -> SPI_CK_I_EDGE_R
pub fn spi_ck_i_edge(&self) -> SPI_CK_I_EDGE_R
Bit 6 - In the slave mode, 1: rising-edge; 0: falling-edge
Sourcepub fn spi_ck_o_edge(&self) -> SPI_CK_O_EDGE_R
pub fn spi_ck_o_edge(&self) -> SPI_CK_O_EDGE_R
Bit 7 - In the master mode, 1: rising-edge; 0: falling-edge
Sourcepub fn spi_cs_setup(&self) -> SPI_CS_SETUP_R
pub fn spi_cs_setup(&self) -> SPI_CS_SETUP_R
Bit 5 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable.
Sourcepub fn spi_cs_hold(&self) -> SPI_CS_HOLD_R
pub fn spi_cs_hold(&self) -> SPI_CS_HOLD_R
Bit 4 - spi cs keep low when spi is in done phase. 1: enable 0: disable.
Sourcepub fn spi_ahb_user_command(&self) -> SPI_AHB_USER_COMMAND_R
pub fn spi_ahb_user_command(&self) -> SPI_AHB_USER_COMMAND_R
Bit 3 - reserved
Sourcepub fn spi_flash_mode(&self) -> SPI_FLASH_MODE_R
pub fn spi_flash_mode(&self) -> SPI_FLASH_MODE_R
Bit 2
Sourcepub fn spi_ahb_user_command_4byte(&self) -> SPI_AHB_USER_COMMAND_4BYTE_R
pub fn spi_ahb_user_command_4byte(&self) -> SPI_AHB_USER_COMMAND_4BYTE_R
Bit 1 - reserved
Sourcepub fn spi_duplex(&self) -> SPI_DUPLEX_R
pub fn spi_duplex(&self) -> SPI_DUPLEX_R
Bit 0 - set spi in full duplex mode