Struct d1_pac::usb1::ohci_frame_counter_partition::hc_fm_number::R
source · pub struct R(/* private fields */);
Expand description
Register hc_fm_number
reader
Implementations§
source§impl R
impl R
sourcepub fn frame_number(&self) -> FRAME_NUMBER_R
pub fn frame_number(&self) -> FRAME_NUMBER_R
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 = R<HC_FM_NUMBER_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