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
Methods from Deref<Target = W<TCCR2B_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