⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 header.h

📁 TQ公司的STK16x开发系统的源码
💻 H
字号:
/*File: HEADER.H */

/****************************************************************************
*
* STK16xU.HEADER
* ==============
*
* Common Headerfile, can be includet in other Headerdfiles 
* includs importend definitions
*
* TQ-Systems GmbH
* ---------------
* Customer: TQ-Components
* Project : STK16XSW
* Tools   : uVision 2.05
*
* Rev: Date:    Name:            Modification:
* ----+---------+----------------+------------------------------------------
* 100  16.01.01  A. Lichte        Release for STK16XSW
*****************************************************************************/


/*==========================================================================*
* extern available definitions (#DEFINE):
*===========================================================================*/



/*--------------------------------------------------------------------------*
* Systemconstants
*---------------------------------------------------------------------------*/
// The predefinition from the Memoryarea is done in the Startup-File
// This is only a Information from the several Moduls

#ifndef IOCTRL_BASEADDR
#define XREG_BASEADDR    0x800400
#define IOCTRL_BASEADDR  0x800800
#define SIO_A_BASEADDR   0x802000
#define SIO_B_BASEADDR   0x802800
#define SIO_C_BASEADDR   0x803000
#define SIO_D_BASEADDR   0x803800
#define ETH_BASEADDR     0x900000
#endif



/*=========================================================================*/
/* extern available type definitions (TYPEDEF):                      */
/*=========================================================================*/

#ifndef TQM164
#define TQM164      4
#define TQM165      5
#define TQM166      6
#define TQM167      7
#define TQM167LC    8
#define TQM167U     9
#define TQM167UE    10
#define TQM165U     11
#define TQM167UL    12
#endif

#define TQMMOD TQM164


/*--------------------------------------------------------------------------*
* common definitions:
*---------------------------------------------------------------------------*/
#ifndef FALSE
#define FALSE 0
#endif

#ifndef TRUE
#define TRUE  (!FALSE)
#endif

#ifndef BOOL
#define BOOL  bit
#endif

#ifndef BYTE
#define BYTE  unsigned char
#endif

#ifndef UINT
#define UINT  unsigned int
#endif

#ifndef USHORT
#define USHORT unsigned short int
#endif

#ifndef SHORT
#define SHORT short int
#endif

#ifndef ULONG
#define ULONG unsigned long
#endif


/*==========================================================================*
* extern available type definitions (TYPEDEF):                  
*===========================================================================*/


/*==========================================================================*
* extern available  constants: (CONST)                           
*===========================================================================*/


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -