#[repr(u8)]
pub enum OUT0_A {
NO_WAVE,
FREQ1HZ,
FREQ32HZ,
FREQ64HZ,
FREQ512HZ,
ALARM_TOGGLE,
ALARM_FLAG,
PROG_PULSE,
}
Expand description
RTCOUT0 OutputSource 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
impl Copy for OUT0_A
impl StructuralPartialEq for OUT0_A
Auto Trait Implementations
impl RefUnwindSafe for OUT0_A
impl Send for OUT0_A
impl Sync for OUT0_A
impl Unpin for OUT0_A
impl UnwindSafe for OUT0_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