Struct esp32s3_hal::pac::spi0::misc::W
pub struct W(_);
Expand description
Register MISC
writer
Implementations§
§impl W
impl W
pub fn fsub_pin(&mut self) -> BitWriterRaw<'_, u32, MISC_SPEC, bool, BitM, 7>
pub fn fsub_pin(&mut self) -> BitWriterRaw<'_, u32, MISC_SPEC, bool, BitM, 7>
Bit 7 - Flash is connected to SPI SUBPIN bus.
pub fn ssub_pin(&mut self) -> BitWriterRaw<'_, u32, MISC_SPEC, bool, BitM, 8>
pub fn ssub_pin(&mut self) -> BitWriterRaw<'_, u32, MISC_SPEC, bool, BitM, 8>
Bit 8 - Ext_RAM is connected to SPI SUBPIN bus.
pub fn ck_idle_edge(
&mut self
) -> BitWriterRaw<'_, u32, MISC_SPEC, bool, BitM, 9>
pub fn ck_idle_edge(
&mut self
) -> BitWriterRaw<'_, u32, MISC_SPEC, bool, BitM, 9>
Bit 9 - 1: SPI_CLK line is high when idle. 0: SPI_CLK line is low when idle
pub fn cs_keep_active(
&mut self
) -> BitWriterRaw<'_, u32, MISC_SPEC, bool, BitM, 10>
pub fn cs_keep_active(
&mut self
) -> BitWriterRaw<'_, u32, MISC_SPEC, bool, BitM, 10>
Bit 10 - SPI_CS line keep low when the bit is set.
Methods from Deref<Target = W<MISC_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.