Enum atsam4s2c_pac::rtc::mr::OUT1_A
source · #[repr(u8)]
pub enum OUT1_A {
NO_WAVE,
FREQ1HZ,
FREQ32HZ,
FREQ64HZ,
FREQ512HZ,
ALARM_TOGGLE,
ALARM_FLAG,
PROG_PULSE,
}
Expand description
RTCOUT1 Output Source Selection
Value on reset: 0
Variants§
NO_WAVE
0: no waveform, stuck at ‘0’
FREQ1HZ
1: 1 Hz square wave
FREQ32HZ
2: 32 Hz square wave
FREQ64HZ
3: 64 Hz square wave
FREQ512HZ
4: 512 Hz square wave
ALARM_TOGGLE
5: output toggles when alarm flag rises
ALARM_FLAG
6: output is a copy of the alarm flag
PROG_PULSE
7: duty cycle programmable pulse
Trait Implementations§
source§impl PartialEq<OUT1_A> for OUT1_A
impl PartialEq<OUT1_A> for OUT1_A
impl Copy for OUT1_A
impl Eq for OUT1_A
impl StructuralEq for OUT1_A
impl StructuralPartialEq for OUT1_A
Auto Trait Implementations§
impl RefUnwindSafe for OUT1_A
impl Send for OUT1_A
impl Sync for OUT1_A
impl Unpin for OUT1_A
impl UnwindSafe for OUT1_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