飞思卡尔单片机SCI通信程序探讨.doc

SCI通信 一、飞思卡尔单片机DZ60 SCI通信 查询发送 #include hidef.h /* for EnableInterrupts macro */ #include derivative.h /* include peripheral declarations */ #define LED_D1 PTDD_PTDD0 #define LED_D1_DIR PTDDD_PTDDD0 #define LED_ON 0 #define LED_OFF 1 unsigned char SCANF_SEND_STRINGS[] = HELLO MCU WORLD; unsigned char *pSendString = SCANF_SEND_STRINGS; /*************************************************************/ /* 初始化总线时钟PEE模式 */ /* 外部晶振频率为4MHz,总线频率16MHz */ /*************************************************************/ void

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档