Motor de Búsqueda de Datasheet de Componentes Electrónicos
  Mexican  ▼
ALLDATASHEET.COM.MX

X  

ATmega16HVB Datasheet(PDF) 84 Page - ATMEL Corporation

No. de pieza ATmega16HVB
Descripción Electrónicos  8-bit Microcontroller with 16K/32K Bytes In-System Programmable Flash
PDF  273 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricante Electrónico  ATMEL [ATMEL Corporation]
Página de inicio  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega16HVB Datasheet(HTML) 84 Page - ATMEL Corporation

Back Button ATmega16HVB Datasheet HTML 80Page - ATMEL Corporation ATmega16HVB Datasheet HTML 81Page - ATMEL Corporation ATmega16HVB Datasheet HTML 82Page - ATMEL Corporation ATmega16HVB Datasheet HTML 83Page - ATMEL Corporation ATmega16HVB Datasheet HTML 84Page - ATMEL Corporation ATmega16HVB Datasheet HTML 85Page - ATMEL Corporation ATmega16HVB Datasheet HTML 86Page - ATMEL Corporation ATmega16HVB Datasheet HTML 87Page - ATMEL Corporation ATmega16HVB Datasheet HTML 88Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 84 / 273 page
background image
84
8042A–AVR–07/09
ATmega16HVB/32HVB
Signal description (internal signals):
count
Increment or decrement TCNTn by 1.
clk
Tn
Timer/Counter clock, referred to as clk
Tn in the following.
top
Signalize that TCNTn has reached maximum value.
The counter is incremented at each timer clock (clk
Tn) until it passes its TOP value and then
restarts from BOTTOM. The counting sequence is determined by the setting of the WGMn0 bits
located in the Timer/Counter Control Register (TCCRnA). For more details about counting
sequences, see ”Timer/Counter Timing Diagrams” on page 89. clk
Tn can be generated from an
external or internal clock source, selected by the Clock Select bits (CSn2:0). When no clock
source is selected (CSn2:0 = 0) the timer is stopped. However, the TCNTn value can be
accessed by the CPU, regardless of whether clk
Tn is present or not. A CPU write overrides (has
priority over) all counter clear or count operations. The Timer/Counter Overflow Flag (TOVn) is
set when the counter reaches the maximum value and it can be used for generating a CPU
interrupt.
17.5
Modes of Operation
The mode of operation is defined by the Timer/Counter Width (TCWn), Input Capture Enable
(ICENn) and the Waveform Generation Mode (WGMn0)bits in ”TCCRnA – Timer/Counter n
Control Register A” on page 94. Table 17-2 on page 84 shows the different Modes of Operation.
17.5.1
Normal 8-bit Mode
In the normal mode, the counter (TCNTnL) is incrementing until it overruns when it passes its
maximum 8-bit value (MAX = 0xFF) and then restarts from the bottom (0x00), see Table 17-2 on
page 84 for bit settings. The Overflow Flag (TOVn) will be set in the same timer clock cycle as
the TCNTnL becomes zero. The TOVn Flag in this case behaves like a ninth bit, except that it is
only set, not cleared. However, combined with the timer overflow interrupt that automatically
clears the TOVn Flag, the timer resolution can be increased by software. There are no special
cases to consider in the Normal 8-bit mode, a new counter value can be written anytime. The
Output Compare Unit can be used to generate interrupts at some given time.
17.5.2
Clear Timer on Compare Match (CTC) 8-bit Mode
In Clear Timer on Compare or CTC mode, the OCRnA Register is used to manipulate the coun-
ter resolution, see Table 17-2 on page 84 for bit settings. In CTC mode the counter is cleared to
Table 17-2.
Modes of Operation
Mode
ICENn
TCWn
WGMn0
Timer/Counter Mode
of Operation
TOP
Update of
OCRx at
TOV Flag
Set on
0
0
0
0
Normal 8-bit Mode
0xFF
Immediate
MAX (0xFF)
1
0
0
1
8-bit CTC
OCRnA
Immediate
MAX (0xFF)
2
0
1
0
16-bit Mode
0xFFFF
Immediate
MAX (0xFFFF)
3
0
1
1
16-bit CTC
OCRnB,
OCRnA
Immediate
MAX (0xFFFF)
41
0
0
8-bit Input Capture
mode
0xFF
MAX (0xFF)
51
1
0
16-bit Input Capture
mode
0xFFFF
MAX (0xFFFF)



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Descarga

Go To PDF Page


Enlace URL



¿ALLDATASHEET es útil para Ud.?  [ DONATE ] 

Todo acerca de Alldatasheet   |   Publicidad   |   Contáctenos   |   Política de Privacidad   |   Enlace a la hoja de datos    |   Intercambio de Enlaces   |   Lista de Fabricantes
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com