[][src]Type Definition avr_device::atmega64::tc2::tccr2::W

type W = W<u8, TCCR2>;

Writer for register TCCR2

Implementations

impl W[src]

pub fn cs2(&mut self) -> CS2_W[src]

Bits 0:2 - Clock Select

pub fn wgm21(&mut self) -> WGM21_W[src]

Bit 3 - Waveform Generation Mode

pub fn com2(&mut self) -> COM2_W[src]

Bits 4:5 - Compare Match Output Mode

pub fn wgm20(&mut self) -> WGM20_W[src]

Bit 6 - Wafeform Generation Mode

pub fn foc2(&mut self) -> FOC2_W[src]

Bit 7 - Force Output Compare