移除不再需要的 .cproject.yml.bak_dma 和 README.md 备份文件, 同时为 ADC.cpp 添加完整的 Doxygen 风格函数注释,提升代码可读性。
20 lines
616 B
C++
20 lines
616 B
C++
#ifndef SYS_INITIAL_H
|
|
#define SYS_INITIAL_H
|
|
|
|
/**
|
|
* @brief 应用初始化器。
|
|
* @note 负责按固定顺序组织系统时基、串口、采样、通信、调度器等底层模块启动。
|
|
*/
|
|
class AppInitializer {
|
|
public:
|
|
/**
|
|
* @brief 按固定顺序完成应用所有底层模块初始化。
|
|
* @param[in] 无。
|
|
* @param[out] 无。
|
|
* @retval 无返回值。
|
|
* @note 初始化顺序:SysTick → USART0 GPIO/外设 → 温度采样 → 等待 ADC DMA 就绪 → CANFD → 任务调度 → 调度定时器。
|
|
*/
|
|
static void init();
|
|
};
|
|
|
|
#endif /* SYS_INITIAL_H */ |