Enum atsam4sa16c_pac::rtc::cr::CALEVSEL_A
source · [−]#[repr(u8)]
pub enum CALEVSEL_A {
WEEK,
MONTH,
YEAR,
}
Expand description
Calendar Event Selection
Value on reset: 0
Variants
WEEK
0: Week change (every Monday at time 00:00:00)
MONTH
1: Month change (every 01 of each month at time 00:00:00)
YEAR
2: Year change (every January 1 at time 00:00:00)
Trait Implementations
sourceimpl Clone for CALEVSEL_A
impl Clone for CALEVSEL_A
sourcefn clone(&self) -> CALEVSEL_A
fn clone(&self) -> CALEVSEL_A
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CALEVSEL_A
impl Debug for CALEVSEL_A
sourceimpl From<CALEVSEL_A> for u8
impl From<CALEVSEL_A> for u8
sourcefn from(variant: CALEVSEL_A) -> Self
fn from(variant: CALEVSEL_A) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<CALEVSEL_A> for CALEVSEL_A
impl PartialEq<CALEVSEL_A> for CALEVSEL_A
impl Copy for CALEVSEL_A
impl StructuralPartialEq for CALEVSEL_A
Auto Trait Implementations
impl RefUnwindSafe for CALEVSEL_A
impl Send for CALEVSEL_A
impl Sync for CALEVSEL_A
impl Unpin for CALEVSEL_A
impl UnwindSafe for CALEVSEL_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more