pub enum Wupen1 {
Disabled = 0,
Enabled = 1,
}
Expand description
WKUPN1 Pin Enable
Value on reset: 0
Variants§
Disabled = 0
0: WKUP pin 1 is used for general purpose I/Os. An event on the WKUP pin 1 does not wakeup the device from Standby mode
Enabled = 1
1: WKUP pin 1 is used for wakeup from Standby mode and forced in input pull down configuration (rising edge on WKUP pin 1 wakes-up the system from Standby mode)
Trait Implementations§
source§impl PartialEq for Wupen1
impl PartialEq for Wupen1
impl Copy for Wupen1
impl Eq for Wupen1
impl StructuralPartialEq for Wupen1
Auto Trait Implementations§
impl Freeze for Wupen1
impl RefUnwindSafe for Wupen1
impl Send for Wupen1
impl Sync for Wupen1
impl Unpin for Wupen1
impl UnwindSafe for Wupen1
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