Struct esp32s3_hal::pac::usb0::doepctl0::W
pub struct W(_);
Expand description
Register DOEPCTL0
writer
Implementations§
§impl W
impl W
pub fn snp0(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 20>
pub fn snp0(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 20>
Bit 20
pub fn stall0(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 21>
pub fn stall0(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 21>
Bit 21
pub fn cnak0(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 26>
pub fn cnak0(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 26>
Bit 26
pub fn do_snak0(
&mut self
) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 27>
pub fn do_snak0(
&mut self
) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 27>
Bit 27
pub fn epena0(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 31>
pub fn epena0(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 31>
Bit 31
Methods from Deref<Target = W<DOEPCTL0_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<DOEPCTL0_SPEC>> for W
impl From<W<DOEPCTL0_SPEC>> for W
§fn from(writer: W<DOEPCTL0_SPEC>) -> W
fn from(writer: W<DOEPCTL0_SPEC>) -> W
Converts to this type from the input type.