- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
msp430f169读写flash新谈(Msp430f169 read and write flash new talk)
msp430f169读写flash新谈(Msp430f169 read and write flash new talk) Used MSP430fi69 Type MCU has been more than 2 months, thought does not come into contact with the power down protection, did not think of this function, the project need to use SCM no way, can only bite the bullet to access to information. Online information available, can be said that the basic function can be found, but everyone seems to have online taboo in the final program released. This also led to the introduction of can read, but not out of debugging. Cut the crap, msp430f169 Type MCU power down protection flash 2, address: 0x1000-0x10ff and 0x1100-0x1ff. book says MSP430 microcontroller only support section to wipe out this, we must pay attention to, and this is also the reason why this kind of monolithic design for 2 Flash opportunities. Because you can erase the A while the data backup to B, then after the erase operation does not need to rewrite the address copy back. I dont what to do, or directly on the program, you think of yourself: Flash.h #ifndef __FLASH #define __FLASH Void FlashErase (unsigned int ADR); Unsigned char (FlashBusy); Void FlashWW (unsigned int Adr, unsigned int DataW); Void FlashWB (unsigned int Adr, unsigned char DataB); Unsigned char FlashRB (unsigned int Adr); Unsigned int FlashRW (unsigned int Adr); Void FlashWriteA (unsigned int addr, unsigned char data); #endif Flash.c #include MSP430x16x.h #include flash.h /************************************* Erase ADR: any address to erase period ************************************/ Void FlashErase (unsigned int ADR) { Unsigned char *p0; FCTL1=FWKEY+ERASE; FCTL2=FWKEY+FSSEL_1+FN3+FN4; //FLASH controller clock source for the MCLK, 8MHZ after 25 minutes after the frequency, frequency is 320KHZ FCTL3=FWKEY; / / unlock While (FlashBusy) (==1) / / wait for the FLASH memory to complete the operation ; P0= (unsigned * char) adr; *p0=0; / / period to address any write, erase operation start While (FlashBusy) (==1) / / wait for the FLASH
您可能关注的文档
- jsp六种内置对象(JSP six built-in objects).doc
- js 读取xml文档实列教程(JS read the XML document, the actual tutorial).doc
- jsp 构 架--2种方式(JSP framework --2 ways).doc
- jsp四种属性范围(JSP four range of attributes).doc
- jsp和servlet的区别(The difference between JSP and Servlet).doc
- jquery表单验证扩展及使用简单示例(JQuery forms validation extensions and uses simple examples).doc
- jsp标准标签库介绍(Introduction to JSP standard tag library).doc
- jquery操作dom5.10 1738(JQuery operation, dom5.10, 1738).doc
- js常用的校验函数(JS commonly used checksum function).doc
- jsp必看例题代码(JSP must see example code).doc
- mt4 随笔(MT4 essays).doc
- mp3修理(Mp3 repair).doc
- msc.marc(模拟).doc
- mtk history机制深入分析(MTK history mechanism in-depth analysis).doc
- mtk6325指令(Mtk6325 instruction).doc
- mtl00部分常用卫星天线接收器密码(出厂初始密码)bfu(Mtl00 part of the common satellite antenna receiver password (factory initial password) BFU).doc
- mvc框架(mvc framework).doc
- myeclipse svn 插件配置步骤(插件配置步骤myeclipse svn).doc
- myeclipse安装插件(MyEclipse installation plug-in).doc
- myeclispe安装snv插件步骤(Myeclispe installs the SNV plug-in steps).doc
最近下载
- 清真保证体系培训.ppt VIP
- 2023年中外电影史论题库答案完成版.doc VIP
- (高清版)B-T 15596-2021 塑料 在玻璃过滤后太阳辐射、自然气候或实验室辐射源暴露后颜色和性能变化的测定.pdf VIP
- 学校食堂从业人员管理培训记录(40篇).doc VIP
- 《苏格兰的风》阅读练习及答案.doc VIP
- 调色师:达芬奇视频剪辑调色从入门到精通(上篇,共上中下3篇).pptx VIP
- 2025 银行公开招聘工作人员简章.pdf VIP
- 初中满分优秀作文五篇(写成长、写人生、写逐梦、写逆风、写母爱).docx VIP
- 《GBT 11345-2023 焊缝无损检测 超声检测 技术、检测等级和评定》专题研究报告.pptx VIP
- 6-特种设备安全附件、安全保护装置、测量调控装置及有关附属仪器仪表定期校验、检修及记录制度.doc VIP
有哪些信誉好的足球投注网站
文档评论(0)