Enum stm32_metapac::pwr::vals::Ptasr
#[repr(u8)]pub enum Ptasr {
B_0X0 = 0,
B_0X1 = 1,
}
Variants§
B_0X0 = 0
Cleared by software, writing 0.
B_0X1 = 1
Set by hardware when Stop 2 mode PTA retention is enabled in PTASREN and Stop 2 mode is entered.
Implementations§
Trait Implementations§
§impl Ord for Ptasr
impl Ord for Ptasr
§impl PartialOrd for Ptasr
impl PartialOrd for Ptasr
impl Copy for Ptasr
impl Eq for Ptasr
impl StructuralPartialEq for Ptasr
Auto Trait Implementations§
impl Freeze for Ptasr
impl RefUnwindSafe for Ptasr
impl Send for Ptasr
impl Sync for Ptasr
impl Unpin for Ptasr
impl UnwindSafe for Ptasr
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)