Struct d1_pac::usb1::ohci_frame_counter_partition::hc_fm_remaining::W
source · pub struct W(/* private fields */);
Expand description
Register hc_fm_remaining
writer
Implementations§
source§impl W
impl W
sourcepub fn frame_remaining(&mut self) -> FRAME_REMAINING_W<'_, 0>
pub fn frame_remaining(&mut self) -> FRAME_REMAINING_W<'_, 0>
Bits 0:13 - FrameRemaining
This counter is decremented at each bit time. When it reaches zero, it is reset by loading the FrameInterval value specified in at the next bit time boundary. When entering the USBOPERATIONAL state, HC re-loads the content with the FrameInterval of and uses the updated value from the next SOF.
sourcepub fn frame_remaining_toggle(&mut self) -> FRAME_REMAINING_TOGGLE_W<'_, 31>
pub fn frame_remaining_toggle(&mut self) -> FRAME_REMAINING_TOGGLE_W<'_, 31>
Bit 31 - FrameRemaining Toggle
This bit is loaded from the FrameIntervalToggle field of whenever FrameRemaining reaches 0. This bit is used by HCD for the synchronization between FrameInterval and FrameRemaining.
Methods from Deref<Target = W<HC_FM_REMAINING_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