|
| enum class | Id : uint8_t { Timer0 = 0
, Timer1 = 1
, Timer2 = 2
} |
| | Hardware timer identifiers. More...
|
| enum class | Timer01ClockSelection : uint8_t {
Stopped = 0
, NoPrescaling = 1
, Divide8 = 2
, Divide64 = 3
,
Divide256 = 4
, Divide1024 = 5
, ExternalFallingEdge = 6
, ExternalRisingEdge = 7
} |
| | Timer0/Timer1 clock-select encodings. More...
|
| enum class | Timer01Prescaler : uint16_t {
Divide1 = 1
, Divide8 = 8
, Divide64 = 64
, Divide256 = 256
,
Divide1024 = 1024
} |
| | Timer0 and Timer1 prescaler values. More...
|
| enum class | Timer2Prescaler : uint16_t {
Divide1 = 1
, Divide8 = 8
, Divide32 = 32
, Divide64 = 64
,
Divide128 = 128
, Divide256 = 256
, Divide1024 = 1024
} |
| | Timer2 prescaler selections. More...
|
| enum class | Timer2ClockSelection : uint8_t {
Stopped = 0
, NoPrescaling = 1
, Divide8 = 2
, Divide32 = 3
,
Divide64 = 4
, Divide128 = 5
, Divide256 = 6
, Divide1024 = 7
} |
| | Timer2 clock source and prescaler selections. More...
|
| enum class | Timer0WaveformMode : uint8_t {
Normal = 0
, PhaseCorrectPWM = 1
, ClearOnCompare = 2
, FastPWM = 3
,
Reserved4 = 4
, PhaseCorrectPWMTopOCR0A = 5
, Reserved6 = 6
, FastPWMTopOCR0A = 7
} |
| | Timer0 waveform modes. More...
|
| enum class | Timer2WaveformMode : uint8_t {
Normal = 0
, PhaseCorrectPWM = 1
, ClearOnCompare = 2
, FastPWM = 3
,
Reserved4 = 4
, PhaseCorrectPWMTopOCR2A = 5
, Reserved6 = 6
, FastPWMTopOCR2A = 7
} |
| | Timer2 waveform modes. More...
|
| enum class | Timer1WaveformMode : uint8_t {
Normal = 0
, PhaseCorrectPWM8Bit = 1
, PhaseCorrectPWM9Bit = 2
, PhaseCorrectPWM10Bit = 3
,
ClearOnCompareOCR1A = 4
, FastPWM8Bit = 5
, FastPWM9Bit = 6
, FastPWM10Bit = 7
,
PhaseAndFrequencyCorrectPWMWithICR1 = 8
, PhaseAndFrequencyCorrectPWMWithOCR1A = 9
, PhaseCorrectPWMWithICR1 = 10
, PhaseCorrectPWMWithOCR1A = 11
,
ClearOnCompareICR1 = 12
, Reserved13 = 13
, FastPWMWithICR1 = 14
, FastPWMWithOCR1A = 15
} |
| | Timer1 waveform modes. More...
|
| enum | : uint8_t {
timer_count = 3U
, timer0_counter_bits = 8U
, timer1_counter_bits = 16U
, timer2_counter_bits = 8U
,
timer0_compare_channel_count = 2U
, timer1_compare_channel_count = 2U
, timer2_compare_channel_count = 2U
} |
| enum | : uint16_t { timer01_prescaler_count = 5
, timer2_prescaler_count = 7
} |
| enum class | PinSignal : uint8_t { Timer0ExternalClock = 0x24
, Timer1ExternalClock = 0x25
, Timer1InputCapture = 0x00
} |
| | Timer input pin identifiers. More...
|
Timer/counter definitions.