Trait ruduino::modules::Timer8 [−][src]
A 8-bit timer.
Associated Types
type CompareA: Register<T = u8>
[src]
The first compare register. For example, OCR0A.
type CompareB: Register<T = u8>
[src]
The second compare register. For example, OCR0B.
type Counter: Register<T = u8>
[src]
The counter register.
For example, TCNT0.
type ControlA: Register<T = u8>
[src]
The first control register.
For example, TCCR0A.
type ControlB: Register<T = u8>
[src]
The second control register.
For example, TCCR0B.
type InterruptMask: Register<T = u8>
[src]
The interrupt mask register.
For example, TIMSK0.
type InterruptFlag: Register<T = u8>
[src]
The interrupt flag register.
For example, TIFR0.
Associated Constants
const CS0: RegisterBits<Self::ControlB>
[src]
Bit 0 of the clock select mask.
const CS1: RegisterBits<Self::ControlB>
[src]
Bit 1 of the clock select mask.
const CS2: RegisterBits<Self::ControlB>
[src]
Bit 2 of the clock select mask.
const WGM0: RegisterBits<Self::ControlA>
[src]
Bit 0 of the waveform generation mode mask.
const WGM1: RegisterBits<Self::ControlA>
[src]
Bit 1 of the waveform generation mode mask.
const WGM2: RegisterBits<Self::ControlB>
[src]
Bit 2 of the waveform generation mode mask.
const OCIEA: RegisterBits<Self::InterruptMask>
[src]
Output compare interrupt enable flag.