Rainbow-electronics ATmega162V Manual de usuario Pagina 149

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 323
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 148
149
ATmega162/V
2513E–AVR–09/03
match (CTC) mode, and two types of Pulse Width Modulation (PWM) modes. See Table
60 and “Modes of Operation” on page 142.
Note: 1. The CTC2 and PWM2 bit definition names are now obsolete. Use the WGM21:0 def-
initions. However, the functionality and location of these bits are compatible with
previous versions of the timer.
Table 60. Waveform Generation Mode Bit Description
(1)
Mode
WGM21
(CTC2)
WGM20
(PWM2)
Timer/Counter Mode
of Operation TOP
Update of
OCR2 at
TOV2 Flag
Set on
0 0 0 Normal 0xFF Immediate MAX
1 0 1 PWM, Phase Correct 0xFF TOP BOTTOM
2 1 0 CTC OCR2 Immediate MAX
3 1 1 Fast PWM 0xFF TOP MAX
Vista de pagina 148
1 2 ... 144 145 146 147 148 149 150 151 152 153 154 ... 322 323

Comentarios a estos manuales

Sin comentarios