//初始化板上的IOInitBoard(OB_COLD);//参数【OnBoard.h】#defineOB_COLD0#defineOB_WARM1#defineOB_READY2//【OnBoard.c】voidInitBoard(bytelevel){if(level==OB_COLD){//关中断,最初的时候已经见过了osal_int_disable(INTS_ALL);//关闭所有的LED,调用了LED设置函数HalLedSet(HAL_LED_ALL,HAL_LED_MODE_OFF);//【hal_led.h】//#defineHAL_LED_ALL(HAL_LED_1|HAL_LED_2|HAL_LED_3|HAL_LED_4),我这里呢只有两个L...