Struct stm32f4xx_hal::pac::otg_fs_device::doeptsiz3::W
source · pub struct W(/* private fields */);
Expand description
Register DOEPTSIZ3
writer
Implementations§
source§impl W
impl W
sourcepub fn rxdpid_stupcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DOEPTSIZ3_SPEC, u8, u8, Unsafe, 2, 29>
pub fn rxdpid_stupcnt( &mut self ) -> FieldWriterRaw<'_, u32, DOEPTSIZ3_SPEC, u8, u8, Unsafe, 2, 29>
Bits 29:30 - Received data PID/SETUP packet count
sourcepub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DOEPTSIZ3_SPEC, u16, u16, Unsafe, 10, 19>
pub fn pktcnt( &mut self ) -> FieldWriterRaw<'_, u32, DOEPTSIZ3_SPEC, u16, u16, Unsafe, 10, 19>
Bits 19:28 - Packet count
Methods from Deref<Target = W<DOEPTSIZ3_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.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more