Struct esp32c3_hal::pac::spi2::dout_mode::W
pub struct W(_);
Expand description
Register DOUT_MODE
writer
Implementations
impl W
impl W
pub fn dout0_mode(
&mut self
) -> BitWriterRaw<'_, u32, DOUT_MODE_SPEC, bool, BitM, 0>
pub fn dout0_mode(
&mut self
) -> BitWriterRaw<'_, u32, DOUT_MODE_SPEC, bool, BitM, 0>
Bit 0 - The output signal 0 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.
pub fn dout1_mode(
&mut self
) -> BitWriterRaw<'_, u32, DOUT_MODE_SPEC, bool, BitM, 1>
pub fn dout1_mode(
&mut self
) -> BitWriterRaw<'_, u32, DOUT_MODE_SPEC, bool, BitM, 1>
Bit 1 - The output signal 1 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.
pub fn dout2_mode(
&mut self
) -> BitWriterRaw<'_, u32, DOUT_MODE_SPEC, bool, BitM, 2>
pub fn dout2_mode(
&mut self
) -> BitWriterRaw<'_, u32, DOUT_MODE_SPEC, bool, BitM, 2>
Bit 2 - The output signal 2 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.
pub fn dout3_mode(
&mut self
) -> BitWriterRaw<'_, u32, DOUT_MODE_SPEC, bool, BitM, 3>
pub fn dout3_mode(
&mut self
) -> BitWriterRaw<'_, u32, DOUT_MODE_SPEC, bool, BitM, 3>
Bit 3 - The output signal 3 is delayed by the SPI module clock, 0: output without delayed, 1: output delay for a SPI module clock cycle at its negative edge. Can be configured in CONF state.
Methods from Deref<Target = W<DOUT_MODE_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.