configdai.asm
来自「ADSP与NANDFLASH的连接」· 汇编 代码 · 共 20 行
ASM
20 行
#include <sru.h>
#include <def21262.h>
// This function will setup the SRU Registers
.section /pm seg_pmco ;
.global InitSRU ;
InitSRU :
// Enable pull-up resistors on unused DAI pins
r0 = 0x7ffff;
dm(DAI_PIN_PULLUP) = r0;
//Generating Code for connecting : DAI_PIN20 to MISCA0
SRU (LOW, PBEN20_I);
SRU (DAI_PB20_O, MISCA0_I);
// Return back from the subroutine
rts;
InitSRU.end:
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?