pub struct W(/* private fields */);Expand description
Register TCCR2B writer
Implementations§
source§impl W
impl W
sourcepub fn cs2(
&mut self
) -> FieldWriterRaw<'_, u8, TCCR2B_SPEC, u8, CS2_A, Safe, 3, 0>
pub fn cs2( &mut self ) -> FieldWriterRaw<'_, u8, TCCR2B_SPEC, u8, CS2_A, Safe, 3, 0>
Bits 0:2 - Clock Select bits
sourcepub fn wgm22(&mut self) -> BitWriterRaw<'_, u8, TCCR2B_SPEC, bool, BitM, 3>
pub fn wgm22(&mut self) -> BitWriterRaw<'_, u8, TCCR2B_SPEC, bool, BitM, 3>
Bit 3 - Waveform Generation Mode High Bit (Enable Top: OCRA for PWM modes)
sourcepub fn foc2b(&mut self) -> BitWriterRaw<'_, u8, TCCR2B_SPEC, bool, BitM, 6>
pub fn foc2b(&mut self) -> BitWriterRaw<'_, u8, TCCR2B_SPEC, bool, BitM, 6>
Bit 6 - Force Output Compare B
sourcepub fn foc2a(&mut self) -> BitWriterRaw<'_, u8, TCCR2B_SPEC, bool, BitM, 7>
pub fn foc2a(&mut self) -> BitWriterRaw<'_, u8, TCCR2B_SPEC, bool, BitM, 7>
Bit 7 - Force Output Compare A