Struct esp32s3_hal::pac::usb0::hcchar3::W
pub struct W(_);
Expand description
Register HCCHAR3
writer
Implementations§
§impl W
impl W
pub fn h_mps3(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR3_SPEC, u16, u16, Unsafe, 11, 0>
pub fn h_mps3(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR3_SPEC, u16, u16, Unsafe, 11, 0>
Bits 0:10
pub fn h_epnum3(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR3_SPEC, u8, u8, Unsafe, 4, 11>
pub fn h_epnum3(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR3_SPEC, u8, u8, Unsafe, 4, 11>
Bits 11:14
pub fn h_epdir3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 15>
pub fn h_epdir3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 15>
Bit 15
pub fn h_lspddev3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 17>
pub fn h_lspddev3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 17>
Bit 17
pub fn h_eptype3(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR3_SPEC, u8, u8, Unsafe, 2, 18>
pub fn h_eptype3(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR3_SPEC, u8, u8, Unsafe, 2, 18>
Bits 18:19
pub fn h_ec3(&mut self) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 21>
pub fn h_ec3(&mut self) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 21>
Bit 21
pub fn h_devaddr3(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR3_SPEC, u8, u8, Unsafe, 7, 22>
pub fn h_devaddr3(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR3_SPEC, u8, u8, Unsafe, 7, 22>
Bits 22:28
pub fn h_oddfrm3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 29>
pub fn h_oddfrm3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 29>
Bit 29
pub fn h_chdis3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 30>
pub fn h_chdis3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 30>
Bit 30
pub fn h_chena3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 31>
pub fn h_chena3(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR3_SPEC, bool, BitM, 31>
Bit 31
Methods from Deref<Target = W<HCCHAR3_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<HCCHAR3_SPEC>> for W
impl From<W<HCCHAR3_SPEC>> for W
§fn from(writer: W<HCCHAR3_SPEC>) -> W
fn from(writer: W<HCCHAR3_SPEC>) -> W
Converts to this type from the input type.