Rainbow-electronics ATtiny10 Manual do Utilizador Página 52

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 166
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 51
52
8127B–AVR–08/09
ATtiny4/5/9/10
11. 16-bit Timer/Counter0
11.1 Features
True 16-bit Design, Including 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 (TOV0, OCF0A, OCF0B, and ICF0)
11.2 Overview
The 16-bit Timer/Counter unit allows accurate program execution timing (event management),
wave generation, and signal timing measurement.
Figure 11-1. 16-bit Timer/Counter Block Diagram
Clock Select
Timer/Counter
DATA B U
S
OCRnA
OCRnB
ICRn
=
=
TCNTn
Waveform
Generation
Waveform
Generation
OCnA
OCnB
Noise
Canceler
ICPn
=
Fixed
TOP
Values
Edge
Detector
Control Logic
= 0
TOP BOTTOM
Count
Clear
Direction
TOVn
(Int.Req.)
OCnA
(Int.Req.)
OCnB
(Int.Req.)
ICFn (Int.Req.)
TCCRnA TCCRnB
( From Analog
Comparator Ouput )
Tn
Edge
Detector
( From Prescaler )
clk
Tn
Vista de página 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 165 166

Comentários a estes Manuais

Sem comentários