dsp28_initperipherals.c

来自「dap 应用资料 带有部分程序」· C语言 代码 · 共 30 行

C
30
字号
/************************************************************************************
	版权(c) 	2003-		北京合众达电子技术有限责任公司			                *
*  	设计者:	戴展波	
*************************************************************************************/

#include "DSP28_Device.h"

//---------------------------------------------------------------------------
// InitPeripherals:
//---------------------------------------------------------------------------
// The following function initializes the peripherals to a default state.
// It calls each of the peripherals default initialization functions.
// This function should be executed at boot time or on a soft reset.
//

void InitPeripherals(void)
{

    #if F2812
    // Initialize External Interface To default State:
	InitXintf();
	#endif

	InitGpio();
	
	// Initialize CPU Timers To default State:
	InitCpuTimers();

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?