中断向量寄存器是EIC_IVR配置
u32 dOffset=((u32)&T0TIMI_Addr); EIC->IVR = 0xE59F0000;
dOffset = (dOffset+0x00007E0)<<16;
/* Initialize SIRn registers */ for(bCounter=0; bCounter<32; bCounter++) 这样配置对吗? { EIC->SIR[bCounter] = dOffset|0xF0000000; dOffset += 0x00000004 << 16; } |
|