flashd.h
来自「基于Msp430的串口通信程序」· C头文件 代码 · 共 23 行
H
23 行
/***********************************************************************/
/* flash.h 2000-05-30 */
/* */
/* Flash Definitions */
/***********************************************************************/
#ifndef __flashd
#define __flashd
//Flash programming
#define FSEG_A 0x01080 /* Flash Segment A start address */
#define FSEG_B 0x01000 /* Flash Segment B start address */
/* ---------------------- Function Prototypes ------------------------ */
extern void Flash_clr( int *Data_ptr );
extern void Flash_secure(void);
// 拷贝64字到Flash区,全部无误返回1,有错误返回-1
extern int Flash_copy_fseg( int *source_ptr, int *dest_ptr );
// 拷贝指定数量字节到Flash区
extern int Flash_copy_char(char *source_ptr,char *dest_ptr,unsigned char count);
#endif /* __flashd */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?