pub enum FORCE_NEEDCLK_A {
NORMAL = 0,
ALWAYS_ON = 1,
}Expand description
Forces the NEEDCLK output to always be on:
Value on reset: 0
Variants§
NORMAL = 0
0: USB_NEEDCLK has normal function.
ALWAYS_ON = 1
1: USB_NEEDCLK always 1. Clock will not be stopped in case of suspend.
Trait Implementations§
Source§impl Clone for FORCE_NEEDCLK_A
impl Clone for FORCE_NEEDCLK_A
Source§fn clone(&self) -> FORCE_NEEDCLK_A
fn clone(&self) -> FORCE_NEEDCLK_A
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FORCE_NEEDCLK_A
impl Debug for FORCE_NEEDCLK_A
Source§impl From<FORCE_NEEDCLK_A> for bool
impl From<FORCE_NEEDCLK_A> for bool
Source§fn from(variant: FORCE_NEEDCLK_A) -> Self
fn from(variant: FORCE_NEEDCLK_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FORCE_NEEDCLK_A
impl PartialEq for FORCE_NEEDCLK_A
Source§fn eq(&self, other: &FORCE_NEEDCLK_A) -> bool
fn eq(&self, other: &FORCE_NEEDCLK_A) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FORCE_NEEDCLK_A
impl StructuralPartialEq for FORCE_NEEDCLK_A
Auto Trait Implementations§
impl Freeze for FORCE_NEEDCLK_A
impl RefUnwindSafe for FORCE_NEEDCLK_A
impl Send for FORCE_NEEDCLK_A
impl Sync for FORCE_NEEDCLK_A
impl Unpin for FORCE_NEEDCLK_A
impl UnsafeUnpin for FORCE_NEEDCLK_A
impl UnwindSafe for FORCE_NEEDCLK_A
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