TI-RTOS例程问题,例程中有创建任务函数,但main函数不见在哪调用了
时间:10-02
整理:3721RD
点击:
下面是官方TI-RTOS中LCD例程,main函数如下所示,例程中有创建任务函数Void lcdLowPriorityFxn(UArg a0, UArg a1) { };但是main函数却不见在哪调用了,本人初学CC1310,搞不懂这个例程,请大神帮忙解答一下,谢谢啦!
/*
* ======== main ========
*
*/
int main(void)
{
/* Call board init functions */
Board_initGeneral();
/* Set constraints for standby, powerdown and idle mode */
Power_setConstraint(Power_IDLE_PD_DISALLOW);
Power_setConstraint(Power_SB_DISALLOW);
Power_setConstraint(Power_SD_DISALLOW);
System_printf("Starting the LCD example\nSystem provider is set to SysMin."
" Halt the target to view any SysMin contents in ROV.\n");
/* SysMin will only print to the console when you call flush or exit */
System_flush();
/* Start BIOS */
BIOS_start();
return (0);
}
求教啊