FluxDC/components/FluxTime/FluxTime.h

36 lines
605 B
C
Raw Normal View History

/**
* @file FluxTimer.h
* @brief
*
* Not Used
*
* @author wang xiang en
* @date 2025-04-18
* @version
* @copyright (C)2025, YUWELL MEDTECH Co.ltd
2025-03-27 14:57:30 +08:00
*/
#ifndef _FLUX_TIME_H
#define _FLUX_TIME_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
/* 每隔多久进行一次时间数据更新*/
#define SYSTEM_TIME_UPDATE_INTERVAL_SEC 1
2025-03-27 14:57:30 +08:00
/*时间同步任务*/
void time_synic_task(void *arg);
/*获取当前时间*/
2025-03-28 10:13:22 +08:00
char* get_time_str(void);
2025-03-27 14:57:30 +08:00
#ifdef __cplusplus
}
#endif
#endif /*_FLUX_TIME_H */