|
|
TICK 的修改在 dsp.cfg 文件中/ P( z' _4 W. M# }) i* p2 y
- Y1 ?+ P, J) z/ {$ c; B151 /* configure SysBios to use the lower half of Timer 1 */7 X. _; a1 C# k. m* g9 H# V/ C
152 var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');
& F5 G) Z. n/ P4 C7 j% w153 var Clock = xdc.useModule('ti.sysbios.knl.Clock');' K4 L* W4 t# B$ h( D( {
154 Timer.timerSettings[1].master = true;
2 t8 A- t% ]9 A$ m5 O! A155 Timer.defaultHalf = Timer.Half_LOWER;8 M. ^' ?) x D, V. n' }, l
156 Clock.timerId = 1;
' _8 K' k" g- ^+ A$ l; C/ ^8 }157 Clock.tickPeriod = 5; //5us
: M. F/ `9 f" J& \% v4 I8 O: r2 d3 V4 |2 }+ a& I4 x! j) F) i1 s* ~
修改后重新编译程序6 A8 K) S2 q0 V8 J2 ^
|
|