Enum stm32wlxx_hal::pac::pwr::cr3::EWUP2_A
pub enum EWUP2_A {
Disabled = 0,
Enabled = 1,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Enable Wakeup pin WKUP2 for CPU1
Value on reset: 0
Variants§
Disabled = 0
0: WKUP pin 2 is used for general purpose I/Os. An event on the WKUP pin 2 does not wakeup the device from Standby mode
Enabled = 1
1: WKUP pin 2 is used for wakeup from Standby mode and forced in input pull down configuration (rising edge on WKUP pin 2 wakes-up the system from Standby mode)
Trait Implementations§
impl Copy for EWUP2_A
impl StructuralPartialEq for EWUP2_A
Auto Trait Implementations§
impl RefUnwindSafe for EWUP2_A
impl Send for EWUP2_A
impl Sync for EWUP2_A
impl Unpin for EWUP2_A
impl UnwindSafe for EWUP2_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