pub enum POL_HS_DEV_NEEDCLK_A {
FALLING,
RISING,
}
Expand description
USB1 device need clock polarity for triggering the USB1_NEEDCLK wake-up interrupt:
Value on reset: 0
Variants
FALLING
0: Falling edge of DEV_NEEDCLK triggers wake-up.
RISING
1: Rising edge of DEV_NEEDCLK triggers wake-up.
Trait Implementations
sourceimpl Clone for POL_HS_DEV_NEEDCLK_A
impl Clone for POL_HS_DEV_NEEDCLK_A
sourcefn clone(&self) -> POL_HS_DEV_NEEDCLK_A
fn clone(&self) -> POL_HS_DEV_NEEDCLK_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for POL_HS_DEV_NEEDCLK_A
impl Debug for POL_HS_DEV_NEEDCLK_A
sourceimpl From<POL_HS_DEV_NEEDCLK_A> for bool
impl From<POL_HS_DEV_NEEDCLK_A> for bool
sourcefn from(variant: POL_HS_DEV_NEEDCLK_A) -> Self
fn from(variant: POL_HS_DEV_NEEDCLK_A) -> Self
Performs the conversion.
impl Copy for POL_HS_DEV_NEEDCLK_A
impl StructuralPartialEq for POL_HS_DEV_NEEDCLK_A
Auto Trait Implementations
impl RefUnwindSafe for POL_HS_DEV_NEEDCLK_A
impl Send for POL_HS_DEV_NEEDCLK_A
impl Sync for POL_HS_DEV_NEEDCLK_A
impl Unpin for POL_HS_DEV_NEEDCLK_A
impl UnwindSafe for POL_HS_DEV_NEEDCLK_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more