dsp281x_initperipherals.c

来自「TMSC320F2812串口SCI通信,SCIA,SCIB,波特率设置」· C语言 代码 · 共 30 行

C
30
字号
//###########################################################################
//
// FILE:	DSP281x_InitPeripherals.c
//
// TITLE:	DSP281x Device Initialization To Default State.
//
//###########################################################################

#include "DSP281x_Device.h"     // DSP281x Headerfile Include File
#include "DSP281x_Examples.h"   // DSP281x Examples Include File

//---------------------------------------------------------------------------
// 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)
{
     
    InitCpuTimers();  // Initialize CPU Timers To default State:  
    InitXintf();      // Initialize External Interface To default State:
	InitSci();        // Initialize SCI Peripherals To default State:
}

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

⌨️ 快捷键说明

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