pub struct W(_);
Expand description
Register CTRL1
writer
Implementations§
§impl W
impl W
pub fn cs_hold_delay_res(
&mut self
) -> FieldWriterRaw<'_, u32, CTRL1_SPEC, u16, u16, Unsafe, 12, 16>
pub fn cs_hold_delay_res(
&mut self
) -> FieldWriterRaw<'_, u32, CTRL1_SPEC, u16, u16, Unsafe, 12, 16>
Bits 16:27 - Delay cycles of resume Flash when resume Flash is enable by spi clock.
pub fn cs_hold_delay(
&mut self
) -> FieldWriterRaw<'_, u32, CTRL1_SPEC, u8, u8, Unsafe, 4, 28>
pub fn cs_hold_delay(
&mut self
) -> FieldWriterRaw<'_, u32, CTRL1_SPEC, u8, u8, Unsafe, 4, 28>
Bits 28:31 - SPI cs signal is delayed by spi clock cycles
Methods from Deref<Target = W<CTRL1_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<CTRL1_SPEC>> for W
impl From<W<CTRL1_SPEC>> for W
§fn from(writer: W<CTRL1_SPEC>) -> W
fn from(writer: W<CTRL1_SPEC>) -> W
Converts to this type from the input type.