[][src]Type Definition avr_device::atmega328p::tc2::tccr2b::W

type W = W<u8, TCCR2B>;

Writer for register TCCR2B

Implementations

impl W[src]

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

Bits 0:2 - Clock Select bits

pub fn wgm22(&mut self) -> WGM22_W[src]

Bit 3 - Waveform Generation Mode High Bit (Enable Top: OCRA for PWM modes)

pub fn foc2b(&mut self) -> FOC2B_W[src]

Bit 6 - Force Output Compare B

pub fn foc2a(&mut self) -> FOC2A_W[src]

Bit 7 - Force Output Compare A