📄 sys2407.h
字号:
/*--------------------------------------------------------*/
/* WQ21ST SOFTWARE STUDIO. */
/*--------------------------------------------------------*/
/*---------------------------------------------------------*/
/* Header file for EVM2407 Hardware Dependent Routines */
/* Includes: CAN Bus */
/* Switches */
/* LEDS */
/* Internal UART */
/* External Memory */
/*---------------------------------------------------------*/
/* Target: EVM320C2407 Assy:504880 */
/*---------------------------------------------------------*/
/*---------------------------------------------------------------*/
/* filename: sys2407.h */
/* original: 08/21/2001 by: WQ */
/* last update: 08/27/2001 by: WQ */
/*---------------------------------------------------------------*/
#define UINT16 unsigned short
#define UINT8 unsigned char
#define GREG 0x0005 /* location of GREG Register */
#define LOW_BYTE_MASK 0x00FF /* Mask out upper byte keep low */
#define HIGH_BYTE_MASK 0xFF00 /* Mask out lower byte keep high */
#define BYTE0 0x0000 /* Byte 0 is low byte D0-D7 */
#define BYTE1 0x0001 /* Byte 1 is high byte D8-D15 */
/* Wait State Bits */
#define PSWSB0 0x0001
#define PSWSB1 0x0002
#define PSWSB2 0x0004
#define DSWSB0 0x0008
#define DSWSB1 0x0010
#define DSWSB2 0x0020
#define IOWSB0 0x0048
#define IOWSB1 0x0080
#define IOWSB2 0x0100
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -