20260324
This commit is contained in:
26
IAPV1.1/Driver/FATFS/data_handle.h
Normal file
26
IAPV1.1/Driver/FATFS/data_handle.h
Normal file
@ -0,0 +1,26 @@
|
||||
#ifndef _DATA_HANDLE_H
|
||||
#define _DATA_HANDLE_H
|
||||
|
||||
#include "bsp.h"
|
||||
#define max_transmission 200
|
||||
typedef struct
|
||||
{
|
||||
char Pack_data[500];
|
||||
char Time_DATA[30];
|
||||
char ADC_DATA[10];
|
||||
char GPS_DATA[100];
|
||||
char SDI_DATA[300];
|
||||
//char GSM_DATA[100];
|
||||
// char RS485_DATA[10];
|
||||
|
||||
// char WIFI_DATA[100];
|
||||
}data_common;
|
||||
extern data_common data_common1;
|
||||
FRESULT Data_Write_TF(void);//,char *dat,u16 len
|
||||
void FATFS_Read_TF(char *fname,u32 start_pos,u32 len);
|
||||
u32 txt_size_read(char *fname);
|
||||
void FATFS_WriteFile(char *fname,char *dat,u16 len); //д<><D0B4><EFBFBD>ݵ<EFBFBD>SD<53><44>
|
||||
void Common_Data_Pack(void);//<2F><><EFBFBD>ɼ<EFBFBD><C9BC><EFBFBD><EFBFBD><EFBFBD>ȫ<EFBFBD><C8AB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
static void ViewRootDir(void);//<2F><>ȡ<EFBFBD>ļ<EFBFBD>Ŀ¼ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
FRESULT Fil_delete(char *names);//ɾ<><C9BE><EFBFBD><EFBFBD>Ŀ¼<C4BF>ļ<EFBFBD>
|
||||
#endif
|
||||
Reference in New Issue
Block a user