Type Alias avr_device::atmega2560::tc3::tccr3a::COM3B_W

source ·
pub type COM3B_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TCCR3A_SPEC, u8, COM3C_A, 2, O>;
Expand description

Field COM3B writer - Compare Output Mode 3B, bits Field COM3C writer - Compare Output Mode 3C, bits

Aliased Type§

struct COM3B_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> COM3C_W<'a, O>

source

pub fn disconnected(self) -> &'a mut W

Normal port operation, OCix disconnected

source

pub fn match_toggle(self) -> &'a mut W

Toggle OCix on Compare Match (Might depend on WGM)

source

pub fn match_clear(self) -> &'a mut W

Clear OCix on Compare Match (If PWM is enabled, OCix is set at BOTTOM)

source

pub fn match_set(self) -> &'a mut W

Set OCix on Compare Match (If PWM is enabled, OCix is cleared at BOTTOM)