Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

ATMEGA640 Datasheet(PDF) 156 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) 156 Page - Microchip Technology

Back Button 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 ATMEGA640 Datasheet HTML 159Page - Microchip Technology ATMEGA640 Datasheet HTML 160Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 156 / 436 page
background image
156
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
DS40002211A
Note:
A special case occurs when OCRnA/OCRnB/OCRnC equals TOP and COMnA1/COMnB1//COMnC1 is set. See
“Phase Correct PWM Mode” on page 148. for more details.
17.11.5
TCCR1B – Timer/Counter 1 Control Register B
17.11.6
TCCR3B – Timer/Counter 3 Control Register B
17.11.7
TCCR4B – Timer/Counter 4 Control Register B
17.11.8
TCCR5B – Timer/Counter 5 Control Register B
• Bit 7 – ICNCn: Input Capture Noise Canceler
Setting this bit (to one) activates the Input Capture Noise Canceler. When the Noise Canceler is activated, the
input from the Input Capture Pin (ICPn) is filtered. The filter function requires four successive equal valued samples
of the ICPn pin for changing its output. The input capture is therefore delayed by four Oscillator cycles when the
noise canceler is enabled.
• Bit 6 – ICESn: Input Capture Edge Select
This bit selects which edge on the Input Capture Pin (ICPn) that is used to trigger a capture event. When the
ICESn bit is written to zero, a falling (negative) edge is used as trigger, and when the ICESn bit is written to one, a
rising (positive) edge will trigger the capture.
When a capture is triggered according to the ICESn setting, the counter value is copied into the Input Capture Reg-
ister (ICRn). The event will also set the Input Capture Flag (ICFn), and this can be used to cause an Input Capture
Interrupt, if this interrupt is enabled.
When the ICRn is used as TOP value (see description of the WGMn3:0 bits located in the TCCRnA and the
TCCRnB Register), the ICPn is disconnected and consequently the input capture function is disabled.
• Bit 5 – Reserved Bit
This bit is reserved for future use. For ensuring compatibility with future devices, this bit must be written to zero
when TCCRnB is written.
• Bit 4:3 – WGMn3:2: Waveform Generation Mode
Bit
765
4
3
210
(0x81)
ICNC1
ICES1
–
WGM13
WGM12
CS12
CS11
CS10
TCCR1B
Read/Write
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
765
4
3
210
(0x91)
ICNC3
ICES3
–
WGM33
WGM32
CS32
CS31
CS30
TCCR3B
Read/Write
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
210
(0xA1)
ICNC4
ICES4
–
WGM43
WGM42
CS42
CS41
CS40
TCCR4B
Read/Write
R/W
R/W
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Bit
7
6
5
4
3
210
(0x121)
ICNC5
ICES5
–
WGM53
WGM52
CS52
CS51
CS50
TCCR5B
Read/Write
R/W
R/W
R
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