?? mt88l89v2.~h
字號:
/*============================================================*\
作 者 :Liusj Date : 2002-11-08 version 1.0
============================================================
文件說明 : MT88L89V1.h
BSP. MT88L89(DTMF)驅動程序(中斷程序版本) . 頭文件
版權所有 : 1994-2001 Wuhan Jinglun Electronic Co., Ltd.
修改歷史 : 2003-03-07 --- modify DTMF_MODE to poll mode and add some error define and tone and pause period defines
最后修改 : 2003-03-07
備 注 :
\*============================================================*/
#ifndef MT88L70V2_H
#define MT88L70V2_H
/* error defines */
#define DTMF_ERROR -1
#define DTMF_HAS_OPENED -2
#define DTMF_HAS_CLOSED -2
#define DTMF_DATA_ERROR -1
#define DTMF_NOT_OPEN -2
#define DTMF_TX_BUSY -3
/* dial or no dial */
enum
{
DTMF_DIAL,
DTMF_DIAL_FINI
};
/* tone and pause period */
#define DTMF_TONE_PERD 8 /* this macro define the tone period of DTMF, it is based on
clock ticks, that is 80ms when it is equre to 8
*/
#define DTMF_PAUSE_PERD 4/* this macro define the pause period of DTMF, it is based on
clock ticks, that is 40ms when it is equre to 4
*/
/* functions */
int DTMF_Decode_Init(void); /* DTMF initition before receive or transmit */
int DTMFOpen(void); /* start to receive */
int DTMFClose(void); /* stop receive */
int DTMFWrite(unsigned char _data, int notify );
int DTMFCheckDialOpen(int checkID);
int DTMFCheckDialClose(void);
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -