|
TICK 的修改在 dsp.cfg 文件中7 ^' Q4 h' d7 v0 p8 |6 j9 p
2 F h3 P$ x b8 B" q# ]
151 /* configure SysBios to use the lower half of Timer 1 */
+ m: u# w, u8 t152 var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');* V' O+ j9 ?" O6 ^
153 var Clock = xdc.useModule('ti.sysbios.knl.Clock');
5 H, M( S: |4 u6 ?! r+ \- g/ j154 Timer.timerSettings[1].master = true;
9 s5 M3 \7 p# O- h' P6 ]155 Timer.defaultHalf = Timer.Half_LOWER;
4 ^, m" W- a: u$ f/ C7 v156 Clock.timerId = 1;1 E. r. ~7 S" y# d. g; [4 S# z& s+ y
157 Clock.tickPeriod = 5; //5us" l: P6 C# G1 {: p! e
1 t% q1 E! I9 V5 {4 q
修改后重新编译程序
6 t/ t, F8 W( a$ {9 U, Y |
|