📄 interrupt_service.c
字号:
#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) semaphore_frames_received = true; // this was the first Frame received now signal core B to start Video Out
++current_in_Frame;
//if(current_in_Frame>3)
//*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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -