www.pudn.com > TELEPHONE.rar > TM8888.H, change:2008-04-03,size:437b


typedef unsigned char uchar; 
 
typedef unsigned int uint; 
 
 
 
 
 
sbit ONTEL=P3^0; 
 
 
 
sbit CSE=P2^7; 
 
sbit RSE=P2^0; 
 
sbit WRE=P3^6; 
 
sbit RDE=P3^7; 
 
sbit INT=P3^2; 
 
 
 
 
 
void main(void); 
 
void init(void); 
 
void delayms(uint n); 
 
 
 
uchar readsr(void); 
 
void writesr(uchar a); 
 
uchar readdata(void); 
 
void writedata(uchar a); 
 
void mode_cp(void); 
 
void mode_DTMFOUT(void); 
 
void mode_DTMFIN(void);