Enum xmc4300::scu_hibernate::hdcr::Hibio0sel
source · #[repr(u8)]pub enum Hibio0sel {
Const0000 = 0,
Const0001 = 1,
Const0010 = 2,
Const1000 = 8,
Const1001 = 9,
Const1010 = 10,
Const1100 = 12,
Const1101 = 13,
Const1110 = 14,
Const1111 = 15,
}
Expand description
HIB_IO_0 Pin I/O Control (default HIBOUT)
Value on reset: 12
Variants§
Const0000 = 0
0: Direct input, No input pull device connected
Const0001 = 1
1: Direct input, Input pull-down device connected
Const0010 = 2
2: Direct input, Input pull-up device connected
Const1000 = 8
8: Push-pull HIB Control output
Const1001 = 9
9: Push-pull WDT service output
Const1010 = 10
10: Push-pull GPIO output
Const1100 = 12
12: Open-drain HIB Control output
Const1101 = 13
13: Open-drain WDT service output
Const1110 = 14
14: Open-drain GPIO output
Const1111 = 15
15: #1111
Trait Implementations§
source§impl PartialEq for Hibio0sel
impl PartialEq for Hibio0sel
impl Copy for Hibio0sel
impl Eq for Hibio0sel
impl StructuralPartialEq for Hibio0sel
Auto Trait Implementations§
impl RefUnwindSafe for Hibio0sel
impl Send for Hibio0sel
impl Sync for Hibio0sel
impl Unpin for Hibio0sel
impl UnwindSafe for Hibio0sel
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