Real-TimeClock(ASM)
所属分类:Windows编程
开发工具:Asm
文件大小:4KB
下载次数:4
上传日期:2006-10-30 10:54:34
上 传 者:
rrkk
说明: Balackfi processor RTC code example
(Balackfi processor code example RTC)
文件列表:
Real-Time Clock (ASM) (0, 2006-09-30)
Real-Time Clock (ASM)\rtc.asm (7430, 2006-05-26)
Real-Time Clock (ASM)\rtc.dpj (2947, 2006-05-26)
ADSP-BF535 EZ-KIT Lite rtc Demo
Analog Devices, Inc.
DSP Division
Three Technology Way
P.O. Box 9106
Norwood, MA 02062
Date Created: 1/30/02
This directory contains example ADSP-BF535 code that demonstrates the use of
the real time clock and general purpose I/O pins by blinking LEDs on the board upon a
seconds interrupt.
Files contained in this directory:
readme.txt this file
rtc.asm assembly file for the real time clock routine
rtc.dpj VisualDSP++ project file
_________________________________________________________________
CONTENTS
I. FUNCTION/ALGORITHM DESCRIPTION
II. IMPLEMENTATION DESCRIPTION
III. OPERATION DESCRIPTION
I. FUNCTION/ALGORITHM DESCRIPTION
The rtc demo contains an implementation of a subroutine that utilizes the real time clock
to generate an interrupt every second. LED 1 blinks when the seconds interrupt is processed.
II. IMPLEMENTATION DESCRIPTION
The ADSP-BF535 is loaded with the rtc program.
The main modules perform the following:
1. The GP I/O PF1 is set to output.
2. The real time clock seconds interrupt is enabled.
3. Program code remains in a waiting loop.
4. Upon seconds interrupt generation, program flow jumps to interrupt service routine.
5. In interrupt service routine, LED 1 is programmed to blink.
6. Upon completion of interrupt service routine, program flow jumps back to waiting loop.
7. Steps 4, 5, 6, and 7 repeat.
III. OPERATION DESCRIPTION
- Open the project "rtc.dpj" in the VisualDSP Integrated Development and Debugger Environment (IDDE).
- Under the "Project" tab, select "Build Project".
- Open a ADSP-BF535 EZ-KIT Lite session in the Debugger.
- Load "rtc.DXE"
- Place breakpoints as desired to see the operation of the program.
- Focus on the ADSP-BF535 and select "RUN" from the menu bar.
- View the LEDs on the EZ-KIT Lite to see the real time clock in action.
近期下载者:
相关文件:
收藏者: