поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

ATtiny43U датащи(PDF) 81 Page - ATMEL Corporation

номер детали ATtiny43U
подробное описание детали  8-bit Microcontroller with 4K Bytes In-System Programmable Flash and Boost Converter
PDF  182 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  ATMEL [ATMEL Corporation]
домашняя страница  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATtiny43U датащи(HTML) 81 Page - ATMEL Corporation

Back Button ATtiny43U Datasheet HTML 77Page - ATMEL Corporation ATtiny43U Datasheet HTML 78Page - ATMEL Corporation ATtiny43U Datasheet HTML 79Page - ATMEL Corporation ATtiny43U Datasheet HTML 80Page - ATMEL Corporation ATtiny43U Datasheet HTML 81Page - ATMEL Corporation ATtiny43U Datasheet HTML 82Page - ATMEL Corporation ATtiny43U Datasheet HTML 83Page - ATMEL Corporation ATtiny43U Datasheet HTML 84Page - ATMEL Corporation ATtiny43U Datasheet HTML 85Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 81 / 182 page
background image
81
8048B–AVR–03/09
Figure 12-2. Counter Unit Block Diagram
Signal description (internal signals):
count
Increment or decrement TCNTn by 1.
direction
Select between increment and decrement.
clear
Clear TCNTn (set all bits to zero).
clk
Tn
Timer/Counter clock, referred to as clk
Tn in the following.
top
Signalize that TCNTn has reached maximum value.
bottom
Signalize that TCNTn has reached minimum value (zero).
Depending of the mode of operation used, the counter is cleared, incremented, or decremented
at each timer clock (clk
Tn). clkTn 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 counting sequence is determined by the setting of the WGMn1 and WGMn0 bits located in
the Timer/Counter Control Register (TCCRnA) and the WGMn2 bit located in the Timer/Counter
Control Register B (TCCRnB). There are close connections between how the counter behaves
(counts) and how waveforms are generated on the Output Compare output OCnA. For more
details about advanced counting sequences and waveform generation, see “Modes of Opera-
tion” on page 84.
The Timer/Counter Overflow Flag (TOVn) is set according to the mode of operation selected by
the WGMn1:0 bits. TOVn can be used for generating a CPU interrupt.
12.5
Output Compare Unit
The 8-bit comparator continuously compares TCNTn with the Output Compare Registers
(OCRnA and OCRnB). Whenever TCNTn equals OCRnA or OCRnB, the comparator signals a
match. A match will set the Output Compare Flag (OCFnA or OCFnB) at the next timer clock
cycle. If the corresponding interrupt is enabled, the Output Compare Flag generates an Output
Compare interrupt. The Output Compare Flag is automatically cleared when the interrupt is exe-
cuted. Alternatively, the flag can be cleared by software by writing a logical one to its I/O bit
location. The Waveform Generator uses the match signal to generate an output according to
operating mode set by the WGMn2:0 bits and Compare Output mode (COMnx1:0) bits. The max
and bottom signals are used by the Waveform Generator for handling the special cases of the
extreme values in some modes of operation. See “Modes of Operation” on page 84.
Figure 12-3 on page 82 shows a block diagram of the Output Compare unit.
DATA BUS
TCNTn
Control Logic
count
TOVn
(Int.Req.)
Clock Select
top
Tn
Edge
Detector
( From Prescaler )
clk
Tn
bottom
direction
clear



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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