Rainbow-electronics ATmega8515L Uživatelský manuál Strana 94

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 223
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 93
94
ATmega8515(L)
2512A–AVR–04/02
16-bit
Timer/Counter1
The16-bit Timer/Counter unit allows accurate program execution timing (event man-
agement), wave generation, andsignal timing measurement. Themainfeatures are:
True 16-bit Design (i.e., allows 16-bit PWM)
Two Independent Output Compare Units
Double Buffered Output Compare Registers
One Input Capture Unit
Input Capture Noise Canceler
Clear Timer on Compare Match (Auto Reload)
Glitch-free, Phase Correct Pulse Width Modulator (PWM)
Variable PWM Period
Frequency Generator
External Event Counter
Four Independent Interrupt Sources (TOV1, OCF1A, OCF1B, and ICF1)
Overview Most register andbit references in thisdocument are writteningeneralform. A lower
case“nreplaces theTimer/Counter number, and a lowercase“x replaces theoutput
compare unit channel. However, when using the register orbit defines in a program, the
precise formmust beused, i.e., TCNT1 for accessing Timer/Counter1 counter value
andsoon.The physicalI/Oregister andbit locationsfor ATmega8515 are listed in the
“16-bit Timer/Counter RegisterDescription” on page 116.
A simplifiedblock diagram of the16-bit Timer/Counter isshowninFigure46. CPU
accessible I/Oregisters, including I/Obits andI/Opins, are showninbold.
Zobrazit stránku 93
1 2 ... 89 90 91 92 93 94 95 96 97 98 99 ... 222 223

Komentáře k této Příručce

Žádné komentáře