Release:5.20灰测

This commit is contained in:
2026-05-21 10:01:28 +08:00
parent 8a5a32b139
commit fd65e9c6a2
68 changed files with 4329 additions and 1489 deletions

29
Core/User/Os/os_timer.h Normal file
View File

@@ -0,0 +1,29 @@
#ifndef __OSTIMER_H
#define __OSTIMER_H
/* Private includes ----------------------------------------------------------*/
#include "global.h"
/* Exported types ------------------------------------------------------------*/
typedef void (*SwTimerCallback_t)(TimerHandle_t xTimer);
/* Exported functions prototypes ---------------------------------------------*/
void SwTimer_Init(void);
TimerHandle_t SwTimer_Create(const char *name,
uint32_t period_ms,
bool auto_reload,
SwTimerCallback_t callback);
void SwTimer_Start(TimerHandle_t xTimer);
void SwTimer_Stop(TimerHandle_t xTimer);
void SwTimer_Reset(TimerHandle_t xTimer);
void SwTimer_ChangePeriod(TimerHandle_t xTimer, uint32_t period_ms);
void SwTimer_YkcTimer_Init(void);
/* Exported constants --------------------------------------------------------*/
extern TimerHandle_t YkcTimerHandle;
#endif