Struct esp32c2_hal::pac::spi1::ctrl2::W
pub struct W(_);
Expand description
Register CTRL2
writer
Implementations§
§impl W
impl W
pub fn sync_reset(
&mut self
) -> BitWriterRaw<'_, u32, CTRL2_SPEC, bool, BitM, 31>
pub fn sync_reset(
&mut self
) -> BitWriterRaw<'_, u32, CTRL2_SPEC, bool, BitM, 31>
Bit 31 - The FSM will be reset.
Methods from Deref<Target = W<CTRL2_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.
Trait Implementations§
§impl From<W<CTRL2_SPEC>> for W
impl From<W<CTRL2_SPEC>> for W
§fn from(writer: W<CTRL2_SPEC>) -> W
fn from(writer: W<CTRL2_SPEC>) -> W
Converts to this type from the input type.