Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATMEGA640 Datasheet(PDF) 154 Page - Microchip Technology

Part # ATMEGA640
Description  8-bit Microcontroller with 16/32/64KB In-System Programmable Flash
PDF  436 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

ATMEGA640 Datasheet(HTML) 154 Page - Microchip Technology

Back Button ATMEGA640 Datasheet HTML 150Page - Microchip Technology ATMEGA640 Datasheet HTML 151Page - Microchip Technology ATMEGA640 Datasheet HTML 152Page - Microchip Technology ATMEGA640 Datasheet HTML 153Page - Microchip Technology ATMEGA640 Datasheet HTML 154Page - Microchip Technology ATMEGA640 Datasheet HTML 155Page - Microchip Technology ATMEGA640 Datasheet HTML 156Page - Microchip Technology ATMEGA640 Datasheet HTML 157Page - Microchip Technology ATMEGA640 Datasheet HTML 158Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 154 / 436 page
background image
154
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
17.11 Register Description
17.11.1
TCCR1A – Timer/Counter 1 Control Register A
17.11.2
TCCR3A – Timer/Counter 3 Control Register A
17.11.3
TCCR4A – Timer/Counter 4 Control Register A
17.11.4
TCCR5A – Timer/Counter 5 Control Register A
• Bit 7:6 – COMnA1:0: Compare Output Mode for Channel A
• Bit 5:4 – COMnB1:0: Compare Output Mode for Channel B
• Bit 3:2 – COMnC1:0: Compare Output Mode for Channel C
The COMnA1:0, COMnB1:0, and COMnC1:0 control the output compare pins (OCnA, OCnB, and OCnC respec-
tively) behavior. If one or both of the COMnA1:0 bits are written to one, the OCnA output overrides the normal port
functionality of the I/O pin it is connected to. If one or both of the COMnB1:0 bits are written to one, the OCnB out-
put overrides the normal port functionality of the I/O pin it is connected to. If one or both of the COMnC1:0 bits are
written to one, the OCnC output overrides the normal port functionality of the I/O pin it is connected to. However,
note that the Data Direction Register (DDR) bit corresponding to the OCnA, OCnB or OCnC pin must be set in
order to enable the output driver.
When the OCnA, OCnB or OCnC is connected to the pin, the function of the COMnx1:0 bits is dependent of the
WGMn3:0 bits setting. Table 17-3 on page 155 shows the COMnx1:0 bit functionality when the WGMn3:0 bits are
set to a normal or a CTC mode (non-PWM).
Bit
7
6
543
2
1
0
(0x80)
COM1A1
COM1A0
COM1B1
COM1B0
COM1C1
COM1C0
WGM11
WGM10
TCCR1A
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
543
2
1
0
(0x90)
COM3A1
COM3A0
COM3B1
COM3B0
COM3C1
COM3C0
WGM31
WGM30
TCCR3A
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
543
2
1
0
(0xA0)
COM4A1
COM4A0
COM4B1
COM4B0
COM4C1
COM4C0
WGM41
WGM40
TCCR4A
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
543
2
1
0
(0x120)
COM5A1
COM5A0
COM5B1
COM5B0
COM5C1
COM5C0
WGM51
WGM50
TCCR5A
Read/Write
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0



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