void RadarTaskvoid RET_CODE ret = SUCCESS; BasebandDriverInit_t cur_task_bb = NULL; while 1 ret = radar_task_event_wait0xffffffff RADAR_TASK_EVENT_EN; if SUCCESS == ret if cur_fram
This is a function called RadarTask which runs continuously in a loop. The function begins by waiting for a specific event to occur (indicated by the radar_task_event_wait function call), and if the event occurs successfully, it checks the current frame mode. If the frame mode is normal, it sets another event and starts a timer.
The function then sets a flag indicating that it is in the initial state and enters a loop that runs until the current frame count is zero. Within this loop, it calls several functions related to radar processing and tracking, and also reads the current configuration of the baseband driver.
Once the current frame count is zero, the function stops tracking and radar processing, and either stops the timer (if in normal mode) or sets the frame mode to normal (if in trigger mode). The function then performs some cleanup before starting the loop again.
Overall, this function seems to be responsible for controlling the radar system and managing its various tasks and states.
原文地址: https://www.cveoy.top/t/topic/bFv5 著作权归作者所有。请勿转载和采集!