Struct esp32s3_hal::pac::usb0::hcchar0::W
pub struct W(_);
Expand description
Register HCCHAR0
writer
Implementations§
§impl W
impl W
pub fn h_mps0(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR0_SPEC, u16, u16, Unsafe, 11, 0>
pub fn h_mps0(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR0_SPEC, u16, u16, Unsafe, 11, 0>
Bits 0:10
pub fn h_epnum0(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR0_SPEC, u8, u8, Unsafe, 4, 11>
pub fn h_epnum0(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR0_SPEC, u8, u8, Unsafe, 4, 11>
Bits 11:14
pub fn h_epdir0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 15>
pub fn h_epdir0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 15>
Bit 15
pub fn h_lspddev0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 17>
pub fn h_lspddev0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 17>
Bit 17
pub fn h_eptype0(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR0_SPEC, u8, u8, Unsafe, 2, 18>
pub fn h_eptype0(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR0_SPEC, u8, u8, Unsafe, 2, 18>
Bits 18:19
pub fn h_ec0(&mut self) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 21>
pub fn h_ec0(&mut self) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 21>
Bit 21
pub fn h_devaddr0(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR0_SPEC, u8, u8, Unsafe, 7, 22>
pub fn h_devaddr0(
&mut self
) -> FieldWriterRaw<'_, u32, HCCHAR0_SPEC, u8, u8, Unsafe, 7, 22>
Bits 22:28
pub fn h_oddfrm0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 29>
pub fn h_oddfrm0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 29>
Bit 29
pub fn h_chdis0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 30>
pub fn h_chdis0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 30>
Bit 30
pub fn h_chena0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 31>
pub fn h_chena0(
&mut self
) -> BitWriterRaw<'_, u32, HCCHAR0_SPEC, bool, BitM, 31>
Bit 31
Methods from Deref<Target = W<HCCHAR0_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<HCCHAR0_SPEC>> for W
impl From<W<HCCHAR0_SPEC>> for W
§fn from(writer: W<HCCHAR0_SPEC>) -> W
fn from(writer: W<HCCHAR0_SPEC>) -> W
Converts to this type from the input type.