Struct d1_pac::usb1::ohci_frame_counter_partition::hc_fm_number::W
source · pub struct W(/* private fields */);
Expand description
Register hc_fm_number
writer
Implementations§
source§impl W
impl W
sourcepub fn frame_number(&mut self) -> FRAME_NUMBER_W<'_, 0>
pub fn frame_number(&mut self) -> FRAME_NUMBER_W<'_, 0>
Bits 0:15 - FrameNumber
This is incremented when is re-loaded. It will be rolled over to 0x0 after 0x0ffff. When entering the USBOPERATIONAL state, this will be incremented automatically. The content will be written to HCCA after HC has incremented the FrameNumber at each frame boundary and sent a SOF but before HC reads the first ED in that Frame. After writing to HCCA, HC will set the StartofFrame in HcInterruptStatus
Methods from Deref<Target = W<HC_FM_NUMBER_SPEC>>§
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