|
TICK 的修改在 dsp.cfg 文件中9 L4 W9 Y1 C5 x) q( c+ j8 A! N
* b A- {# B1 ]- ^! J151 /* configure SysBios to use the lower half of Timer 1 */. F& ]' h: V. T( @2 x
152 var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer'); D* f" E4 X' r9 u& `9 y* ~
153 var Clock = xdc.useModule('ti.sysbios.knl.Clock');- Z9 Q& c% ?4 h1 [" U, B' Z/ L
154 Timer.timerSettings[1].master = true;
$ h4 H; `" E0 N0 e, O; ~: n* Z155 Timer.defaultHalf = Timer.Half_LOWER;
; y8 s2 O5 K1 {, E8 K! o: w3 j3 d156 Clock.timerId = 1;
0 W6 ^8 z/ i s i' D157 Clock.tickPeriod = 5; //5us2 [8 L+ _7 D3 _$ e' o4 n0 } K
0 U0 K" U- n7 H- Q/ h
修改后重新编译程序& e c9 o1 X* L% P& R* ^
|
|