完成CANFD通信调试

This commit is contained in:
cbb
2025-10-14 00:49:58 +08:00
parent 2d807260c5
commit a63a344f89
13 changed files with 704 additions and 509 deletions
+14 -2
View File
@@ -56,7 +56,19 @@ void systick_config(void)
/* configure the systick handler priority */
NVIC_SetPriority(SysTick_IRQn, 0x00U);
}
/*!
\brief delay a time in seconds
\param[in] count: count in seconds
\param[out] none
\retval none
*/
void delay_1s(uint32_t count)
{
uint32_t i;
for(i = 0; i < count; i++){
delay_1ms(1000);
}
}
/*!
\brief delay a time in milliseconds
\param[in] count: count in milliseconds
@@ -66,8 +78,8 @@ void systick_config(void)
void delay_1ms(uint32_t count)
{
delay = count;
while(0U != delay){
fwdgt_counter_reload();
}
}