文件名称:externalsram
- 所属分类:
- 其他小程序
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-12-18
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- abdul******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
This example shows how external devices such as external SRAM and FLASH, and
peripherals such as LCD-display, A/D, and D/A can be access with the
External Memory Interface.
To enable the External Memory Interface, the SRE bit must be set in the
MCUCR register and optionally one or more wait states.
When the AT90S8515 is operated in the external SRAM mode, port A is used as
a multiplexed low-order address bus and data bus while port C is is used as
high order address bus.
In this example data is written to external memory location $4000 and read
back and output to LED connected to port B.
Note:
When using AVR Studio 4 for simulation, External Memory Interface must be
enabled using the menu Option
"Debug -> AVR Simulator Options -> Device Selection and select check box
"External Memory Interface"
peripherals such as LCD-display, A/D, and D/A can be access with the
External Memory Interface.
To enable the External Memory Interface, the SRE bit must be set in the
MCUCR register and optionally one or more wait states.
When the AT90S8515 is operated in the external SRAM mode, port A is used as
a multiplexed low-order address bus and data bus while port C is is used as
high order address bus.
In this example data is written to external memory location $4000 and read
back and output to LED connected to port B.
Note:
When using AVR Studio 4 for simulation, External Memory Interface must be
enabled using the menu Option
"Debug -> AVR Simulator Options -> Device Selection and select check box
"External Memory Interface"
(系统自动生成,下载前可以参看下载内容)
下载文件列表
externalsram.c