|
TICK 的修改在 dsp.cfg 文件中
7 n6 T( b: |( O I4 @5 c
0 l9 e1 H( Q. H- w- e151 /* configure SysBios to use the lower half of Timer 1 */
$ Z; N/ h1 O* b+ X: }152 var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');
8 I# W' L) I8 j% @' w% \, P# u153 var Clock = xdc.useModule('ti.sysbios.knl.Clock');( H9 d6 U( P. L- U9 T8 o% u
154 Timer.timerSettings[1].master = true;; e3 G, t7 @5 I# h0 v: c4 T
155 Timer.defaultHalf = Timer.Half_LOWER;
5 B, O8 t) |+ Y% V' V1 O N7 Z156 Clock.timerId = 1;5 f. V, Z2 t+ I2 p: O1 H
157 Clock.tickPeriod = 5; //5us" r; k i; n; P( u2 Q
; z/ U2 f: l/ W+ x4 G; B2 W/ ?修改后重新编译程序
0 S" e( b% ~! H y |
|