Type Alias avr_device::attiny85::tc0::tccr0a::COM0A_W

source ·
pub type COM0A_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TCCR0A_SPEC, u8, COM0B_A, 2, O>;
Expand description

Field COM0A writer - Compare Output A Mode Field COM0B writer - Compare Output B Mode

Aliased Type§

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

Implementations§

source§

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