IAR 环境下的430F169头文件是这样的 有些看不太明白
代码中的有彩 {MOD}部分的不明白
#ifndef __msp430x16x
#define __msp430x16x
#ifdef
__IAR_SYSTEMS_ICC__
#ifndef
_SYSTEM_BUILD
#
pragma system_include
#endif
#endif
#if (((
__tiD__ >> 8) & 0x7F) != 0x2b) /* 0x2b = 43 dec */
#error msp430f169.h file for use with ICC430/A430 only
#endif
#ifdef
__IAR_SYSTEMS_ICC__
#include "in430.h"
#pragma language=extended
#define
DEFC(name, address) __no_init volatile unsigned char name @ address;
#define DEFW(name, address) __no_init volatile unsigned short name @ address;
#define DEFXC volatile unsigned char
#define DEFXW volatile unsigned short
#endif /* __IAR_SYSTEMS_ICC__ */
#ifdef __IAR_SYSTEMS_ASM__
#define DEFC(name, address) sfrb name = address;
#define DEFW(name, address) sfrw name = address;
#endif /* __IAR_SYSTEMS_ASM__*/
#ifdef
__cplusplus
#define READ_ONLY
#else
#define READ_ONLY const
#endif
一周热门 更多>