shuichan_new/STM32F103_App1/HardWare/SYSINIT/app_loop.h

15 lines
500 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __APP_LOOP_H
#define __APP_LOOP_H
/* FreeRTOS 任务调度封装 */
void app_init(void); /* 业务模块初始化(横幅/外设/网络/串口接收) */
void app_rtos_start(void); /* 创建任务并启动调度器(不再返回) */
void app_oled_presched_tick(void); /* 调度器启动前阻塞建链期间的屏幕进度刷新bg_delay 调用500ms 节流) */
/* 存储总线互斥EEPROM 软件I2C 与 W25Q64 软件SPI 跨任务共用) */
void storage_lock_init(void);
void storage_lock(void);
void storage_unlock(void);
#endif /* __APP_LOOP_H */