target.h

来自「使用FLASHBURN进行6713FLASH烧写时」· C头文件 代码 · 共 32 行

H
32
字号
/*
 * Copyright (c) 2000 Texas Instruments Incorporated
 */

/*
 * $Log: target.h,v $
 * Revision 1.2  2000/12/08 18:37:51  heeschen
 * v0.00002 of FBTC62
 * Updated as a result of code review 12/05/00 on the
 * FBTC54 program. Mainly changed Comm. Protocol
 * and RSX messaging. Also taking posession of type.h
 * and intvecs.asm.
 *
 */

/* This is taken directly from the RTDX tutorials.
 */

#ifndef __TARGET_H
#define __TARGET_H

extern cregister volatile unsigned int IER;
extern cregister volatile unsigned int ISR;
extern cregister volatile unsigned int CSR;

#define NMIE_BIT	0x00000002
#define TARGET_INITIALIZE() \
	IER |= 0x00000001 | NMIE_BIT; \
	CSR |= 0x00000001;

#endif // __TARGET_H

⌨️ 快捷键说明

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