📄 edma.c
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -