Struct d1_pac::usb1::ohci_frame_counter_partition::hc_fm_remaining::R
source · pub struct R(/* private fields */);
Expand description
Register hc_fm_remaining
reader
Implementations§
source§impl R
impl R
sourcepub fn frame_remaining(&self) -> FRAME_REMAINING_R
pub fn frame_remaining(&self) -> FRAME_REMAINING_R
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(&self) -> FRAME_REMAINING_TOGGLE_R
pub fn frame_remaining_toggle(&self) -> FRAME_REMAINING_TOGGLE_R
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 = R<HC_FM_REMAINING_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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