Struct stm32_hal2::pac::otg1_hs_host::hcsplt10::W
source · [−]pub struct W(_);
Expand description
Register HCSPLT10
writer
Implementations
sourceimpl W
impl W
sourcepub fn prtaddr(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT10_SPEC, u8, u8, Unsafe, 7, 0>
pub fn prtaddr(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT10_SPEC, u8, u8, Unsafe, 7, 0>
Bits 0:6 - Port address
sourcepub fn hubaddr(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT10_SPEC, u8, u8, Unsafe, 7, 7>
pub fn hubaddr(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT10_SPEC, u8, u8, Unsafe, 7, 7>
Bits 7:13 - Hub address
sourcepub fn xactpos(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT10_SPEC, u8, u8, Unsafe, 2, 14>
pub fn xactpos(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT10_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15 - XACTPOS
sourcepub fn complsplt(
&mut self
) -> BitWriterRaw<'_, u32, HCSPLT10_SPEC, bool, BitM, 16>
pub fn complsplt(
&mut self
) -> BitWriterRaw<'_, u32, HCSPLT10_SPEC, bool, BitM, 16>
Bit 16 - Do complete split
sourcepub fn spliten(
&mut self
) -> BitWriterRaw<'_, u32, HCSPLT10_SPEC, bool, BitM, 31>
pub fn spliten(
&mut self
) -> BitWriterRaw<'_, u32, HCSPLT10_SPEC, bool, BitM, 31>
Bit 31 - Split enable
Methods from Deref<Target = W<HCSPLT10_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<HCSPLT10_SPEC>> for W
impl From<W<HCSPLT10_SPEC>> for W
sourcefn from(writer: W<HCSPLT10_SPEC>) -> W
fn from(writer: W<HCSPLT10_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