{"id":2589,"date":"2019-06-04T08:39:58","date_gmt":"2019-06-04T08:39:58","guid":{"rendered":""},"modified":"2019-06-04T16:40:20","modified_gmt":"2019-06-04T08:40:20","slug":"%e5%a6%82%e4%bd%95%e6%8f%90%e9%ab%98msp430%e5%8d%95%e7%89%87%e6%9c%ba%e7%9a%84%e6%93%8d%e4%bd%9c%e6%95%88%e7%8e%87","status":"publish","type":"post","link":"http:\/\/www.szryc.com\/?p=2589","title":{"rendered":"\u5982\u4f55\u63d0\u9ad8MSP430\u5355\u7247\u673a\u7684\u64cd\u4f5c\u6548\u7387"},"content":{"rendered":"
\n\t\u5173\u4e8e\u4ee3\u7801\u6548\u7387<\/p>\n
\n\tMSP430<\/u>\u7cfb\u5217\u7684\u7a0b\u5e8f\u8bbe\u8ba1\u51c6\u5219\uff0c\u6709\u5229\u4e8e\u63d0\u9ad8\u4ee3\u7801\u6548\u7387\u3002\u5e94\u8be5\u6307\u51fa\uff0c\u8fd9\u4e9b\u51c6\u5219\u57fa\u672c\u4e0a\u662f\u57fa\u4e8eMSP430\u7cfb\u5217\u7684\u786c\u4ef6\u7ed3\u6784\u7279\u70b9\u800c\u63d0\u51fa\u7684\u3002<\/p>\n \n\t1.\u4f4d\u57df\u7c7b\u578b\u7684\u6267\u884c\u65f6\u5f88\u6162\u7684\uff0c\u6240\u4ee5\u5e94\u5f53\u5728\u4ec5\u4ec5\u4e3a\u4e86\u8282\u7701\u6570\u636e\u5b58\u50a8\u7a7a\u95f4\u65f6\u624d\u4f7f\u7528\u4f4d\u57df\u65b9\u5f0f\u3002\u5982\u679c\u7528\u6237\u5fc5\u987b\u4f7f\u7528\u4f4d\u57df\u5b58\u50a8\uff0c\u53ef\u4ee5\u7528char\u6216unsigned int\u7684\u4f4d\u5c4f\u853d\u64cd\u4f5c\u6765\u4ee3\u66ff\u4f4d\u57df\u64cd\u4f5c\u3002<\/p>\n \n\t2.\u5728\u6a21\u5757\u4e4b\u5916\u4e0d\u4f7f\u7528\u7684\u53d8\u91cf\u5e94\u5f53\u58f0\u660e\u4e3astati<\/u>c\uff0c\u8fd9\u6837\u5728\u7f16\u8bd1\u65f6\u6709\u53ef\u80fd\u4f7f\u8fd9\u4e9b\u53d8\u91cf\u5206\u914d\u5728\u5bc4\u5b58\u5668<\/u>\u4e2d\u6682\u5b58\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u4ee3\u7801\u6548\u7387\u3002<\/p>\n \n\t3.\u5c3d\u53ef\u80fd\u4f7f\u7528unsigned\u6570\u636e\u7c7b\u578b\u3002\u8bb8\u591a\u60c5\u51b5\u4e0b\uff0c\u5bf9unsigned\u6570\u636e\u7c7b\u578b\u7684\u64cd\u4f5c\uff0c\u6bd4\u5bf9signed\u6570\u636e\u7c7b\u578b\u7684\u64cd\u4f5c\u6548\u7387\u66f4\u9ad8\uff0c\u5c24\u5176\u5bf9\u4e8e\u9664\u6cd5\u548c\u6c42\u6a21\u8fd0\u7b97\u66f4\u662f\u5982\u6b64\u3002<\/p>\n \n\t4.\u7a0b\u5e8f\u8bbe\u8ba1\u4e2d\u5e94\u8be5\u4f7f\u7528ANSI-C\u539f\u578b\u51fd\u6570\u3002\u5bf9ANSI\u51fd\u6570\u7684\u8c03\u7528\u6bd4\u5bf9K&S\u51fd\u6570\u7684\u8c03\u7528\u6548\u7387\u66f4\u9ad8\u3002<\/p>\n \n\t5.MSP430\u7cfb\u5217\u5355\u7247\u673a<\/u>\u5bf916\u4f4d\u6570\u636e\u7c7b\u578b\u7684\u64cd\u4f5c\u6548\u7387\u6700\u9ad8\u3002\u5982\uff1ashort\u3001int\u3001unsigned int\u7c7b\u578b\u7b49\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u5229\u75288\u4f4d\u6570\u636e\u7c7b\u578b\u53ef\u4ee5\u8282\u7701\u6570\u636e\u7684\u5b58\u50a8\u7a7a\u95f4\uff0c\u4f46\u8fd9\u6837\u5e76\u4e0d\u4f1a\u51cf\u5c11\u7a0b\u5e8f\u4ee3\u7801\u7684\u5b58\u50a8\u7a7a\u95f4\uff1b\u800c\u5bf9\u4e8e\u8fd0\u752832\u4f4d\u6570\u636e\u7c7b\u578b\uff0c\u7531\u4e8eMSP320\u7cfb\u5217\u7684\u7ed3\u6784\u5e76\u4e0d\u76f4\u63a5\u652f\u6301\uff0c\u6267\u884c\u7684\u6548\u7387\u662f\u8f83\u4f4e\u7684\u3002<\/p>\n \n\t<\/p>\n \n\t6.\u6807\u91cf\u81ea\u52a8\u53d8\u91cf\uff08scalar auto\uff09\u901a\u5e38\u5206\u914d\u5728\u5bc4\u5b58\u5668\u4e2d\uff0c\u56e0\u6b64\uff0c\u53ea\u8981\u6709\u53ef\u80fd\u5c31\u5e94\u8be5\u7528auto\u7c7b\u578b\u800c\u4e0d\u7528staTIc\u7c7b\u578b\u3002<\/p>\n \n\t7.\u51fd\u6570\u7684\u5934\u4e24\u4e2a\u53c2\u6570\u662f\u7528\u5bc4\u5b58\u5668\u4f20\u9001\u7684\uff0c\u56e0\u6b64\uff0c\u5c06\u53c2\u6570\u4f20\u9012\u7ed9\u51fd\u6570\u65f6\uff0c\u7528\u53c2\u6570\u65b9\u5f0f\u5e38\u6bd4\u7528staTIc\u53d8\u91cf\u6548\u7387\u66f4\u9ad8\u3002<\/p>\n \n\t8.\u590d\u5236\u7ed3\u6784\u548c\u8054\u5408\u6570\u636e\u7c7b\u578b\u662f\u5f00\u9500\u5f88\u5927\u7684\u64cd\u4f5c\u3002\u5e94\u8be5\u5c3d\u91cf\u907f\u514d\u5728\u7a0b\u5e8f\u8fd0\u884c\u4e2d\u505a\u7ed3\u6784\u548c\u8054\u5408\u7684\u8d4b\u503c\u64cd\u4f5c\uff0c\u907f\u514d\u4ee5\u7ed3\u6784\u548c\u8054\u5408\u6570\u636e\u7c7b\u578b\u4f5c\u4e3a\u51fd\u6570\u7684\u53c2\u6570\uff0c\u907f\u514d\u8ba9\u51fd\u6570\u8fd4\u56de\u7ed3\u6784\u548c\u8054\u5408\u6570\u636e\u7c7b\u578b\u3002\u53ea\u8981\u6709\u53ef\u80fd\uff0c\u5c31\u5e94\u8be5\u91c7\u7528\u6307\u5411\u7ed3\u6784\u548c\u8054\u5408\u7684\u6307\u9488\u6765\u5b9e\u73b0\u4e0a\u8ff0\u7684\u5404\u79cd\u64cd\u4f5c\u3002<\/p>\n \n\t9.\u51fd\u6570\u4e2d\u58f0\u660e\u7684\u65e0\u521d\u503c\u975e\u6807\u91cf\u81ea\u52a8\u53d8\u91cf\uff08\u7ed3\u6784\u3001\u8054\u5408\u548c\u6570\u7ec4\u7b49\uff09\uff0c\u4f1a\u5728\u7a0b\u5e8f\u8fd0\u884c\u4e2d\u6bcf\u6b21\u8c03\u7528\u51fd\u6570\u65f6\u4f5c\u6570\u636e\u7684\u590d\u5236\u64cd\u4f5c\u3002\u5982\u679c\u662f\u5e38\u91cf\uff0c\u53ef\u4ee5\u7528staTIc const\u5b58\u50a8\u7c7b\u6765\u907f\u514d\u53d1\u751f\u8fd9\u79cd\u60c5\u51b5\u3002<\/p>\n \n\t\u6b64\u5916\uff0c\u91c7\u7528C\u7a0b\u5e8f\u8c03\u7528\u6c47\u7f16\u5b50\u7a0b\u5e8f\u7684\u65b9\u6cd5\u4e5f\u662f\u63d0\u9ad8\u4ee3\u7801\u6548\u7387\u7684\u6709\u6548\u624b\u6bb5\u3002<\/p>\n \n\t\u8fde\u63a5\u547d\u4ee4\u6587\u4ef6\u7684\u4f5c\u7528<\/p>\n \n\t\u4f7f\u7a0b\u5e8f\u8bbe\u8ba1\u9002\u5408\u4e8e\u7528\u6237\u7684\u76ee\u6807\u7cfb\u7edf\u3002\u6bcf\u4e00\u4e2a\u9879\u76ee\u90fd\u9700\u8981\u4e00\u4e2a\u5305\u542b\u76ee\u6807\u7cfb\u7edf\u5b58\u50a8\u5668\u6620\u5c04\u7ec6\u8282\u7684\u8fde\u63a5\u547d\u4ee4\u6587\u4ef6\u3002\u5b83\u7684\u6587\u4ef6\u6269\u5c55\u540d\u4e3a.xcl\uff0c\u53ef\u4ee5\u7528\u6587\u672c\u7f16\u8f91\u5668\u6765\u6d4f\u89c8\u5176\u5185\u5bb9\u3002<\/p>\n \n\t\u8fde\u63a5\u547d\u4ee4\u6587\u4ef6\u6709\u57fa\u672c\u76f8\u540c\u7684\u7ed3\u6784\u3002\u4ee5MSP430F149C.xcl\u4e3a\u4f8b\u3002\u6587\u4ef6\u4e2d\u542b\u6709\u5927\u91cf\u7684\u6ce8\u91ca\u884c\uff0c\u4ee5\u589e\u52a0\u53ef\u8bfb\u6027\u3002\u5b9e\u9645\u8d77\u4f5c\u7528\u7684\u547d\u4ee4\u884c\u5e76\u4e0d\u591a\u3002<\/p>\n \n\t\u9996\u5148\u7528-c\u547d\u4ee4\u5c06cpu<\/u>\u7c7b\u578b\u5b9a\u4e49\u4e3aMSP430<\/p>\n \n\t-cMSP430<\/p>\n \n\t\u7136\u540e\u7528\u4e00\u7cfb\u5217-Z\u547d\u4ee4\u4ee5\u5b9a\u4e49\u7f16\u8bd1\u5668\u4f7f\u7528\u7684\u5b58\u50a8\u5668\u6bb5\uff0c\u5206\u522b\u5b9a\u4e49\u4e86\u6570\u636e\u3001\u5806\u6808\u3001\u4fe1\u606f\u3001\u4ee3\u7801\u3001\u4e2d\u65ad\u5411\u91cf\u7b49\u529f\u80fd\u533a\u57df\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n \n\t-Z\uff08DATA\uff09UDATA0\uff0cIDATA0\uff0cECSTR=0200-09FF<\/p>\n \n\t-Z\uff08DATA\uff09CSTACK#0200-0A00<\/p>\n \n\t-Z\uff08CODE\uff09INFO=1000-10FF<\/p>\n \n\t-Z\uff08CODE\uff09CODE\uff0cCONST\uff0cCSTR\uff0cCDATA0\uff0cCCSTR=1100-FFDF<\/p>\n \n\t-Z\uff08CODE\uff09INTVEC=FFE0-FFFF<\/p>\n \n\t\u518d\u7528-e\u547d\u4ee4\u5b9a\u4e49\u9002\u5408\u7528\u6237\u7684\u5e94\u7528\u8981\u6c42\u548c\u7a7a\u95f4\u9650\u5236\u7684\u7528\u4e8eprintf\u548cscan<\/u>f\u7684\u5e95\u5c42\u8f93\u5165\u8f93\u51fa\u51fd\u6570\uff0c\u547d\u4ee4\u5982\u4e0b<\/p>\n \n\t-e_small_write<\/u>=_formatted_write<\/p>\n \n\t-e_medium_read=_fomatted_read<\/p>\n \n\t\u6700\u540e\uff0c\u6307\u660e\u52a0\u8f7d\u7684C\u5e93\uff08\u8fd0\u884c\u65f6\u95f4\u5e93\u6587\u4ef6\uff09\uff0c\u4ee5\u9002\u5e94\u4e0d\u540cCPU\u7684\u5dee\u5f02\uff0c\u5982\u662f\u5426\u542b\u786c\u4ef6\u4e58\u6cd5\u5668\u7b49\uff1a<\/p>\n \n\tcl430ksm.r43<\/p>\n \n\t\u7528\u6237\u53ef\u4ee5\u76f4\u63a5\u4eceICC430\u5b50\u76ee\u5f55\u4e2d\u9009\u62e9\u9002\u5408\u76ee\u6807\u7cfb\u7edf\u7684\u8fde\u63a5\u547d\u4ee4\u6587\u4ef6\uff0c\u4f46\u662f\uff0c\u4e3a\u4e86\u66f4\u597d\u7684\u9002\u5e94\u7528\u6237\u7684\u8bbe\u8ba1\u76ee\u6807\uff0c\u4e5f\u53ef\u4ee5\u81ea\u884c\u7f16\u8f91\u4fee\u6539\u8fde\u63a5\u547d\u4ee4\u6587\u4ef6\u3002<\/p>\n \n\tC430\u7684\u914d\u7f6e<\/p>\n \n\t\u8bbe\u5b9a\u76ee\u6807\u673a\u578b\u53f7\u7684\u5934\u6587\u4ef6<\/p>\n \n\t\u6839\u636e\u76ee\u6807\u673a\u578b\u53f7\uff08\u4f8b\u5982MSP430F149\uff09\u5728\u6e90\u6587\u4ef6\u5f00\u59cb\u6dfb\u52a0\u5982\u4e0b\u8bed\u53e5\uff1a<\/p>\n \n\t#include ‘MSP430X14X.h’<\/p>\n \n\t\u8fd9\u4e2a\u6587\u4ef6\u5305\u542b\u5177\u4f53MSP430\u76ee\u6807\u673a\u5668\u4e2d\u7279\u6b8a\u529f\u80fd\u5bc4\u5b58\u5668\u7684\u5730\u5740\u8bf4\u660e\u3002\u5728\u540e\u7eed\u7684\u4ee3\u7801\u7f16\u5199\u4e2d\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5bc4\u5b58\u5668\u7684\u540d\u79f0\u3002MSP430X14X.h\u6587\u4ef6\u7684\u5185\u5bb9\u53ef\u4ee5\u5728\u8f6f\u4ef6\u7684INC\u5b50\u76ee\u5f55\u4e0b\u627e\u5230\u3002<\/p>\n \n\t1.\u5b58\u50a8\u5668\u7684\u5206\u914d<\/p>\n \n\t\u901a\u8fc7\u8fde\u63a5\u547d\u4ee4\u6587\u4ef6\uff0c\u53ef\u4ee5\u8bf4\u660e\u76ee\u6807\u7cfb\u7edf\u786c\u4ef6\u73af\u5883\u4e2d\u7684ROM<\/u>\u548cRAM<\/u>\u7684\u5730\u5740\u3002\u8fde\u63a5\u7684\u9009\u9879\u89c4\u5b9a\uff1a<\/p>\n \n\t*ROM\u533a\u57df\u7528\u4e8e\u5b58\u50a8\u51fd\u6570\u3001\u5e38\u6570\u548c\u521d\u59cb\u5316\u503c<\/p>\n \n\t*RAM\u533a\u57df\u7528\u4e8e\u5b58\u50a8\u5806\u6808\u548c\u53d8\u91cf<\/p>\n \n\t*\u975e\u6613\u5931RAM\u533a\u53ef\u4ee5\u901a\u8fc7no_init\u7c7b\u578b\u4fee\u9970\u7b26\u548c\u5b58\u50a8\u5668#pragma\u7f16\u8bd1\u547d\u4ee4\u6765\u8bf4\u660e\u5c06\u9a7b\u7559\u53d8\u91cf\u3002\u7f16\u8bd1\u5668\u5c06\u8fd9\u79cd\u53d8\u91cf\u653e\u5728\u72ec\u7acb\u7684no_init\u6bb5\u4e2d\u3002\u5b83\u7684\u5730\u5740\u8303\u56f4\u7531\u7528\u6237\u5728\u975e\u6613\u5931RAM\u533a\u4e2d\u6307\u5b9a\u3002\u7a0b\u5e8f\u8fd0\u884c\u65f6\u7cfb\u7edf\u4e0d\u5bf9\u8fd9\u4e9b\u53d8\u91cf\u4f5c\u521d\u59cb\u5316\u3002<\/p>\n \n\t2.\u5806\u6808\u4f53\u79ef<\/p>\n \n\t\u9ed8\u8ba4\u7684\u662f512Bytes\uff0c\u7528\u4e86\u884c\u547d\u4ee4\uff1a-Z\uff08DATA\uff09CSTACK+200<\/p>\n \n\t3.\u8f93\u5165\u8f93\u51fa<\/p>\n \n\t*putchar\u548cgetchar\u662f\u57fa\u7840\u51fd\u6570\uff0c\u7528\u4e8e\u5b9e\u73b0\u6240\u6709\u57fa\u4e8e\u5b57\u7b26<\/u>\u7684I\/O\u64cd\u4f5c\u3002\u4e3a\u4e86\u4f7f\u6240\u6709\u57fa\u4e8e\u5b57\u7b26\u7684I\/O\u529f\u80fd\u5f97\u4ee5\u5b9e\u73b0\uff0c\u7528\u6237\u5fc5\u987b\u7528\u786c\u4ef6\u73af\u5883\u63d0\u4f9b\u7684\u5de5\u5177\u6765\u5b9a\u4e49\u8fd9\u4e24\u4e2a\u51fd\u6570\u3002<\/p>\n \n\t*printf\u548csprintf\u51fd\u6570\u4f7f\u7528\u540d\u4e3a_formatted_write\u7684\u901a\u7528\u683c\u5f0f\u5316\u51fd\u6570\u3002ANSI\u6807\u51c6\u7248\u672c_formatted_write<\/p>\n \n\t\u4f53\u79ef\u975e\u5e38\u5927\uff0c\u800c\u5b83\u6240\u63d0\u4f9b\u7684\u529f\u80fd\u5728\u4e0d\u5c11\u5e94\u7528\u4e2d\u5e76\u4e0d\u9700\u8981\u3002\u4e3a\u4e86\u51cf\u5c11\u5b58\u50a8\u5668\u7684\u5f00\u9500\uff0c\u5728\u6807\u51c6C\u5e93\u4e2d\u63d0\u4f9b\u4e86\u4e24\u79cd\u53ef\u4ee5\u66ff\u4ee3\u7684\u8f83\u5c0f\u7248\u672c\uff1a<\/p>\n \n\t1\uff09_medium_write<\/p>\n \n\t\u9664\u4e86\u4e0d\u652f\u6301\u6d6e\u70b9\u6570\u4e4b\u5916\uff0c\u5b83\u4e0e_formatted_write\u4e00\u6837\u3002\u56e0\u6b64\uff0c\u5982\u679c\u4f7f\u7528%f\uff0c%g\uff0c%G\uff0c%e\u548c%E\u8bf4\u660e\u7b26\u5c06\u4ea7\u751f\u9519\u8bef\u3002_medium_write\u6bd4_formatted_write\u5c0f\u5f97\u591a\u3002<\/p>\n \n\t2\uff09_small_write<\/p>\n \n\t\u4e0e_medium_write\u63a5\u8fd1\uff0c\u4f46\u662f\u5bf9int\u7c7b\u578b\u53ea\u652f\u6301%%\uff0c%d\uff0c%o\uff0c%c\uff0c%s\u548c%x\u8bf4\u660e\u7b26\uff0c\u5e76\u4e14\u4e0d\u652f\u6301\u4f4d\u57df\u548c\u7cbe\u5ea6\u53c2\u6570\u3002_small_write\u5927\u5c0f\u7ea6\u4e3a_formatted_write\u768410%—15%\u3002<\/p>\n \n\tC430\u7f16\u8bd1\u5668\u7684\u9ed8\u8ba4\u7248\u672c\u5c31\u662f_small_write\uff1a-e_small_write=_formatted_write<\/p>\n \n\t\u8981\u9009\u62e9\u5b8c\u6574\u7684ANSI\u7248\u672c\uff0c\u53ef\u4ee5\u5220\u9664\u8fd9\u4e00\u884c\u3002<\/p>\n \n\t*\u7b80\u5316printf<\/p>\n \n\t\u6709\u65f6\u4e3a\u4e86\u652f\u6301\u7279\u6b8a\u8f93\u51fa\u683c\u5f0f\u7684\u9700\u6c42\uff0c\u6216\u652f\u6301\u975e\u6807\u51c6\u8f93\u51fa\u8bbe\u5907\u7684\u9700\u6c42\uff0c\u5fc5\u987b\u8ba2\u5236\u7279\u6b8a\u7684\u8f93\u51fa\u5b50\u7a0b\u5e8f\u3002\u6587\u4ef6imwri.c\u4e2d\u63d0\u4f9b\u4e86\u9ad8\u5ea6\u7b80\u5316\u7684printf\u51fd\u6570\u7684\u6e90\u6587\u4ef6\uff0c\u5176\u4e2d\u4e0d\u5305\u542bsprintf\u3002\u8fd9\u4e00\u6e90\u7a0b\u5e8f\u7248\u672c\u53ef\u4ee5\u6309\u7167\u7528\u6237\u8981\u6c42\u52a0\u4ee5\u4fee\u6539\uff0c\u7136\u540e\u628a\u7f16\u8bd1\u597d\u7684\u6a21\u5757\u52a0\u5165\u5e93\u4e2d\uff0c\u4ee3\u66ff\u539f\u6709\u7684\u6a21\u5757\u3002<\/p>\n \n\t*scanf\u548csscanf<\/p>\n \n\t\u4e0eprintf\u548csprintf\u76f8\u4f3c\uff0cscanf\u548csscanf\u4f7f\u7528\u540d\u4e3a_formatted_read\u7684\u901a\u7528\u683c\u5f0f\u5316\u51fd\u6570\u3002ANSI\u6807\u51c6\u7248\u672c_formatted_read\u4f53\u79ef\u975e\u5e38\u5927\uff0c\u800c\u5b83\u6240\u63d0\u4f9b\u7684\u529f\u80fd\u5728\u4e0d\u5c11\u5e94\u7528\u4e2d\u5e76\u4e0d\u9700\u8981\u3002\u4e3a\u4e86\u51cf\u5c11\u5b58\u50a8\u5668\u7684\u5f00\u9500\uff0c\u5728\u6807\u51c6C\u5e93\u4e2d\u540c\u6837\u4e5f\u63d0\u4f9b\u4e86\u4f53\u79ef\u8f83\u5c0f\u7684\u7248\u672c\uff1a_medium_read\u3002\u9664\u4e86\u4e0d\u652f\u6301\u6d6e\u70b9\u6570\u4e4b\u5916\uff0c\u5b83\u4e0e_formatted_read\u529f\u80fd\u4e00\u6837\uff0c\u4f46\u662f_medium_read\u6bd4_formatted_read\u8981\u5c0f\u5f97\u591a\u3002<\/p>\n \n\tC430\u7684\u9ed8\u8ba4\u7248\u672c\u662f_medium_read\u3002<\/p>\n \n\t4.\u786c\u4ef6\u4e0e\u5b58\u50a8\u5668\u521d\u59cb\u5316<\/p>\n \n\t\u521b\u5efacstartup.r43\u7684\u76ee\u6807\u6a21\u5757\u6587\u4ef6\uff0c\u7136\u540e\u7528\u6237\u5e94\u5f53\u5728\u8fde\u63a5\u547d\u4ee4\u6587\u4ef6\u4e2d\u4f7f\u7528\u4e0b\u5217\u547d\u4ee4\uff0c\u4f7fXLINK\u5f15\u7528\u7528\u6237\u5b9a\u4e49\u7684CSTARTUP\u6a21\u5757\u6765\u4ee3\u66ff\u5e93\u4e2d\u7684\u6a21\u5757\uff1a<\/p>\n \n\t-A cstartup<\/p>\n \n\t-C library<\/p>\n \n\t\u5728Workbench\u4e2d\uff0c\u53ef\u4ee5\u5c06\u4fee\u6539\u540e\u7684cstartup\u6587\u4ef6\u52a0\u5230\u7528\u6237\u7684\u9879\u76ee\u4e2d\uff0c\u5e76\u5728\u8fde\u63a5\u547d\u4ee4\u6587\u4ef6\u4e2d\u7684library\u4e4b\u524d\u52a0\u4e0a-C\u547d\u4ee4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u5173\u4e8e\u4ee3\u7801\u6548\u7387 MSP430 \u7cfb\u5217\u7684\u7a0b\u5e8f\u8bbe\u8ba1\u51c6\u5219\uff0c\u6709\u5229\u4e8e\u63d0\u9ad8\u4ee3\u7801\u6548\u7387\u3002\u5e94\u8be5\u6307\u51fa\uff0c\u8fd9\u4e9b\u51c6\u5219\u57fa\u672c\u4e0a\u662f\u57fa\u4e8eMSP430\u7cfb\u5217\u7684\u786c\u4ef6\u7ed3\u6784\u7279\u70b9\u800c\u63d0\u51fa\u7684\u3002 1.\u4f4d\u57df\u7c7b\u578b\u7684\u6267\u884c\u65f6\u5f88\u6162\u7684\uff0c\u6240\u4ee5\u5e94\u5f53\u5728\u4ec5\u4ec5\u4e3a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[],"_links":{"self":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2589"}],"collection":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2589"}],"version-history":[{"count":0,"href":"http:\/\/www.szryc.com\/index.php?rest_route=\/wp\/v2\/posts\/2589\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2589"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.szryc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}