Project/Balancing 283352014. 8. 19. 16:06


#include "DSP2833x_device.h"

#include "DSP2833x_GlobalPrototypes.h"

#include "GlobalProtoypesLee.h"


void Init_Timer0()

{

// 정풩프?않은 타머 콘트롤 레지스터를 초기화

InitCpuTimers();

// 타이머 주와 타이머?reload 설정

ConfigCpuTimer(&CpuTimer0, 150, 1000);

// 150MHz CPU Freq, 5 msec Period (in uSeconds)

// 1 msec

StartCpuTimer0();

// Interrupt Enable Register

}


1. InitCpuTimers()


2. ConfigCpuTimer()


3. StartCpuTimer0()

'Project > Balancing 28335' 카테고리의 다른 글

Init_ADC  (0) 2014.08.19
GpioInit  (0) 2014.08.18
Posted by 십자성군