pub struct W(/* private fields */);
Expand description
Register TCCR0B
writer
Implementations§
source§impl W
impl W
sourcepub fn cs0(
&mut self
) -> FieldWriterRaw<'_, u8, TCCR0B_SPEC, u8, CS0_A, Safe, 3, 0>
pub fn cs0( &mut self ) -> FieldWriterRaw<'_, u8, TCCR0B_SPEC, u8, CS0_A, Safe, 3, 0>
Bits 0:2 - Clock Select
sourcepub fn wgm02(&mut self) -> BitWriterRaw<'_, u8, TCCR0B_SPEC, bool, BitM, 3>
pub fn wgm02(&mut self) -> BitWriterRaw<'_, u8, TCCR0B_SPEC, bool, BitM, 3>
Bit 3 - Waveform Generation Mode High Bit (Enable Top: OCRA for PWM
modes)
sourcepub fn foc0b(&mut self) -> BitWriterRaw<'_, u8, TCCR0B_SPEC, bool, BitM, 6>
pub fn foc0b(&mut self) -> BitWriterRaw<'_, u8, TCCR0B_SPEC, bool, BitM, 6>
Bit 6 - Force Output Compare B
sourcepub fn foc0a(&mut self) -> BitWriterRaw<'_, u8, TCCR0B_SPEC, bool, BitM, 7>
pub fn foc0a(&mut self) -> BitWriterRaw<'_, u8, TCCR0B_SPEC, bool, BitM, 7>
Bit 7 - Force Output Compare A
Methods from Deref<Target = W<TCCR0B_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