Type Alias avr_device::atmega2560::tc2::tccr2a::COM2B_W
source · pub type COM2B_W<'a, const O: u8> = FieldWriterSafe<'a, u8, TCCR2A_SPEC, u8, COM2B_A, 2, O>;Expand description
Field COM2B writer - Compare Output B Mode
Aliased Type§
struct COM2B_W<'a, const O: u8> { /* private fields */ }Implementations§
source§impl<'a, const O: u8> COM2B_W<'a, O>
impl<'a, const O: u8> COM2B_W<'a, O>
sourcepub fn disconnected(self) -> &'a mut W
pub fn disconnected(self) -> &'a mut W
Normal port operation, OCix disconnected
sourcepub fn match_toggle(self) -> &'a mut W
pub fn match_toggle(self) -> &'a mut W
Toggle OCix on Compare Match (Might depend on WGM)
sourcepub fn match_clear(self) -> &'a mut W
pub fn match_clear(self) -> &'a mut W
Clear OCix on Compare Match (If PWM is enabled, OCix is set at TOP)