Enum stm32_metapac::rtc::vals::Osel
#[repr(u8)]pub enum Osel {
DISABLED = 0,
ALARMA = 1,
ALARMB = 2,
WAKEUP = 3,
}
Variants§
DISABLED = 0
Output disabled
ALARMA = 1
Alarm A output enabled
ALARMB = 2
Alarm B output enabled
WAKEUP = 3
Wakeup output enabled
Implementations§
Trait Implementations§
§impl Ord for Osel
impl Ord for Osel
§impl PartialOrd for Osel
impl PartialOrd for Osel
§fn partial_cmp(&self, other: &Osel) -> Option<Ordering>
fn partial_cmp(&self, other: &Osel) -> 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 Osel
impl Eq for Osel
impl StructuralEq for Osel
impl StructuralPartialEq for Osel
Auto Trait Implementations§
impl RefUnwindSafe for Osel
impl Send for Osel
impl Sync for Osel
impl Unpin for Osel
impl UnwindSafe for Osel
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