Enum xmc4400::scu_hibernate::hdcr::HIBIO1SEL_A
source · #[repr(u8)]pub enum HIBIO1SEL_A {
VALUE1 = 0,
VALUE2 = 1,
VALUE3 = 2,
VALUE4 = 8,
VALUE5 = 9,
VALUE6 = 10,
VALUE7 = 12,
VALUE8 = 13,
VALUE9 = 14,
VALUE10 = 15,
}
Expand description
HIB_IO_1 Pin I/O Control (Default WKUP)
Value on reset: 0
Variants§
VALUE1 = 0
0: Direct input, No input pull device connected
VALUE2 = 1
1: Direct input, Input pull-down device connected
VALUE3 = 2
2: Direct input, Input pull-up device connected
VALUE4 = 8
8: Push-pull HIB Control output
VALUE5 = 9
9: Push-pull WDT service output
VALUE6 = 10
10: Push-pull GPIO output
VALUE7 = 12
12: Open-drain HIB Control output
VALUE8 = 13
13: Open-drain WDT service output
VALUE9 = 14
14: Open-drain GPIO output
VALUE10 = 15
15: Analog input
Trait Implementations§
source§impl Clone for HIBIO1SEL_A
impl Clone for HIBIO1SEL_A
source§fn clone(&self) -> HIBIO1SEL_A
fn clone(&self) -> HIBIO1SEL_A
Returns a copy 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 HIBIO1SEL_A
impl Debug for HIBIO1SEL_A
source§impl From<HIBIO1SEL_A> for u8
impl From<HIBIO1SEL_A> for u8
source§fn from(variant: HIBIO1SEL_A) -> Self
fn from(variant: HIBIO1SEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for HIBIO1SEL_A
impl PartialEq for HIBIO1SEL_A
source§fn eq(&self, other: &HIBIO1SEL_A) -> bool
fn eq(&self, other: &HIBIO1SEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HIBIO1SEL_A
impl Eq for HIBIO1SEL_A
impl IsEnum for HIBIO1SEL_A
impl StructuralPartialEq for HIBIO1SEL_A
Auto Trait Implementations§
impl Freeze for HIBIO1SEL_A
impl RefUnwindSafe for HIBIO1SEL_A
impl Send for HIBIO1SEL_A
impl Sync for HIBIO1SEL_A
impl Unpin for HIBIO1SEL_A
impl UnwindSafe for HIBIO1SEL_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