target.h
来自「详细的OFDM设计过程」· C头文件 代码 · 共 24 行
H
24 行
/*************************************************************************
* $RCSfile: target.h,v $
* $Revision: 1.1 $
* $Date: 2000/09/20 15:28:50 $
* Copyright (c) 2000 Texas Instruments Incorporated
*
* C6x specific initialization details
*************************************************************************/
#ifndef __TARGET_H
#define __TARGET_H
#include <c6x.h> /* IER,ISR,CSR registers */
/* RTDX is interrupt driven on the C6x.
So enable the interrupts now, or it won't work.
*/
#define IER_NMIE 0x00000002
#define CSR_GIE 0x00000001
#define TARGET_INITIALIZE() \
IER |= 0x00000001 | IER_NMIE; \
CSR |= CSR_GIE;
#endif /* __TARGET_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?