www.pudn.com > PWM_DC.rar > xdata.h


//########################################################################### 
// 
// FILE:   xdata.h 
// 
// DATE:   2007.3.30 
// 
// TITLE:  xdata Register Definitions. 
// 
// COMPANY:TianHuang Technology Co.,Ltd 
// 
//########################################################################### 
// 
//  Ver | dd mmm yyyy |    Who   | Description of changes 
// =====|=============|==========|=========================================== 
//  1.00| 31 Mar 2007 | yulingen | release 
//########################################################################### 
 
#ifndef data_H 
#define data_H 
 
#ifdef __cplusplus 
extern "C" { 
#endif 
 
//--------------------------------------------------------------------------- 
// XWDATA Register File: 
// 
struct XWDATA_REGS { 
   Uint16  rsvd1; 
   Uint16  LCD1; 
   Uint16  rsvd2[4]; 
   Uint16  LED; 
   Uint16  LCD2; 
   Uint16  IO; 
   Uint16  USB_CS; 
   Uint16  rsvd3[4]; 
   Uint16  USB_WE; 
   Uint16  rsvd4; 
}; 
 
//--------------------------------------------------------------------------- 
// XWDATA External References & Function Declarations: 
// 
extern volatile struct XWDATA_REGS  XwdataRegs; 
 
 
#ifdef __cplusplus 
} 
#endif /* extern "C" */ 
 
#endif  // end of data_H definition 
 
//=========================================================================== 
// No more. 
//===========================================================================