Type Alias avr_device::atmega2560::tc4::tccr4a::COM4B_W

source ·
pub type COM4B_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TCCR4A_SPEC, u8, COM4C_A, 2, O>;
Expand description

Field COM4B writer - Compare Output Mode 4B, bits Field COM4C writer - Compare Output Mode 4C, bits

Aliased Type§

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

Implementations§

source§

impl<'a, const O: u8> COM4C_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)