[−][src]Struct avr_device::atmega8::tc2::tccr2::W
Register TCCR2 writer
Implementations
impl W[src]
pub fn cs2(&mut self) -> CS2_W<'_>[src]
Bits 0:2 - Clock Select bits
pub fn wgm21(&mut self) -> WGM21_W<'_>[src]
Bit 3 - Waveform Generation Mode
pub fn com2(&mut self) -> COM2_W<'_>[src]
Bits 4:5 - Compare Output Mode bits
pub fn wgm20(&mut self) -> WGM20_W<'_>[src]
Bit 6 - Waveform Genration Mode
pub fn foc2(&mut self) -> FOC2_W<'_>[src]
Bit 7 - Force Output Compare
pub unsafe fn bits(&mut self, bits: u8) -> &mut Self[src]
Writes raw bits to the register.
Methods from Deref<Target = W<TCCR2_SPEC>>
Trait Implementations
impl Deref for W[src]
type Target = W<TCCR2_SPEC>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
impl DerefMut for W[src]
impl From<W<TCCR2_SPEC>> for W[src]
fn from(writer: W<TCCR2_SPEC>) -> Self[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,