2025-09-23 00:27:51 +08:00
|
|
|
#ifndef _TIMER_H
|
|
|
|
|
#define _TIMER_H
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
|
|
void User_timer_init(void);
|
|
|
|
|
void Timer0_init(void);
|
|
|
|
|
void Set_Pwm(u16 channel,u32 pulse);
|
2025-10-02 02:52:07 +08:00
|
|
|
void TIMER1_IRQHandler(void);
|
2025-09-23 00:27:51 +08:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|