edma.c
来自「TI DSP C6713 同相同公司C6414利用MSBSP多功能串口通讯的实例」· C语言 代码 · 共 18 行
C
18 行
#ifndef _EDMA_H_
#include "EDMA.h"
#endif
/*----------------------------------------------------------------------------------------*/
void edma_null_init()
{
*(unsigned volatile int *)(NULL_PARAMS_ADDR + OPT)= 0x0;
*(unsigned volatile int *)(NULL_PARAMS_ADDR + SRC)= 0x0;
*(unsigned volatile int *)(NULL_PARAMS_ADDR + CNT)= 0x0;
*(unsigned volatile int *)(NULL_PARAMS_ADDR + DST)= 0x0;
*(unsigned volatile int *)(NULL_PARAMS_ADDR + IDX)= 0x0;
*(unsigned volatile int *)(NULL_PARAMS_ADDR + LNK)= 0x0;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?