Struct daisy::pac::otg1_hs_device::doeptsiz6::W
pub struct W(/* private fields */);
Expand description
Register DOEPTSIZ6
writer
Implementations§
§impl W
impl W
pub fn xfrsiz(
&mut self
) -> FieldWriterRaw<'_, u32, DOEPTSIZ6_SPEC, u32, u32, Unsafe, 19, 0>
pub fn xfrsiz( &mut self ) -> FieldWriterRaw<'_, u32, DOEPTSIZ6_SPEC, u32, u32, Unsafe, 19, 0>
Bits 0:18 - Transfer size
pub fn pktcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DOEPTSIZ6_SPEC, u16, u16, Unsafe, 10, 19>
pub fn pktcnt( &mut self ) -> FieldWriterRaw<'_, u32, DOEPTSIZ6_SPEC, u16, u16, Unsafe, 10, 19>
Bits 19:28 - Packet count
pub fn rxdpid_stupcnt(
&mut self
) -> FieldWriterRaw<'_, u32, DOEPTSIZ6_SPEC, u8, u8, Unsafe, 2, 29>
pub fn rxdpid_stupcnt( &mut self ) -> FieldWriterRaw<'_, u32, DOEPTSIZ6_SPEC, u8, u8, Unsafe, 2, 29>
Bits 29:30 - Received data PID/SETUP packet count
Methods from Deref<Target = W<DOEPTSIZ6_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<DOEPTSIZ6_SPEC>> for W
impl From<W<DOEPTSIZ6_SPEC>> for W
§fn from(writer: W<DOEPTSIZ6_SPEC>) -> W
fn from(writer: W<DOEPTSIZ6_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