Enum atsam4s2a_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§
source§impl Clone for CALEVSEL_A
impl Clone for CALEVSEL_A
source§fn clone(&self) -> CALEVSEL_A
fn clone(&self) -> CALEVSEL_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CALEVSEL_A
impl Debug for CALEVSEL_A
source§impl From<CALEVSEL_A> for u8
impl From<CALEVSEL_A> for u8
source§fn from(variant: CALEVSEL_A) -> Self
fn from(variant: CALEVSEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<CALEVSEL_A> for CALEVSEL_A
impl PartialEq<CALEVSEL_A> for CALEVSEL_A
source§fn eq(&self, other: &CALEVSEL_A) -> bool
fn eq(&self, other: &CALEVSEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CALEVSEL_A
impl Eq for CALEVSEL_A
impl StructuralEq 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§
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