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
Methods from Deref<Target = W<TCCR2A_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more