Struct esp32s3_hal::pac::spi0::user::W
pub struct W(_);
Expand description
Register USER
writer
Implementations§
§impl W
impl W
pub fn cs_hold(&mut self) -> BitWriterRaw<'_, u32, USER_SPEC, bool, BitM, 6>
pub fn cs_hold(&mut self) -> BitWriterRaw<'_, u32, USER_SPEC, bool, BitM, 6>
Bit 6 - Set this bit to keep SPI_CS low when MSPI is in DONE state.
pub fn cs_setup(&mut self) -> BitWriterRaw<'_, u32, USER_SPEC, bool, BitM, 7>
pub fn cs_setup(&mut self) -> BitWriterRaw<'_, u32, USER_SPEC, bool, BitM, 7>
Bit 7 - Set this bit to keep SPI_CS low when MSPI is in PREP state.
pub fn ck_out_edge(&mut self) -> BitWriterRaw<'_, u32, USER_SPEC, bool, BitM, 9>
pub fn ck_out_edge(&mut self) -> BitWriterRaw<'_, u32, USER_SPEC, bool, BitM, 9>
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(
&mut self
) -> BitWriterRaw<'_, u32, USER_SPEC, bool, BitM, 26>
pub fn usr_dummy_idle(
&mut self
) -> BitWriterRaw<'_, u32, USER_SPEC, bool, BitM, 26>
Bit 26 - SPI_CLK is disabled(No clock edges) in DUMMY phase when the bit is enable.
Methods from Deref<Target = W<USER_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.