摘要: 1、《main.c》#define ENABLE_ALL_INTERRUPT() (IEN0 |= 0x80)#define DISABLE_ALL_INTERRUPT() (IEN0 &= ~0x80)#include"ioCC2430.h"#define uchar unsigned char#define uint unsigned int#define BYTE unsigned charextern void UARTxISRopen(void); //开串口接收中断服务函数extern void SET_UART0_ISR(void);//串口中断接收设 阅读全文
posted @ 2012-07-09 16:00 平湖之下 阅读(387) 评论(0) 推荐(0) 编辑