Struct stm32f1xx_hal::pac::otg_fs_device::doepctl0::W
source · pub struct W(_);
Expand description
Register DOEPCTL0
writer
Implementations§
source§impl W
impl W
sourcepub fn epena(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 31>
pub fn epena(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 31>
Bit 31 - EPENA
sourcepub fn snak(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 27>
pub fn snak(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 27>
Bit 27 - SNAK
sourcepub fn cnak(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 26>
pub fn cnak(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 26>
Bit 26 - CNAK
sourcepub fn stall(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 21>
pub fn stall(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 21>
Bit 21 - Stall
sourcepub fn snpm(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 20>
pub fn snpm(&mut self) -> BitWriterRaw<'_, u32, DOEPCTL0_SPEC, bool, BitM, 20>
Bit 20 - SNPM
Methods from Deref<Target = W<DOEPCTL0_SPEC>>§
sourcepub 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.