www.pudn.com > SCIB_RS232.rar > DSP281x_InitPeripherals.c


//########################################################################### 
// 
// 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. 
//===========================================================================