|
TICK 的修改在 dsp.cfg 文件中
7 z2 U8 X T4 B0 _! i* O, S% E* U% }8 n
151 /* configure SysBios to use the lower half of Timer 1 */! n, t- M( g8 o0 \' Q. v7 t
152 var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');
# E) {: G' B5 \. t" x/ |' f9 N153 var Clock = xdc.useModule('ti.sysbios.knl.Clock'); ]7 S; B3 [! G. p8 M; h
154 Timer.timerSettings[1].master = true;1 ^5 w Y, m/ g2 i4 W
155 Timer.defaultHalf = Timer.Half_LOWER;
1 p2 n, B/ i( c$ @5 g156 Clock.timerId = 1;
& Z% R8 |" P& V; B. m157 Clock.tickPeriod = 5; //5us
7 ?' A& n' r! ?& ? \! M5 D/ d: }; k7 H5 B4 V, ^# D, U
修改后重新编译程序4 s; j9 ]: v% G/ c, m9 Y) u
|
|