Zakładka z wyszukiwarką danych komponentów
Selected language     Polish  ▼

Delete All
ON OFF
ALLDATASHEET.PL

X  

Preview PDF Download HTML

ATmega16-16PU Dane(HTML) 73 Page - ATMEL Corporation

Numer części ATmega16-16PU
Szczegółowy opis  8-bit Microcontroller with 16K Bytes In-Syustem Programmable Flash
Pobierz  357 Pages
Scroll/Zoom Zoom In 100% Zoom Out
Producent  ATMEL [ATMEL Corporation]
Strona internetowa  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATmega16-16PU Datasheet(Arkusz danych) 73 Page - ATMEL Corporation

Back Button ATmega16-16PU Datasheet HTML 69Page - ATMEL Corporation ATmega16-16PU Datasheet HTML 70Page - ATMEL Corporation ATmega16-16PU Datasheet HTML 71Page - ATMEL Corporation ATmega16-16PU Datasheet HTML 72Page - ATMEL Corporation ATmega16-16PU Datasheet HTML 73Page - ATMEL Corporation ATmega16-16PU Datasheet HTML 74Page - ATMEL Corporation ATmega16-16PU Datasheet HTML 75Page - ATMEL Corporation ATmega16-16PU Datasheet HTML 76Page - ATMEL Corporation ATmega16-16PU Datasheet HTML 77Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 73 / 357 page
background image
73
2466S–AVR–05/09
ATmega16(L)
whether clk
T0 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 WGM01 and WGM00 bits located in
the Timer/Counter Control Register (TCCR0). There are close connections between how the
counter behaves (counts) and how waveforms are generated on the Output Compare output
OC0. For more details about advanced counting sequences and waveform generation, see
“Modes of Operation” on page 76.
The Timer/Counter Overflow (TOV0) Flag is set according to the mode of operation selected by
the WGM01:0 bits. TOV0 can be used for generating a CPU interrupt.
Output Compare
Unit
The 8-bit comparator continuously compares TCNT0 with the Output Compare Register
(OCR0). Whenever TCNT0 equals OCR0, the comparator signals a match. A match will set the
Output Compare Flag (OCF0) at the next timer clock cycle. If enabled (OCIE0 = 1 and Global
Interrupt Flag in SREG is set), the Output Compare Flag generates an output compare interrupt.
The OCF0 Flag is automatically cleared when the interrupt is executed. Alternatively, the OCF0
Flag can be cleared by software by writing a logical one to its I/O bit location. The waveform gen-
erator uses the match signal to generate an output according to operating mode set by the
WGM01:0 bits and Compare Output mode (COM01: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 76.).
Figure 29 shows a block diagram of the output compare unit.
Figure 29. Output Compare Unit, Block Diagram
The OCR0 Register is double buffered when using any of the Pulse Width Modulation (PWM)
modes. For the normal and Clear Timer on Compare (CTC) modes of operation, the double buff-
ering is disabled. The double buffering synchronizes the update of the OCR0 Compare Register
to either top or bottom of the counting sequence. The synchronization prevents the occurrence
of odd-length, non-symmetrical PWM pulses, thereby making the output glitch-free.
OCFn (Int.Req.)
= (8-bit Comparator )
OCRn
OCn
DATA BUS
TCNTn
WGMn1:0
Waveform Generator
top
FOCn
COMn1:0
bottom


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 Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.PL
Czy Alldatasheet okazała się pomocna?  [ DONATE ]  

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Dodaj do ulubionych   |   Linki   |   Lista producentów
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