Enum atsame70n21b::rtc::mr::OUT0SELECT_A
source · #[repr(u8)]pub enum OUT0SELECT_A {
NO_WAVE = 0,
FREQ1HZ = 1,
FREQ32HZ = 2,
FREQ64HZ = 3,
FREQ512HZ = 4,
ALARM_TOGGLE = 5,
ALARM_FLAG = 6,
PROG_PULSE = 7,
}
Expand description
RTCOUT0 OutputSource Selection
Value on reset: 0
Variants§
NO_WAVE = 0
0: No waveform, stuck at ‘0’
FREQ1HZ = 1
1: 1 Hz square wave
FREQ32HZ = 2
2: 32 Hz square wave
FREQ64HZ = 3
3: 64 Hz square wave
FREQ512HZ = 4
4: 512 Hz square wave
ALARM_TOGGLE = 5
5: Output toggles when alarm flag rises
ALARM_FLAG = 6
6: Output is a copy of the alarm flag
PROG_PULSE = 7
7: Duty cycle programmable pulse
Trait Implementations§
source§impl Clone for OUT0SELECT_A
impl Clone for OUT0SELECT_A
source§fn clone(&self) -> OUT0SELECT_A
fn clone(&self) -> OUT0SELECT_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 OUT0SELECT_A
impl Debug for OUT0SELECT_A
source§impl From<OUT0SELECT_A> for u8
impl From<OUT0SELECT_A> for u8
source§fn from(variant: OUT0SELECT_A) -> Self
fn from(variant: OUT0SELECT_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for OUT0SELECT_A
impl PartialEq for OUT0SELECT_A
source§fn eq(&self, other: &OUT0SELECT_A) -> bool
fn eq(&self, other: &OUT0SELECT_A) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OUT0SELECT_A
impl Eq for OUT0SELECT_A
impl StructuralEq for OUT0SELECT_A
impl StructuralPartialEq for OUT0SELECT_A
Auto Trait Implementations§
impl RefUnwindSafe for OUT0SELECT_A
impl Send for OUT0SELECT_A
impl Sync for OUT0SELECT_A
impl Unpin for OUT0SELECT_A
impl UnwindSafe for OUT0SELECT_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