Enum xmc4800::scu_hibernate::hdcr::Hibio1sel
source · #[repr(u8)]pub enum Hibio1sel {
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 PartialEq for Hibio1sel
impl PartialEq for Hibio1sel
impl Copy for Hibio1sel
impl Eq for Hibio1sel
impl StructuralPartialEq for Hibio1sel
Auto Trait Implementations§
impl RefUnwindSafe for Hibio1sel
impl Send for Hibio1sel
impl Sync for Hibio1sel
impl Unpin for Hibio1sel
impl UnwindSafe for Hibio1sel
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