网站公告列表

  没有公告

加入收藏
设为首页
联系站长
您现在的位置: 61IC中国电子在线 >> DSP >> 代码示例 >> ADI DSP代码示例 >> Blackfin >> 文章正文
  BF533 EZ-KIT ISR汇编源代码         ★★★ 【字体:
BF533 EZ-KIT ISR汇编源代码
作者:61IC    文章来源:本站原创    点击数:    更新时间:2007-1-22    

/******************************************************************************/
//
// Name:  BF533 EZ-KIT video ITU-656 receive mode (8bit) for the Omnivision chip OV6630
//
/******************************************************************************

(C) Copyright 2003 - Analog Devices, Inc.  All rights reserved.

File Name:    BF533_EZ-KIT_ISR.asm

Date Modified:   08/12/05  TL  Rev 1.0

Software:         VisualDSP++4.0, Assembler 2.6.7.5, Linker 3.5.2.2

Hardware:    BF533 EZ-KIT Board (rev 1.7), Blackfin EZ-Extender (rev 1.2)

Chip:     ADSP-BF533 REV 0.4

Special Connections:   None

Purpose:    All interrupt service routines are located here
    
    
Program Parameters:

********************************************************************************/
#include <defBF533.h>

/*****************************************************************************************/
// Global and extern subroutines
/*****************************************************************************************/

.global  PPI_DMA_ISR;
.extern  Recive_DMA_In_Progress;

/*****************************************************************************************/
// Program Define Section
/*****************************************************************************************/

/*****************************************************************************************/
// Program Variable Section
/*****************************************************************************************/


/*****************************************************************************************/
// Program
/*****************************************************************************************/
.section L1_code;

// DMA Interrupt  
PPI_DMA_ISR:

 // service the interrupt request
 p0.h = hi(DMA0_NEXT_DESC_PTR);
 p0.l = lo(DMA0_NEXT_DESC_PTR);
 r0 = 0x1(z);
 w[p0+DMA0_IRQ_STATUS-DMA0_NEXT_DESC_PTR] = r0;
 ssync;
 
 //Turn off the PPI after the Descriptor DMA has been finished
 //if not the interrupt will always be executed because of PPI activities
 p0.h = hi(PPI_CONTROL);
 p0.l = lo(PPI_CONTROL);
 r0 =  0; 
 w[p0+PPI_CONTROL-PPI_CONTROL] = r0;
 SSYNC;
 
 p0.h = Recive_DMA_In_Progress;      
 p0.l = Recive_DMA_In_Progress;      
    r0 = 1;
    [p0] = r0;  
  
 
PPI_DMA_ISR.END:
RTI;
/*******************************************************************************/

               欢迎点击进入:TI德州中文网   (国内唯一针对TI应用的中文技术网站)    文章录入:admin    责任编辑:admin 
  • 上一篇文章:

  • 下一篇文章:
  • 发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
    最新热点 最新推荐 相关文章
    BF533与PowerPC SPI通信调试…
    BF533 EZ-KIT Main汇编源代码
    BF533 EZ-KIT SDRAM Config汇…
    BF533 EZ-KIT PPI Config汇编…
    BF533 EZ-KIT Omnivision Co…
    BF533 EZ-KIT ISR Config汇编…
    BF533 EZ-KIT Fash setup汇编…
    BF533 EZ-KIT DMA Config汇编…
    BF533 EZ-KIT video GP rece…
    BF533 EZ-KIT video ITU-656…
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)
    站长:61IC 湘ICP备05002478号