pub enum SOFR {
NotStartOfFrame = 0,
StartOfFrame = 1,
}
Expand description
Start of frame This bit signals the beginning of a new USB frame and it is set when a SOF packet arrives through the USB bus. The interrupt service routine may monitor the SOF events to have a 1ms synchronization event to the USB host and to safely read the USB_FNR register which is updated at the SOF packet reception (this could be useful for isochronous applications). This bit is read/write but only 0 can be written and writing 1 has no effect.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for SOFR
impl Eq for SOFR
impl StructuralPartialEq for SOFR
Auto Trait Implementations§
impl Freeze for SOFR
impl RefUnwindSafe for SOFR
impl Send for SOFR
impl Sync for SOFR
impl Unpin for SOFR
impl UnwindSafe for SOFR
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