Enum avr_device::atmega32u4::tc0::tccr0a::WGM0_A
source · #[repr(u8)]pub enum WGM0_A {
NORMAL_TOP = 0,
PWM_PHASE = 1,
CTC = 2,
PWM_FAST = 3,
}
Expand description
Waveform Generation Mode
Value on reset: 0
Variants§
NORMAL_TOP = 0
0: Normal, Top: 0xff
, Update: Immediate, Flag: MAX
PWM_PHASE = 1
1: Phase Correct PWM, Top: 0xff
, Update: TOP, Flag: BOTTOM
CTC = 2
2: CTC, Top: OCRA, Update: Immediate, Flag: MAX
PWM_FAST = 3
3: Fast PWM, Top: 0xff
, Update: TOP, Flag: MAX
Trait Implementations§
impl Copy for WGM0_A
impl Eq for WGM0_A
impl StructuralPartialEq for WGM0_A
Auto Trait Implementations§
impl Freeze for WGM0_A
impl RefUnwindSafe for WGM0_A
impl Send for WGM0_A
impl Sync for WGM0_A
impl Unpin for WGM0_A
impl UnwindSafe for WGM0_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)