Enum stm32_metapac::rtc::vals::Pcvalue
#[repr(u8)]pub enum Pcvalue {
LOW = 0,
HIGH = 1,
}
Variants§
LOW = 0
If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic low
HIGH = 1
If the LSE is disabled and PCxMODE = 1, set PCxVALUE to logic high
Implementations§
Trait Implementations§
§impl Ord for Pcvalue
impl Ord for Pcvalue
§impl PartialOrd for Pcvalue
impl PartialOrd for Pcvalue
§fn partial_cmp(&self, other: &Pcvalue) -> Option<Ordering>
fn partial_cmp(&self, other: &Pcvalue) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Pcvalue
impl Eq for Pcvalue
impl StructuralEq for Pcvalue
impl StructuralPartialEq for Pcvalue
Auto Trait Implementations§
impl RefUnwindSafe for Pcvalue
impl Send for Pcvalue
impl Sync for Pcvalue
impl Unpin for Pcvalue
impl UnwindSafe for Pcvalue
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