dsp28_initperipherals.c

来自「在 2812 开发板上外扩了一片256K * 16位SRAM」· C语言 代码 · 共 25 行

C
25
字号

#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)
{

   
    // Initialize External Interface To default State:
	InitXintf();

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

}

⌨️ 快捷键说明

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