xiacf88

导航

随笔分类 -  MSP430

IAR for msp430 MDK中 warning: #223-D: function "xxx" declared implicitly 解决方法
摘要:今天在EINT的范例里添加了一个函数,即eint.c中添加了一个datawrite()的函数,并在主函数main.c中调用,编译便警告warning: #223-D: function "datawrite()" declared implicitly很奇怪,在eint.c中也有初始化函数EINTInit()同样在main.c中调用没有问题,问什么偏偏这个不行。但毕竟是个警告,还不是错误,做了个测试IO,while(1) { FIO1SET = 1<<19; delaySysTick(10); Data_write(0xff00, 0xff); FIO1CLR 阅读全文

posted @ 2013-08-21 12:21 xiacf88 阅读(9926) 评论(0) 推荐(0)

关于 BCSCTL1 = CALBC1_12MHZ;DCOCTL = CALDCO_12MHZ; 的疑问
摘要:1 /************************************************************ 2 * Calibration Data in Info Mem 3 ************************************************************/ 4 5 #ifndef __DisableCalData 6 7 #define CALDCO_16MHZ_ (0x10F8u) /* DCOCTL Calibration Data for 16MHz */ 8 READ_ONLY DEFC( CAL... 阅读全文

posted @ 2013-08-20 10:58 xiacf88 阅读(2659) 评论(0) 推荐(0)

msp430g2553.h--IAR编译器头文件
摘要:1 /******************************************************************** 2 * 3 * Standard register and bit definitions for the Texas Instruments 4 * MSP430 microcontroller. 5 * 6 * This file supports assembler and C development for 7 * MSP430G2553 devices. 8 * 9 * Texas Instruments, Version... 阅读全文

posted @ 2013-08-20 10:40 xiacf88 阅读(1909) 评论(0) 推荐(0)