Enum avr_device::atmega328p::tc2::tccr2a::COM2B_A
source · #[repr(u8)]pub enum COM2B_A {
DISCONNECTED = 0,
MATCH_TOGGLE = 1,
MATCH_CLEAR = 2,
MATCH_SET = 3,
}
Expand description
Compare Output B Mode
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 TOP)
MATCH_SET = 3
3: Set OCix on Compare Match (If PWM is enabled, OCix is cleared at TOP)
Trait Implementations§
impl Copy for COM2B_A
impl Eq for COM2B_A
impl StructuralPartialEq for COM2B_A
Auto Trait Implementations§
impl Freeze for COM2B_A
impl RefUnwindSafe for COM2B_A
impl Send for COM2B_A
impl Sync for COM2B_A
impl Unpin for COM2B_A
impl UnwindSafe for COM2B_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
)