Type Alias COM0A_W

Source
pub type COM0A_W<'a, REG> = FieldWriter<'a, REG, 2, COM0B_A, Safe>;
Expand description

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

Aliased Type§

struct COM0A_W<'a, REG> { /* private fields */ }

Implementations§

Source§

impl<'a, REG> COM0B_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

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

Normal port operation, OCix disconnected

Source

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

Toggle OCix on Compare Match (Might depend on WGM)

Source

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

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

Source

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

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