Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA323 Datasheet(PDF) 46 Page - ATMEL Corporation

Part # ATMEGA323
Description  8-bit Microcontroller with 32K Bytes of In-System Programmable Flash
PDF  247 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATMEGA323 Datasheet(HTML) 46 Page - ATMEL Corporation

Back Button ATMEGA323 Datasheet HTML 42Page - ATMEL Corporation ATMEGA323 Datasheet HTML 43Page - ATMEL Corporation ATMEGA323 Datasheet HTML 44Page - ATMEL Corporation ATMEGA323 Datasheet HTML 45Page - ATMEL Corporation ATMEGA323 Datasheet HTML 46Page - ATMEL Corporation ATMEGA323 Datasheet HTML 47Page - ATMEL Corporation ATMEGA323 Datasheet HTML 48Page - ATMEL Corporation ATMEGA323 Datasheet HTML 49Page - ATMEL Corporation ATMEGA323 Datasheet HTML 50Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 247 page
background image
46
ATmega323(L)
1457G–AVR–09/03
Figure 33. Timer/Counter2 Block Diagram
The 8-bit Timer/Counter0 can select clock source from CK, prescaled CK, or an external
pin.
The 8-bit Timer/Counter2 can select clock source from CK, prescaled CK, external
TOSC1 or prescaled external TOSC1.
Both Timers/Counters can be stopped as described in section “Timer/Counter0 Control
Register – TCCR0” on page 47 and “Bit 7 – FOC0/FOC2: Force Output Compare” on
page 47.
The various Status Flag s (Ove rflo w and Compare Matc h) are f ound in th e
Timer/Counter Interrupt Flag Register – TIFR (see page 36). Control signals are found in
the Timer/Counter Control Register – TCCR0 and TCCR2. The interrupt enable/disable
settings are found in the Timer/Counter Interrupt Mask Register – TIMSK (see page 34).
When Timer/Counter0 is externally clocked, the external signal is synchronized with the
Oscillator frequency of the CPU. To assure proper sampling of the external clock, the
minimum time between two external clock transitions must be at least one internal CPU
clock period. The external clock signal is sampled on the rising edge of the internal CPU
clock.
The 8-bit Timer/Counters feature both a high-resolution and a high-accuracy usage with
the lower prescaling opportunities. Similarly, the high-prescaling opportunities make the
Timer/Counter0 useful for lower speed functions or exact timing functions with infre-
quent actions.
8-BIT DATA BUS
8-BIT ASYNCH T/C2 DATA BUS
ASYNCH. STATUS
REGISTER (ASSR)
TIMER INT. FLAG
REGISTER (TIFR)
TIMER/COUNTER2
(TCNT2)
SYNCH UNIT
8-BIT COMPARATOR
OUTPUT COMPARE
REGISTER2 (OCR2)
TIMER INT. MASK
REGISTER (TIMSK)
0
0
0
7
7
7
T/C CLK SOURCE
UP/DOWN
T/C CLEAR
CONTROL
LOGIC
CK
CK
PCK2
T/C2 OVER-
FLOW IRQ
T/C2 COMPARE
MATCH IRQ
T/C2 CONTROL
REGISTER (TCCR2)
TOSC1
SPECIAL FUNCTIONS
IO REGISTER (SFIOR)



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



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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