Struct esp32s3_hal::pac::spi0::user::R
pub struct R(_);
Expand description
Register USER
reader
Implementations§
§impl R
impl R
pub fn cs_hold(&self) -> BitReaderRaw<bool>
pub fn cs_hold(&self) -> BitReaderRaw<bool>
Bit 6 - Set this bit to keep SPI_CS low when MSPI is in DONE state.
pub fn cs_setup(&self) -> BitReaderRaw<bool>
pub fn cs_setup(&self) -> BitReaderRaw<bool>
Bit 7 - Set this bit to keep SPI_CS low when MSPI is in PREP state.
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 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.
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.