Struct esp32c2_hal::pac::spi1::miso_dlen::W
pub struct W(_);
Expand description
Register MISO_DLEN
writer
Implementations§
§impl W
impl W
pub fn usr_miso_dbitlen(
&mut self
) -> FieldWriterRaw<'_, u32, MISO_DLEN_SPEC, u16, u16, Unsafe, 10, 0>
pub fn usr_miso_dbitlen(
&mut self
) -> FieldWriterRaw<'_, u32, MISO_DLEN_SPEC, u16, u16, Unsafe, 10, 0>
Bits 0:9 - The length in bits of read-data. The register value shall be (bit_num-1).
Methods from Deref<Target = W<MISO_DLEN_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<MISO_DLEN_SPEC>> for W
impl From<W<MISO_DLEN_SPEC>> for W
§fn from(writer: W<MISO_DLEN_SPEC>) -> W
fn from(writer: W<MISO_DLEN_SPEC>) -> W
Converts to this type from the input type.