Struct esp32c2_hal::pac::spi1::rd_status::W
pub struct W(_);
Expand description
Register RD_STATUS
writer
Implementations§
§impl W
impl W
pub fn status(
&mut self
) -> FieldWriterRaw<'_, u32, RD_STATUS_SPEC, u16, u16, Unsafe, 16, 0>
pub fn status(
&mut self
) -> FieldWriterRaw<'_, u32, RD_STATUS_SPEC, u16, u16, Unsafe, 16, 0>
Bits 0:15 - The value is stored when set spi_mem_flash_rdsr bit and spi_mem_flash_res bit.
pub fn wb_mode(
&mut self
) -> FieldWriterRaw<'_, u32, RD_STATUS_SPEC, u8, u8, Unsafe, 8, 16>
pub fn wb_mode(
&mut self
) -> FieldWriterRaw<'_, u32, RD_STATUS_SPEC, u8, u8, Unsafe, 8, 16>
Bits 16:23 - Mode bits in the flash fast read mode it is combined with spi_mem_fastrd_mode bit.
Methods from Deref<Target = W<RD_STATUS_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<RD_STATUS_SPEC>> for W
impl From<W<RD_STATUS_SPEC>> for W
§fn from(writer: W<RD_STATUS_SPEC>) -> W
fn from(writer: W<RD_STATUS_SPEC>) -> W
Converts to this type from the input type.