Struct stm32f4xx_hal::pac::otg_hs_host::hctsiz6::W
source · pub struct W(/* private fields */);
Expand description
Register HCTSIZ6
writer
Implementations§
source§impl W
impl W
sourcepub fn xfrsiz(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ6_SPEC, u32, u32, Unsafe, 19, 0>
pub fn xfrsiz( &mut self ) -> FieldWriterRaw<'_, u32, HCTSIZ6_SPEC, u32, u32, Unsafe, 19, 0>
Bits 0:18 - Transfer size
sourcepub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ6_SPEC, u16, u16, Unsafe, 10, 19>
pub fn pktcnt( &mut self ) -> FieldWriterRaw<'_, u32, HCTSIZ6_SPEC, u16, u16, Unsafe, 10, 19>
Bits 19:28 - Packet count
Methods from Deref<Target = W<HCTSIZ6_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