pub enum FRESR {
NORESET,
RESET,
}
Expand description
Possible values of the field FRES
Variants§
NORESET
Clear USB reset
RESET
Force a reset of the USB peripheral, exactly like a RESET signaling on the USB
Implementations§
Source§impl FRESR
impl FRESR
Sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0)
Sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1)
Sourcepub fn is_no_reset(&self) -> bool
pub fn is_no_reset(&self) -> bool
Checks if the value of the field is NORESET
Trait Implementations§
impl Copy for FRESR
impl StructuralPartialEq for FRESR
Auto Trait Implementations§
impl Freeze for FRESR
impl RefUnwindSafe for FRESR
impl Send for FRESR
impl Sync for FRESR
impl Unpin for FRESR
impl UnwindSafe for FRESR
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