s12hy_vectors.h

来自「Freescale 9S12单片机PWM驱动」· C头文件 代码 · 共 69 行

H
69
字号
/******************************************************************************
													Copyright (c) Freescale 2004
File Name	 :	$RCSfile: s12x_vectors.h,v $

Engineer		 :	$Author: r27624/r58711/r32151 $

Location		 :	EKB

Date Created	 :	08/10/2003

Current Revision :	$Revision: 1.5 $

Notes            :  

*******************************************************************************
Freescale reserves the right to make changes without further notice to any
product herein to improve reliability, function or design. Freescale does
not assume any liability arising out ot the application or use of any
product, circuit, or software described herein; neither does it convey any
license under its patent rights nor the rights of others. Freescale products
are not designed, intended, or authorized for use as components in systems
intended for surgical implant into the body, or other applications intended
to support life, or for any other application in which the failure of the
Freescale product could create a situation where personal injury or death may
occur. Should Buyer purchase or use Freescale products for any such unintended
or unauthorized application, Buyer shall idemnify and hold Freescale and its
officers, employees, subsidiaries, affiliates, and distributors harmless
against all claims costs, damages, and expenses, and reasonable attorney fees
arising out of, directly or indirectly, any claim of personal injury or death
associated with such unintended or unathorized use, even if such claim alleges
that Freescale was negligent regarding the design or manufacture of the part.
Freescale and the Freescale logo* are registered trademarks of Freescale Ltd.
******************************************************************************/

#ifndef S12HY_VECTORS_H	/* prevent duplicated includes */
#define S12HY_VECTORS_H

/************************* Include Files *************************************/

/************************* typedefs ******************************************/
typedef void (*near tIsrFunc)(void);

/************************* function prototypes *******************************/
//#pragma CODE_SEG __NEAR_SEG NON_BANKED 

#include <non_bank.sgm>

//#define TEST_HERE
#include <non_bank.sgm>		 /* sets code seg to non banked near if not small */
//#undef TEST_HERE

void SpuriousISR(void); 
void Default_ISR(void);

/************************* Global Variables **********************************/
#pragma DATA_SEG DEFAULT


#pragma CONST_SEG __NEAR_SEG DEFAULT
extern const unsigned char InterruptConfigurationTable[]; 

#pragma CONST_SEG __NEAR_SEG S12HY_VECTOR_TABLE
extern const void (*const near _vectab[])(void); 

/************************* #defines ******************************************/
#define ReservedISR (tIsrFunc)0xFFFF

#endif /* S12HY_VECTORS_H */

⌨️ 快捷键说明

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