您好!
我将针对我的应用使用 TM4C1294KCPDT 微控制器。
使用 RTOS 平台开发的代码。
对于我的应用、我需要 为计时器线程创建一个任务、每隔0.5ms 运行一次。 根据示例、我将最小时间创建为1ms。
请帮我解决这个问题。 如何减少时间?
我的代码在这里。
void timer_1ms_init ()
{
Clock_Params TimerThreadParams1_ms;
Clock_Params_(_TimerThreadParameters1_ms);
TimerThreadParams1_ms.startFlag = true;
TimerThreadParams1_ms.period = 1;//========= 1ms 值
Clock_structure (&TimerThread1_ms Timer_Thread_Struct、(Clock_Func P.tr) TimerThread1_ms、1、&TimerThreadParams1_ms);
}
此致、
尤瓦拉伊
