Enum stm32_metapac::rtc::vals::Pol
#[repr(u8)]pub enum Pol {
HIGH = 0,
LOW = 1,
}
Variants§
HIGH = 0
The pin is high when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
LOW = 1
The pin is low when ALRAF/ALRBF/WUTF is asserted (depending on OSEL[1:0])
Implementations§
Trait Implementations§
§impl Ord for Pol
impl Ord for Pol
§impl PartialOrd for Pol
impl PartialOrd for Pol
§fn partial_cmp(&self, other: &Pol) -> Option<Ordering>
fn partial_cmp(&self, other: &Pol) -> 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 Pol
impl Eq for Pol
impl StructuralEq for Pol
impl StructuralPartialEq for Pol
Auto Trait Implementations§
impl RefUnwindSafe for Pol
impl Send for Pol
impl Sync for Pol
impl Unpin for Pol
impl UnwindSafe for Pol
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