Enum avr_device::atmega2560::tc3::tccr3a::COM3C_A
source · #[repr(u8)]pub enum COM3C_A {
DISCONNECTED = 0,
MATCH_TOGGLE = 1,
MATCH_CLEAR = 2,
MATCH_SET = 3,
}
Expand description
Compare Output Mode 3C, bits
Value on reset: 0
Variants§
DISCONNECTED = 0
0: Normal port operation, OCix disconnected
MATCH_TOGGLE = 1
1: Toggle OCix on Compare Match (Might depend on WGM)
MATCH_CLEAR = 2
2: Clear OCix on Compare Match (If PWM is enabled, OCix is set at BOTTOM)
MATCH_SET = 3
3: Set OCix on Compare Match (If PWM is enabled, OCix is cleared at BOTTOM)
Trait Implementations§
source§impl PartialEq for COM3C_A
impl PartialEq for COM3C_A
impl Copy for COM3C_A
impl Eq for COM3C_A
impl StructuralPartialEq for COM3C_A
Auto Trait Implementations§
impl RefUnwindSafe for COM3C_A
impl Send for COM3C_A
impl Sync for COM3C_A
impl Unpin for COM3C_A
impl UnwindSafe for COM3C_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