#[repr(u8)]pub enum EM4WUPOL_A {
A0 = 1,
A6 = 2,
C9 = 4,
F1 = 8,
F2 = 16,
E13 = 32,
}Expand description
EM4 Wake-up Polarity
Value on reset: 0
Variants§
A0 = 1
1: Determines polarity on pin A0
A6 = 2
2: Determines polarity on pin A6
C9 = 4
4: Determines polarity on pin C9
F1 = 8
8: Determines polarity on pin F1
F2 = 16
16: Determines polarity on pin F2
E13 = 32
32: Determines polarity on pin E13
Trait Implementations§
Source§impl Clone for EM4WUPOL_A
impl Clone for EM4WUPOL_A
Source§fn clone(&self) -> EM4WUPOL_A
fn clone(&self) -> EM4WUPOL_A
Returns a duplicate of the value. Read more
1.0.0 · 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 EM4WUPOL_A
impl Debug for EM4WUPOL_A
Source§impl From<EM4WUPOL_A> for u8
impl From<EM4WUPOL_A> for u8
Source§fn from(variant: EM4WUPOL_A) -> Self
fn from(variant: EM4WUPOL_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EM4WUPOL_A
impl PartialEq for EM4WUPOL_A
impl Copy for EM4WUPOL_A
impl StructuralPartialEq for EM4WUPOL_A
Auto Trait Implementations§
impl Freeze for EM4WUPOL_A
impl RefUnwindSafe for EM4WUPOL_A
impl Send for EM4WUPOL_A
impl Sync for EM4WUPOL_A
impl Unpin for EM4WUPOL_A
impl UnwindSafe for EM4WUPOL_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