Struct esp32c2_hal::pac::spi1::flash_waiti_ctrl::W
pub struct W(_);
Expand description
Register FLASH_WAITI_CTRL
writer
Implementations§
§impl W
impl W
pub fn waiti_dummy(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_WAITI_CTRL_SPEC, bool, BitM, 1>
pub fn waiti_dummy(
&mut self
) -> BitWriterRaw<'_, u32, FLASH_WAITI_CTRL_SPEC, bool, BitM, 1>
Bit 1 - The dummy phase enable when wait flash idle (RDSR)
pub fn waiti_cmd(
&mut self
) -> FieldWriterRaw<'_, u32, FLASH_WAITI_CTRL_SPEC, u8, u8, Unsafe, 8, 2>
pub fn waiti_cmd(
&mut self
) -> FieldWriterRaw<'_, u32, FLASH_WAITI_CTRL_SPEC, u8, u8, Unsafe, 8, 2>
Bits 2:9 - The command to wait flash idle(RDSR).
pub fn waiti_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, FLASH_WAITI_CTRL_SPEC, u8, u8, Unsafe, 6, 10>
pub fn waiti_dummy_cyclelen(
&mut self
) -> FieldWriterRaw<'_, u32, FLASH_WAITI_CTRL_SPEC, u8, u8, Unsafe, 6, 10>
Bits 10:15 - The dummy cycle length when wait flash idle(RDSR).
Methods from Deref<Target = W<FLASH_WAITI_CTRL_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<FLASH_WAITI_CTRL_SPEC>> for W
impl From<W<FLASH_WAITI_CTRL_SPEC>> for W
§fn from(writer: W<FLASH_WAITI_CTRL_SPEC>) -> W
fn from(writer: W<FLASH_WAITI_CTRL_SPEC>) -> W
Converts to this type from the input type.