|
TICK 的修改在 dsp.cfg 文件中/ L% r" b3 {4 P* s' m3 E
5 Q# l5 Q g" R/ M151 /* configure SysBios to use the lower half of Timer 1 */
# N. ]" k0 L8 ~: T152 var Timer = xdc.useModule('ti.sysbios.timers.timer64.Timer');
% o: ^* V# D( f/ W+ A# P3 e153 var Clock = xdc.useModule('ti.sysbios.knl.Clock');, A+ L( @; L/ h) ?3 m
154 Timer.timerSettings[1].master = true;- H% m5 |% ^" q7 d( D E
155 Timer.defaultHalf = Timer.Half_LOWER;
4 [, Q2 |1 J& T: a156 Clock.timerId = 1;$ E) X8 g5 J2 [* ^
157 Clock.tickPeriod = 5; //5us' d. M) B$ e4 r- S
, I: v8 N6 @$ ]6 V2 g0 i2 C修改后重新编译程序; {0 t0 F5 a/ r& v/ U3 A
|
|