Electronic Components Datasheet Search
  English  ▼

X  

ATMEGA640 Datasheet(PDF) 36 Page - ATMEL Corporation

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

ATMEGA640 Datasheet(HTML) 36 Page - ATMEL Corporation

Back Button ATMEGA640 Datasheet HTML 32Page - ATMEL Corporation ATMEGA640 Datasheet HTML 33Page - ATMEL Corporation ATMEGA640 Datasheet HTML 34Page - ATMEL Corporation ATMEGA640 Datasheet HTML 35Page - ATMEL Corporation ATMEGA640 Datasheet HTML 36Page - ATMEL Corporation ATMEGA640 Datasheet HTML 37Page - ATMEL Corporation ATMEGA640 Datasheet HTML 38Page - ATMEL Corporation ATMEGA640 Datasheet HTML 39Page - ATMEL Corporation ATMEGA640 Datasheet HTML 40Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 36 / 449 page
background image
36
ATmega640/1280/1281/2560/2561
2549K–AVR–01/07
XMCRB – External Memory
Control Register B
• Bit 7– XMBK: External Memory Bus-keeper Enable
Writing XMBK to one enables the bus keeper on the AD7:0 lines. When the bus keeper
is enabled, AD7:0 will keep the last driven value on the lines even if the XMEM interface
has tri-stated the lines. Writing XMBK to zero disables the bus keeper. XMBK is not
qualified with SRE, so even if the XMEM interface is disabled, the bus keepers are still
activated as long as XMBK is one.
• Bit 6:3 – Res: Reserved Bits
These bits are reserved and will always read as zero. When writing to this address loca-
tion, write these bits to zero for compatibility with future devices.
• Bit 2:0 – XMM2, XMM1, XMM0: External Memory High Mask
When the External Memory is enabled, all Port C pins are default used for the high
address byte. If the full 60KB address space is not required to access the External Mem-
ory, some, or all, Port C pins can be released for normal Port Pin function as described
in Table 9. As described in “Using all 64KB Locations of External Memory” on page 31,
it is possible to use the XMMn bits to access all 64KB locations of the External Memory.
Bit
765
4
3
210
(0x75)
XMBK
–
–
–
–
XMM2
XMM1
XMM0
XMCRB
Read/Write
R/W
RR
R
R
R/W
R/W
R/W
Initial Value
0
0
0
0
0
0
0
0
Table 9. Port C Pins Released as Normal Port Pins when the External Memory is
Enabled
XMM2
XMM1
XMM0
# Bits for External Memory Address
Released Port Pins
0
0
0
8 (Full 56KB space)
None
001
7
PC7
010
6
PC7 - PC6
011
5
PC7 - PC5
100
4
PC7 - PC4
101
3
PC7 - PC3
110
2
PC7 - PC2
111
No Address high bits
Full Port C



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