⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dsp28_initperipherals.c

📁 dsp2812平台下的例程
💻 C
字号:

#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
	
	//初始化GPIO
	InitGpio();
	
	// Initialize CPU Timers To default State:
	//InitCpuTimers();

	// Initialize McBSP Peripheral To default State:
	//InitMcbsp();

	// Initialize Event Manager Peripheral To default State:
	//InitEv();
	
    // Initialize ADC Peripheral To default State:
	//InitAdc();
	
	// Initialize eCAN Peripheral To default State:
    //InitECan();

	// Initialize SPI Peripherals To default State:
	//InitSpi();

	// Initialize SCI Peripherals To default State:
	//InitSci();
}

//===========================================================================
// No more.
//===========================================================================

⌨️ 快捷键说明

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