文件名称:externalsram
-
所属分类:
- 标签属性:
- 上传时间:2013-01-07
-
文件大小:1.17kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.