#[repr(u8)]
pub enum WAVEGEN_A {
NFRQ,
MFRQ,
NPWM,
DSCRITICAL,
DSBOTTOM,
DSBOTH,
DSTOP,
}
Expand description
Waveform Generation
Value on reset: 0
Variants
NFRQ
0: Normal frequency
MFRQ
1: Match frequency
NPWM
2: Normal PWM
DSCRITICAL
4: Dual-slope critical
DSBOTTOM
5: Dual-slope with interrupt/event condition when COUNT reaches ZERO
DSBOTH
6: Dual-slope with interrupt/event condition when COUNT reaches ZERO or TOP
DSTOP
7: Dual-slope with interrupt/event condition when COUNT reaches TOP
Trait Implementations
impl Copy for WAVEGEN_A
impl StructuralPartialEq for WAVEGEN_A
Auto Trait Implementations
impl RefUnwindSafe for WAVEGEN_A
impl Send for WAVEGEN_A
impl Sync for WAVEGEN_A
impl Unpin for WAVEGEN_A
impl UnwindSafe for WAVEGEN_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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