www.pudn.com > drivers.rar > GPIO_DETECT.h
/**************************************************************
Chenged by tianhj For Legend Poloview HandSet
DATA: 2003/2/21
VERSION: 2.0
Copyright belong to LEGEND
*****************************************************************/
#ifndef GPIO_DETECT_H
#define GPIO_DETECT_H
#include "../../../../gpf/inc/nuc/arm7/nucleus.h" /* used for HISR */
/*typedef int BOOL;*/ /*deteled by hegc ob 02-05-29*/
typedef unsigned char U8;
typedef struct { NU_HISR hisr;
char hisr_stack[512];
} T_Dectect_Gpio;
extern T_Dectect_Gpio Dectect_Gpio_hisr;
extern void Dectect_Gp_hisr(void);
extern void Gpio_Detect_Timer1_init(void);
extern void Switch_FlashLight(U8 ucOnOff);
//extern U8 Data_Cable_Detect(void);
extern U8 Earphone_Hook_Detect(void);
extern U8 Earphone_Plug_Detect(void);
extern void Switch_Uart(void);
extern void Switch_Earphone(void);
typedef unsigned short SYS_UWORD16;
#endif