Struct esp32s3_hal::pac::usb0::doepctl5::W
pub struct W(_);
Expand description
Register DOEPCTL5
writer
Implementations§
§impl W
impl W
pub fn snp5(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 20>
pub fn snp5(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 20>
Bit 20
pub fn stall5(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 21>
pub fn stall5(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 21>
Bit 21
pub fn cnak5(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 26>
pub fn cnak5(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 26>
Bit 26
pub fn do_snak5(
&mut self
) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 27>
pub fn do_snak5(
&mut self
) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 27>
Bit 27
pub fn do_setd0pid5(
&mut self
) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 28>
pub fn do_setd0pid5(
&mut self
) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 28>
Bit 28
pub fn do_setd1pid5(
&mut self
) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 29>
pub fn do_setd1pid5(
&mut self
) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 29>
Bit 29
pub fn epena5(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 31>
pub fn epena5(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL5_SPEC, bool, BitM, 31>
Bit 31
Methods from Deref<Target = W<DOEPCTL5_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<DOEPCTL5_SPEC>> for W
impl From<W<DOEPCTL5_SPEC>> for W
§fn from(writer: W<DOEPCTL5_SPEC>) -> W
fn from(writer: W<DOEPCTL5_SPEC>) -> W
Converts to this type from the input type.