14 lines
449 B
C
14 lines
449 B
C
#ifndef __APP_LOOP_H
|
||
#define __APP_LOOP_H
|
||
|
||
/* FreeRTOS 任务调度封装 */
|
||
void app_init(void); /* 业务模块初始化(横幅/外设/网络/串口接收) */
|
||
void app_rtos_start(void); /* 创建任务并启动调度器(不再返回) */
|
||
|
||
/* 存储总线互斥(EEPROM 软件I2C 与 W25Q64 软件SPI 跨任务共用) */
|
||
void storage_lock_init(void);
|
||
void storage_lock(void);
|
||
void storage_unlock(void);
|
||
|
||
#endif /* __APP_LOOP_H */
|