36 lines
605 B
C
36 lines
605 B
C
/**
|
||
* @file FluxTimer.h
|
||
* @brief 时间同步头文件
|
||
*
|
||
* 用于芯片内部时钟同步(Not Used)
|
||
*
|
||
* @author wang xiang en
|
||
* @date 2025-04-18
|
||
* @version 版本号
|
||
* @copyright 版权声明((C)2025, YUWELL MEDTECH Co.ltd)
|
||
*/
|
||
#ifndef _FLUX_TIME_H
|
||
#define _FLUX_TIME_H
|
||
|
||
#include <stdint.h>
|
||
|
||
#ifdef __cplusplus
|
||
extern "C" {
|
||
#endif
|
||
|
||
/* 每隔多久进行一次时间数据更新*/
|
||
#define SYSTEM_TIME_UPDATE_INTERVAL_SEC 1
|
||
|
||
|
||
/*时间同步任务*/
|
||
void time_synic_task(void *arg);
|
||
|
||
/*获取当前时间*/
|
||
char* get_time_str(void);
|
||
|
||
#ifdef __cplusplus
|
||
}
|
||
#endif
|
||
|
||
#endif /*_FLUX_TIME_H */
|