Struct esp32s3_hal::pac::usb0::hctsiz1::W
pub struct W(_);
Expand description
Register HCTSIZ1
writer
Implementations§
§impl W
impl W
pub fn h_xfersize1(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ1_SPEC, u32, u32, Unsafe, 19, 0>
pub fn h_xfersize1(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ1_SPEC, u32, u32, Unsafe, 19, 0>
Bits 0:18
pub fn h_pktcnt1(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ1_SPEC, u16, u16, Unsafe, 10, 19>
pub fn h_pktcnt1(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ1_SPEC, u16, u16, Unsafe, 10, 19>
Bits 19:28
pub fn h_pid1(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ1_SPEC, u8, u8, Unsafe, 2, 29>
pub fn h_pid1(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ1_SPEC, u8, u8, Unsafe, 2, 29>
Bits 29:30
pub fn h_dopng1(
&mut self
) -> BitWriterRaw<'_, u32, HCTSIZ1_SPEC, bool, BitM, 31>
pub fn h_dopng1(
&mut self
) -> BitWriterRaw<'_, u32, HCTSIZ1_SPEC, bool, BitM, 31>
Bit 31
Methods from Deref<Target = W<HCTSIZ1_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<HCTSIZ1_SPEC>> for W
impl From<W<HCTSIZ1_SPEC>> for W
§fn from(writer: W<HCTSIZ1_SPEC>) -> W
fn from(writer: W<HCTSIZ1_SPEC>) -> W
Converts to this type from the input type.