目录
- 一、main函数
- 二、点灯函数
一、main函数
int main(void)
{
/* Write your local variable definition here */
iseledInitType.crcEnable = 1;
iseledInitType.firstLedAdr = 1;
iseledInitType.tempCmpEnable = 0;
iseledInitType.voltSwing = 0;
/*** End of Processor Expert internal initialization. ***/
/* Write your code here */
/* For example: for(;;) { } */
CLOCK_SYS_Init(g_clockManConfigsArr, CLOCK_MANAGER_CONFIG_CNT, g_clockManCallbacksArr, CLOCK_MANAGER_CALLBACK_CNT);
CLOCK_SYS_UpdateConfiguration(0U, CLOCK_MANAGER_POLICY_FORCIBLE);
/*Initialize timing pal instance used by the ISELED Driver for the timeout mechanism*/
TIMING_Init(&timing_pal1_instance, &timing_pal1_InitConfig);
digLED_Init_Interface