Struct esp32s3_hal::pac::usb0::diepctl6::W
pub struct W(_);
Expand description
Register DIEPCTL6
writer
Implementations§
§impl W
impl W
pub fn d_mps6(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPCTL6_SPEC, u8, u8, Unsafe, 2, 0>
pub fn d_mps6(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPCTL6_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1
pub fn d_stall6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 21>
pub fn d_stall6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 21>
Bit 21
pub fn d_txfnum6(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPCTL6_SPEC, u8, u8, Unsafe, 4, 22>
pub fn d_txfnum6(
&mut self
) -> FieldWriterRaw<'_, u32, DIEPCTL6_SPEC, u8, u8, Unsafe, 4, 22>
Bits 22:25
pub fn d_cnak6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 26>
pub fn d_cnak6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 26>
Bit 26
pub fn di_snak6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 27>
pub fn di_snak6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 27>
Bit 27
pub fn di_setd0pid6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 28>
pub fn di_setd0pid6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 28>
Bit 28
pub fn di_setd1pid6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 29>
pub fn di_setd1pid6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 29>
Bit 29
pub fn d_epdis6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 30>
pub fn d_epdis6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 30>
Bit 30
pub fn d_epena6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 31>
pub fn d_epena6(
&mut self
) -> BitWriterRaw<'_, u32, DIEPCTL6_SPEC, bool, BitM, 31>
Bit 31
Methods from Deref<Target = W<DIEPCTL6_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<DIEPCTL6_SPEC>> for W
impl From<W<DIEPCTL6_SPEC>> for W
§fn from(writer: W<DIEPCTL6_SPEC>) -> W
fn from(writer: W<DIEPCTL6_SPEC>) -> W
Converts to this type from the input type.