// watchdog.cpp : Defines the entry point for the console application. //---------------------------------------------------------------------- // #################看门狗中断程序############## //----------------------------------------------------- ...
//--------------------------------------------------------------------------- // Example: CsmUnlock: //--------------------------------------------------------------------------- // This function unlocks the CSM. User must replace 0xFFFF's with current // password for the DSP. Returns 1 if ...
//-------------------------------------------------------------------------- // Example: InitPeripheralClocks: //--------------------------------------------------------------------------- // This function initializes the clocks to the peripheral modules. // First the high and low clock prescal ...
上一篇里转载了一个版本的系统控制寄存器初始化函数,这里转载另一个版本的,发现两个版本的差异。 void InitSysCtrl(void) { // On F2812/F2810 TMX samples prior to rev C this initialization was // required. For Rev C and after this is no longer required /* //宏定义EALLOW来设置状态寄存器1的C ...