Enum atsam4s2c_pac::rtc::cr::TIMEVSEL_A
source · #[repr(u8)]
pub enum TIMEVSEL_A {
MINUTE,
HOUR,
MIDNIGHT,
NOON,
}
Expand description
Time Event Selection
Value on reset: 0
Variants§
MINUTE
0: Minute change
HOUR
1: Hour change
MIDNIGHT
2: Every day at midnight
NOON
3: Every day at noon
Trait Implementations§
source§impl Clone for TIMEVSEL_A
impl Clone for TIMEVSEL_A
source§fn clone(&self) -> TIMEVSEL_A
fn clone(&self) -> TIMEVSEL_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 TIMEVSEL_A
impl Debug for TIMEVSEL_A
source§impl From<TIMEVSEL_A> for u8
impl From<TIMEVSEL_A> for u8
source§fn from(variant: TIMEVSEL_A) -> Self
fn from(variant: TIMEVSEL_A) -> Self
Converts to this type from the input type.
source§impl PartialEq<TIMEVSEL_A> for TIMEVSEL_A
impl PartialEq<TIMEVSEL_A> for TIMEVSEL_A
source§fn eq(&self, other: &TIMEVSEL_A) -> bool
fn eq(&self, other: &TIMEVSEL_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TIMEVSEL_A
impl Eq for TIMEVSEL_A
impl StructuralEq for TIMEVSEL_A
impl StructuralPartialEq for TIMEVSEL_A
Auto Trait Implementations§
impl RefUnwindSafe for TIMEVSEL_A
impl Send for TIMEVSEL_A
impl Sync for TIMEVSEL_A
impl Unpin for TIMEVSEL_A
impl UnwindSafe for TIMEVSEL_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