Struct esp32s3_hal::pac::spi1::user::R
pub struct R(_);
Expand description
Register USER
reader
Implementations§
§impl R
impl R
pub fn ck_out_edge(&self) -> BitReaderRaw<bool>
pub fn ck_out_edge(&self) -> BitReaderRaw<bool>
Bit 9 - This bit, combined with SPI_MEM_CK_IDLE_EDGE bit, is used to change the clock mode 0~3 of SPI_CLK.
pub fn fwrite_dual(&self) -> BitReaderRaw<bool>
pub fn fwrite_dual(&self) -> BitReaderRaw<bool>
Bit 12 - Set this bit to enable 2-bm in DOUT phase in SPI1 write operation.
pub fn fwrite_quad(&self) -> BitReaderRaw<bool>
pub fn fwrite_quad(&self) -> BitReaderRaw<bool>
Bit 13 - Set this bit to enable 4-bm in DOUT phase in SPI1 write operation.
pub fn fwrite_dio(&self) -> BitReaderRaw<bool>
pub fn fwrite_dio(&self) -> BitReaderRaw<bool>
Bit 14 - Set this bit to enable 2-bm in ADDR and DOUT phase in SPI1 write operation.
pub fn fwrite_qio(&self) -> BitReaderRaw<bool>
pub fn fwrite_qio(&self) -> BitReaderRaw<bool>
Bit 15 - Set this bit to enable 4-bit-mode(4-bm) in ADDR and DOUT phase in SPI1 write operation.
pub fn usr_miso_highpart(&self) -> BitReaderRaw<bool>
pub fn usr_miso_highpart(&self) -> BitReaderRaw<bool>
Bit 24 - DIN phase only access to high-part of the buffer SPI_MEM_W8_REG~SPI_MEM_W15_REG. 1: enable 0: disable.
pub fn usr_mosi_highpart(&self) -> BitReaderRaw<bool>
pub fn usr_mosi_highpart(&self) -> BitReaderRaw<bool>
Bit 25 - DOUT phase only access to high-part of the buffer SPI_MEM_W8_REG~SPI_MEM_W15_REG. 1: enable 0: disable.
pub fn usr_dummy_idle(&self) -> BitReaderRaw<bool>
pub fn usr_dummy_idle(&self) -> BitReaderRaw<bool>
Bit 26 - SPI_CLK is disabled(No clock edges) in DUMMY phase when the bit is enable.
pub fn usr_mosi(&self) -> BitReaderRaw<bool>
pub fn usr_mosi(&self) -> BitReaderRaw<bool>
Bit 27 - Set this bit to enable the DOUT phase of an write-data operation.
pub fn usr_miso(&self) -> BitReaderRaw<bool>
pub fn usr_miso(&self) -> BitReaderRaw<bool>
Bit 28 - Set this bit to enable enable the DIN phase of a read-data operation.
pub fn usr_dummy(&self) -> BitReaderRaw<bool>
pub fn usr_dummy(&self) -> BitReaderRaw<bool>
Bit 29 - Set this bit to enable enable the DUMMY phase of an operation.
pub fn usr_addr(&self) -> BitReaderRaw<bool>
pub fn usr_addr(&self) -> BitReaderRaw<bool>
Bit 30 - Set this bit to enable enable the ADDR phase of an operation.
pub fn usr_command(&self) -> BitReaderRaw<bool>
pub fn usr_command(&self) -> BitReaderRaw<bool>
Bit 31 - Set this bit to enable enable the CMD phase of an operation.
Methods from Deref<Target = R<USER_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.