Enum rp6::avr::modules::WaveformGenerationMode8
source · pub enum WaveformGenerationMode8 {
Normal,
PwmPhaseCorrect,
ClearOnTimerMatchOutputCompare,
FastPwm,
PwmPhaseCorrectOutputCompare,
FastPwmOutputCompare,
}
Variants§
Normal
PwmPhaseCorrect
ClearOnTimerMatchOutputCompare
FastPwm
PwmPhaseCorrectOutputCompare
FastPwmOutputCompare
Implementations§
source§impl WaveformGenerationMode
impl WaveformGenerationMode
sourcefn bits<T: Timer8>(
&self
) -> (RegisterBits<T::ControlA>, RegisterBits<T::ControlB>)
fn bits<T: Timer8>(
&self
) -> (RegisterBits<T::ControlA>, RegisterBits<T::ControlB>)
Returns bits for TCCR0A, TCCR0B
fn mask<T: Timer8>() -> (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