Struct esp32c2_hal::pac::spi2::cmd::W
pub struct W(_);
Expand description
Register CMD
writer
Implementations§
§impl W
impl W
pub fn conf_bitlen(
&mut self
) -> FieldWriterRaw<'_, u32, CMD_SPEC, u32, u32, Unsafe, 18, 0>
pub fn conf_bitlen(
&mut self
) -> FieldWriterRaw<'_, u32, CMD_SPEC, u32, u32, Unsafe, 18, 0>
Bits 0:17 - Define the APB cycles of SPI_CONF state. Can be configured in CONF state.
pub fn update(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 23>
pub fn update(&mut self) -> BitWriterRaw<'_, u32, CMD_SPEC, bool, BitM, 23>
Bit 23 - Set this bit to synchronize SPI registers from APB clock domain into SPI module clock domain, which is only used in SPI master mode.
Methods from Deref<Target = W<CMD_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.