Struct Wucr1
#[repr(transparent)]pub struct Wucr1(pub u32);
Expand description
PWR wakeup control register 1
Tuple Fields§
§0: u32
Implementations§
§impl Wucr1
impl Wucr1
pub fn set_wupen1(&mut self, val: bool)
pub fn set_wupen1(&mut self, val: bool)
Wakeup pin WKUP1 enable
pub fn set_wupen2(&mut self, val: bool)
pub fn set_wupen2(&mut self, val: bool)
Wakeup pin WKUP2 enable
pub fn set_wupen3(&mut self, val: bool)
pub fn set_wupen3(&mut self, val: bool)
Wakeup pin WKUP3 enable
pub fn set_wupen4(&mut self, val: bool)
pub fn set_wupen4(&mut self, val: bool)
Wakeup pin WKUP4 enable
pub fn set_wupen5(&mut self, val: bool)
pub fn set_wupen5(&mut self, val: bool)
Wakeup pin WKUP5 enable
pub fn set_wupen6(&mut self, val: bool)
pub fn set_wupen6(&mut self, val: bool)
Wakeup pin WKUP6 enable
pub fn set_wupen7(&mut self, val: bool)
pub fn set_wupen7(&mut self, val: bool)
Wakeup pin WKUP7 enable
pub fn set_wupen8(&mut self, val: bool)
pub fn set_wupen8(&mut self, val: bool)
Wakeup pin WKUP8 enable
Trait Implementations§
impl Copy for Wucr1
impl Eq for Wucr1
impl StructuralPartialEq for Wucr1
Auto Trait Implementations§
impl Freeze for Wucr1
impl RefUnwindSafe for Wucr1
impl Send for Wucr1
impl Sync for Wucr1
impl Unpin for Wucr1
impl UnwindSafe for Wucr1
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