interrupt_service.c
来自「Blackfin 处理器使用GPIO模拟NAND控制器读写nandflash的源」· C语言 代码 · 共 35 行
C
35 行
#include "main.h"
/********************************************************************************/
/***** Defines the interrupt service routines for CoreA *****/
/********************************************************************************/
EX_INTERRUPT_HANDLER(PPI0_RxIsr) {
*pDMA1_0_IRQ_STATUS |= DMA_DONE; // acknowledge interrupt
if (current_in_Frame < 0) // this was the first Frame received now signal core B to start Video Out
//++current_in_Frame;
//if(current_in_Frame>0)
*pPPI0_CONTROL &= 0xfffe;
ssync();
*pDMA1_0_CONFIG &= 0xfffe;
ssync();
p=1;
//while (current_in_Frame =4)
//p=1;
current_in_Frame = (current_in_Frame) % 4;
}
EX_EXCEPTION_HANDLER(ex_handler_coreA) {
while(1);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?