河北水利局项目
This commit is contained in:
32
APP/storage.c
Normal file
32
APP/storage.c
Normal file
@@ -0,0 +1,32 @@
|
||||
/********************************************************************************
|
||||
|
||||
**** Copyright (C), 2017, xx xx xx xx info&tech Co., Ltd. ****
|
||||
|
||||
********************************************************************************
|
||||
* File Name : storage.c
|
||||
* Author : barry
|
||||
* Date : 2017-02-21
|
||||
* Description : .C file function description
|
||||
* Version : 1.0
|
||||
* Function List :
|
||||
*
|
||||
* Record :
|
||||
* 1.Date : 2017-02-21
|
||||
* Author : barry
|
||||
* Modification: Created file
|
||||
|
||||
*************************************************************************************************************/
|
||||
#include "storage.h"
|
||||
#include "protocol.h"
|
||||
#include "General.h"
|
||||
#include "debug_printf.h"
|
||||
#include "bl24c512.h"
|
||||
#include "Mem.h"
|
||||
#include "update.h"
|
||||
#include "Flash.h"
|
||||
#include "uart.h"
|
||||
|
||||
|
||||
// I2C_eeprom_write_buf(WM_ADDR_MANAGER_UNIT_ADDR +5 + (Pload->Index * sizeof(METER_STRUCT_UNITTYPE)), (u8*)Pload, sizeof(METER_STRUCT_UNITTYPE));
|
||||
// I2C_eeprom_read_buf(WM_ADDR_MANAGER_UNIT_ADDR +5 , (u8*)&SJManager.Info[0].Index, sizeof(METER_STRUCT_UNITTYPE)*SJManager.AddrSum);
|
||||
|
||||
Reference in New Issue
Block a user