[X9D] Makefile option added: CPUARM

[Sky9x] GVARS Bug in EEPROM
[Sky9x] Mu-law codec added
This commit is contained in:
bsongis
2012-12-10 21:00:02 +00:00
parent 2037f0d8b0
commit 5a2d6cb250
49 changed files with 11057 additions and 361 deletions
+34
View File
@@ -0,0 +1,34 @@
#ifndef _TIMER_INIT_H_
#define _TIMER_INIT_H_
#include "frgui.h"
#define MAX_TIMER (5) //×î´óµÄtimerID
#define TIMER_1 (0)
#define TIMER_2 (1)
#define TIMER_3 (2)
#define TIMER_4 (3)
#define TIMER_5 (4)
struct TimerStruct
{
char valid;
char expires;
PMSG pMsg;
};
void initTimer(void);
void setTimer(char timerID,char expires,PMSG pMsg);
void cancelTimer(char timerID);
void timer_interrupt(void);
void timer_tick(void);
void TIM10_CH1_BL_Init();
#define BKL_DEC (0)
#define BKL_INC (1)
#define BKL_OFF (2)
#define BKL_ON (3)
#endif