Type Alias avr_device::atmega2560::tc5::tccr5a::COM5B_W

source ·
pub type COM5B_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TCCR5A_SPEC, u8, COM5C_A, 2, O>;
Expand description

Field COM5B writer - Compare Output Mode 5B, bits Field COM5C writer - Compare Output Mode 5C, bits

Aliased Type§

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

Implementations§

source§

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