📄 itc_hr.h
字号:
/*
*******************************************************************************
COPYRIGHT 2003 STMicroelectronics
Source File Name : itc_hr.h
Group : IPSW,CMG-IPDF.
Author : MCD Application Team
Date First Issued: 5/3/2002
********************************Documentation**********************************
General Purpose - Mapping of all hardware registers for COSMIC and their
declaration as extern for HIWARE
********************************RevisionHistory********************************
1. Removed the mapping of hardware registers.
2. Defined constants used in itc.c.
3. Included necessary comments.
4. Updated file for release 2.0.
_______________________________________________________________________________
Date :5/3/2002 Release:1.0
Date :23/9/2003 Release: 2.0
Date :28/04/04 MISRA changes
******************************************************************************/
/* MACROS FOR ASM INSTRUCTIONS */
#include "ST7lib_config.h"
#ifdef _COSMIC_
#define STORE_CONTENTS() {_asm("PUSH CC");}
#define RESTORE_CONTENTS() {_asm("POP CC");}
#endif
/****************************************************************************/
#define REG_DEFAULT 0x00
#define EIREG_MASKEI0 (0xfc)
#define EIREG_MASKEI1 (0xf3)
#define EIREG_MASKEI2 (0xcf)
#define EIREG_MASKEI3 (0x3f)
#define EICR_SET(V,S) ((V)<< (S))
#define EISR_SET(V,S) ((V)<< (S))
/********** (c) 2003 STMicroelectronics ********************* END OF FILE*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -