pub struct W(/* private fields */);Expand description
Register TCCR2A writer
Implementations§
source§impl W
impl W
sourcepub fn wgm2(
&mut self
) -> FieldWriterRaw<'_, u8, TCCR2A_SPEC, u8, WGM2_A, Safe, 2, 0>
pub fn wgm2( &mut self ) -> FieldWriterRaw<'_, u8, TCCR2A_SPEC, u8, WGM2_A, Safe, 2, 0>
Bits 0:1 - Waveform Genration Mode
sourcepub fn com2b(
&mut self
) -> FieldWriterRaw<'_, u8, TCCR2A_SPEC, u8, COM2B_A, Safe, 2, 4>
pub fn com2b( &mut self ) -> FieldWriterRaw<'_, u8, TCCR2A_SPEC, u8, COM2B_A, Safe, 2, 4>
Bits 4:5 - Compare Output B Mode
sourcepub fn com2a(
&mut self
) -> FieldWriterRaw<'_, u8, TCCR2A_SPEC, u8, COM2B_A, Safe, 2, 6>
pub fn com2a( &mut self ) -> FieldWriterRaw<'_, u8, TCCR2A_SPEC, u8, COM2B_A, Safe, 2, 6>
Bits 6:7 - Compare Output A Mode