Struct daisy::pac::otg1_hs_host::hcsplt5::W
pub struct W(/* private fields */);
Expand description
Register HCSPLT5
writer
Implementations§
§impl W
impl W
pub fn prtaddr(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT5_SPEC, u8, u8, Unsafe, 7, 0>
pub fn prtaddr( &mut self ) -> FieldWriterRaw<'_, u32, HCSPLT5_SPEC, u8, u8, Unsafe, 7, 0>
Bits 0:6 - Port address
pub fn hubaddr(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT5_SPEC, u8, u8, Unsafe, 7, 7>
pub fn hubaddr( &mut self ) -> FieldWriterRaw<'_, u32, HCSPLT5_SPEC, u8, u8, Unsafe, 7, 7>
Bits 7:13 - Hub address
pub fn xactpos(
&mut self
) -> FieldWriterRaw<'_, u32, HCSPLT5_SPEC, u8, u8, Unsafe, 2, 14>
pub fn xactpos( &mut self ) -> FieldWriterRaw<'_, u32, HCSPLT5_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15 - XACTPOS
pub fn complsplt(
&mut self
) -> BitWriterRaw<'_, u32, HCSPLT5_SPEC, bool, BitM, 16>
pub fn complsplt( &mut self ) -> BitWriterRaw<'_, u32, HCSPLT5_SPEC, bool, BitM, 16>
Bit 16 - Do complete split
pub fn spliten(&mut self) -> BitWriterRaw<'_, u32, HCSPLT5_SPEC, bool, BitM, 31>
pub fn spliten(&mut self) -> BitWriterRaw<'_, u32, HCSPLT5_SPEC, bool, BitM, 31>
Bit 31 - Split enable
Methods from Deref<Target = W<HCSPLT5_SPEC>>§
pub 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§
§impl From<W<HCSPLT5_SPEC>> for W
impl From<W<HCSPLT5_SPEC>> for W
§fn from(writer: W<HCSPLT5_SPEC>) -> W
fn from(writer: W<HCSPLT5_SPEC>) -> W
Converts to this type from the input type.
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