12345678910111213141516171819202122232425262728293031323334 |
- #ifndef __U_TASK_S_H_
- #define __U_TASK_S_H_
- #include "pt-timer.h"
- typedef enum{
- UTIMER_BEEP,
- UTIMER_MIC,
- UTIMER_MAX
- }UTIMER_ENUM;
- void ptTimerTick(void);
- void ptAllInit(void);
- void ptTaskRun(void);
- extern pt_timer_t pt_timerPool;
- void uSysTickUpdate(void);
- void uTimerStart(unsigned int *timerId, unsigned int dlyTime);
- char uTimerExpired(unsigned int *timerId);
- void uTimerHardDly(short time_10ms);
- void uTimerCreate(unsigned char type,int timerms);
- void uTimerCall(void);
- unsigned int uSysTickGet(void);
- #endif
|