Struct esp32c2_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 - spi cs keep low when spi is in done phase. 1: enable 0: disable.
pub fn cs_setup(&self) -> BitReaderRaw<bool>
pub fn cs_setup(&self) -> BitReaderRaw<bool>
Bit 7 - spi cs is enable when spi is in prepare phase. 1: enable 0: disable.
pub fn ck_out_edge(&self) -> BitReaderRaw<bool>
pub fn ck_out_edge(&self) -> BitReaderRaw<bool>
Bit 9 - the bit combined with spi_mem_mosi_delay_mode bits to set mosi signal delay mode.
pub fn usr_dummy_idle(&self) -> BitReaderRaw<bool>
pub fn usr_dummy_idle(&self) -> BitReaderRaw<bool>
Bit 26 - spi clock is disable 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.