Struct stm32_hal2::pac::otg1_hs_host::hctsiz10::W
source · [−]pub struct W(_);
Expand description
Register HCTSIZ10
writer
Implementations
sourceimpl W
impl W
sourcepub fn xfrsiz(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ10_SPEC, u32, u32, Unsafe, 19, 0>
pub fn xfrsiz(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ10_SPEC, u32, u32, Unsafe, 19, 0>
Bits 0:18 - Transfer size
sourcepub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ10_SPEC, u16, u16, Unsafe, 10, 19>
pub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, HCTSIZ10_SPEC, u16, u16, Unsafe, 10, 19>
Bits 19:28 - Packet count
Methods from Deref<Target = W<HCTSIZ10_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
sourceimpl From<W<HCTSIZ10_SPEC>> for W
impl From<W<HCTSIZ10_SPEC>> for W
sourcefn from(writer: W<HCTSIZ10_SPEC>) -> W
fn from(writer: W<HCTSIZ10_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more