Convert original source to system workbench
Create readme Started commenting the files in english NO Optimisations yet, just trying to get it all working over as is first Using newer STM StdPeriph libs (i think they are newer?)
This commit is contained in:
29
workspace/ts100/inc/FAT12.h
Normal file
29
workspace/ts100/inc/FAT12.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/********************* (C) COPYRIGHT 2015 e-Design Co.,Ltd. ********************
|
||||
File Name : FAT12.h
|
||||
Version : S100 APP Ver 2.11
|
||||
Description:
|
||||
Author : bure
|
||||
Data:
|
||||
History:
|
||||
*******************************************************************************/
|
||||
#ifndef __FAT12_H
|
||||
#define __FAT12_H
|
||||
|
||||
#include "stm32f10x.h"
|
||||
|
||||
|
||||
u8 ReadFileSec(u8* Buffer, u16* Cluster);
|
||||
u8 ReadDiskData(u8* pBuffer, u32 ReadAddr, u16 Lenght);
|
||||
u8 NextCluster(u16* Cluster);
|
||||
u8 ProgFileSec(u8* Buffer, u16* Cluster);
|
||||
u8 ProgDiskPage(u8* Buffer, u32 ProgAddr);
|
||||
u8 SeekBlank(u8* Buffer, u16* Cluster);
|
||||
u8 SetCluster(u8* Buffer, u16* Cluster);
|
||||
u8 OpenFileRd(u8* Buffer, u8* FileName, u16* Cluster, u32* pDirAddr);
|
||||
u8 OpenFileWr(u8* Buffer, u8* FileName, u16* Cluster, u32* pDirAddr);
|
||||
u8 CloseFile(u8* Buffer, u32 Lenght, u16* Cluster, u32* pDirAddr);
|
||||
u8 FAT_SearchFile(u8* pBuffer, u8* pFileName, u16* pCluster, u32* pDirAddr,u32* flag);
|
||||
void ExtFlash_PageWrite(u8* pBuffer, u32 WriteAddr, u8 Mode);
|
||||
|
||||
#endif
|
||||
/********************************* END OF FILE ********************************/
|
||||
Reference in New Issue
Block a user