You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
41 lines
1.1 KiB
//////////////////////////////////////////////////////////////////////////
|
|
/// COPYRIGHT NOTICE
|
|
/// Copyright (c) 2018, 传控科技
|
|
/// All rights reserved.
|
|
///
|
|
/// @file msp_eeprom
|
|
/// @brief msp_eeprom
|
|
/// @info
|
|
///(本文件实现的功能的详述)
|
|
///
|
|
/// @version 1.1 CCsens technology
|
|
/// @author CC
|
|
/// @date 20190106
|
|
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef _msp_eeprom_H_
|
|
#define _msp_eeprom_H_
|
|
|
|
//#include "c_type51.h"
|
|
//#include "c_lib.h"
|
|
|
|
|
|
///>>>端口位定义,可修改!!!!!!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
|
|
|
|
#include "../bsp/bsp_config.h"
|
|
|
|
extern void L3_eeprom_fun(U8 *pPara);
|
|
|
|
///每个扇区512字节
|
|
extern void L0_Iap_Erase(vU16 addr);
|
|
extern void L0_Iap_Program(vU16 addr, char dat);
|
|
extern char L0_Iap_Read(vU16 addr);
|
|
extern void L0_Iap_Program_array(vU16 addr,U8 *buf,U8 len);
|
|
extern void L0_Iap_Read_array(vU16 addr,U8 *buf,U8 len);
|
|
extern void L1_Iap_main(void);
|
|
|
|
#endif// #ifndef _msp_eeprom_H_
|
|
|
|
|
|
|