target.h

来自「5509A烧写flash的bootloader启动程序」· C头文件 代码 · 共 25 行

H
25
字号
/*************************************************************************
* $RCSFile: /db/sds/syseng/rtdx/target/examples/c55xx/target.h,v $
* $Revision: 1.1 $
* $Date: 2001/02/14 17:13:52 $
* Copyright (c) 2000 Texas Instruments Incorporated
*
* C55xx specific inititlaization details
*************************************************************************/
#ifndef __TARGET_H
#define __TARGET_H

/*  RTDX Init functions are called by C55x runtimes during PINIT.
    RTDX_Init_RT_Monitor will enable the DLOG interrupt.
    However, the user must enable the global interrupt flag.
*/
#ifdef _ALGEBRAIC_ASM
#define TARGET_INITIALIZE() \
    asm(" BIT (ST1, #ST1_INTM) = #0");  /* Enable global ints */
#else
#define TARGET_INITIALIZE() \
    asm("	BCLR	ST1_INTM,ST1_55");	/* Enable global ints */
#endif

#endif /*__TARGET_H */

⌨️ 快捷键说明

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