从CORE_MAIN.C进入main函数
void main(void)函数
有一些C语言编程基础的你们都知道,C语言是从main函数开始运行的,也就是main(),为整个工程的入口函数。在CORE_MAIN.C中可以找到main函数,代码如下:
/* ----------------------------------------------------------------------------
* FUNCTION: main - Main service loop.
*
* Wait in idle state until an IRQ causes an exit from idle. If the IRQ
* handler posted a service request (via bSERVICE) then dispatch control to
* the appropriate service handler. Otherwise, go back to idle state. After
* all service requests have been handled, return to idle state.
* ------------------------------------------------------------------------- */