?? variable.h
字號:
/**************** (c) 1998 SGS-Thomson Microelectronics **********************
PROJECT : ST72101
COMPILER : ST7 HICROSS C (HIWARE)
MODULE : variable.h
VERSION : V 2.0
CREATION DATE : 03/07/98
AUTHOR : PPG 8-bit Micro Application Team
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
DESCRIPTION : Application Global Variables Definition
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
MODIFICATIONS :
******************************************************************************/
#ifndef VARIABLE_H
#define VARIABLE_H
extern unsigned char data1; // Those registers will start from add 0x100 as
extern unsigned char data2; // no special pragma was ever declared before.
extern unsigned char data3; // This comes from the .prm file where the default segment
// is located at address 0x100.
#define PWM_lgh 0x2E // All defined values must be placed in the .h file rather
#define PWM_lgl 0xD0 // than the .c files.
#define PWM_pdh 0x34
#define PWM_pdl 0xE2
#pragma DATA_SEG SHORT _ZEROPAGE // According to the prm file, the _ZEROPAGE starts at
// address 0x080 so the next three registers will be located
// at address 80h, 81h and 83h.
extern unsigned char ramloc1;
extern unsigned char ramloc2;
extern unsigned char ramloc3;
#pragma CONST_SEG ROM // Once again, the prm file indicates the start address of
// the ROM segment.
// The table defined below, will be a table of 10 constants.
extern const unsigned char table[10];
#pragma DATA_SEG DEFAULT
#endif
/*** (c) 1998 SGS-Thomson Microelectronics ****************** END OF FILE ***/
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -