Enum rp6::avr::modules::WaveformGenerationMode16   
source · pub enum WaveformGenerationMode16 {
Show 15 variants
    Normal,
    PwmPhaseCorrect8Bit,
    PwmPhaseCorrect9Bit,
    PwmPhaseCorrect10Bit,
    ClearOnTimerMatchOutputCompare,
    FastPwm8Bit,
    FastPwm9Bit,
    FastPwm10Bit,
    PwmPhaseAndFrequencyCorrectInputCapture,
    PwmPhaseAndFrequencyCorrectOutputCompare,
    PwmPhaseCorrectInputCapture,
    PwmPhaseCorrectOutputCompare,
    ClearOnTimerMatchInputCapture,
    FastPwmInputCapture,
    FastPwmOutputCompare,
}Variants§
Normal
PwmPhaseCorrect8Bit
PwmPhaseCorrect9Bit
PwmPhaseCorrect10Bit
ClearOnTimerMatchOutputCompare
FastPwm8Bit
FastPwm9Bit
FastPwm10Bit
PwmPhaseAndFrequencyCorrectInputCapture
PwmPhaseAndFrequencyCorrectOutputCompare
PwmPhaseCorrectInputCapture
PwmPhaseCorrectOutputCompare
ClearOnTimerMatchInputCapture
FastPwmInputCapture
FastPwmOutputCompare
Implementations§
source§impl WaveformGenerationMode
 
impl WaveformGenerationMode
sourcefn bits<T: Timer16>(
    &self
) -> (RegisterBits<T::ControlA>, RegisterBits<T::ControlB>)
 
fn bits<T: Timer16>(
    &self
) -> (RegisterBits<T::ControlA>, RegisterBits<T::ControlB>)
Returns bits for TCCR1A, TCCR1B
fn mask<T: Timer16>() -> (RegisterBits<T::ControlA>, RegisterBits<T::ControlB>)
Auto Trait Implementations§
impl RefUnwindSafe for WaveformGenerationMode
impl Send for WaveformGenerationMode
impl Sync for WaveformGenerationMode
impl Unpin for WaveformGenerationMode
impl UnwindSafe for WaveformGenerationMode
Blanket Implementations§
§impl<T> Any for Twhere
    T: 'static + ?Sized,
 
impl<T> Any for Twhere
    T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
    T: ?Sized,
 
impl<T> Borrow<T> for Twhere
    T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more