文件名称:flash
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-03-11
- 文件大小:
- 3kb
- 下载次数:
- 0次
- 提 供 者:
- zhaoro******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
基于MC9S12XS的 flash使用以及其初始化
#include "flash.h"
#include "init.h"-Based on the the flash use MC9S12XS such as initialization# include " flash.h" # include " init.h" # pragma MESSAGE DISABLE C1420// Do not prompt " Result of function-call is ignored" warnings# pragma MESSAGE DISABLE C2705// Do not prompt " Possible loss of data" warnings# pragma MESSAGE DISABLE C12056// Do not prompt " SP debug info incorrect because of optimization or inline assembler" warning void flash_select (void) {uchar i = 10 flash_select1 () while (i> 0) i- // wait for selected}// flash_select. void flash_release (void) {uchar i = 10 flash_release1 ()
#include "flash.h"
#include "init.h"-Based on the the flash use MC9S12XS such as initialization# include " flash.h" # include " init.h" # pragma MESSAGE DISABLE C1420// Do not prompt " Result of function-call is ignored" warnings# pragma MESSAGE DISABLE C2705// Do not prompt " Possible loss of data" warnings# pragma MESSAGE DISABLE C12056// Do not prompt " SP debug info incorrect because of optimization or inline assembler" warning void flash_select (void) {uchar i = 10 flash_select1 () while (i> 0) i- // wait for selected}// flash_select. void flash_release (void) {uchar i = 10 flash_release1 ()
(系统自动生成,下载前可以参看下载内容)
下载文件列表
flash.c