Type Alias avr_device::attiny85::tc1::gtccr::COM1B_W

source ·
pub type COM1B_W<'a, const O: u8> = FieldWriterSafe<'a, u8, GTCCR_SPEC, u8, COM1B_A, 2, O>;
Expand description

Field COM1B writer - Comparator B Output Mode

Aliased Type§

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

Implementations§

source§

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

source

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

Clear OCix on Compare Match

source

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

Set OCix on Compare Match