摘要:今天在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
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文