msdh.h

Go to the documentation of this file.
00001 /***************************************************************************/
00035 #ifndef __MSDH_H
00036 #define __MSDH_H
00037 
00038 /***************************************************************************/
00043 /***************************************************************************/
00048 #ifdef __cplusplus
00049 extern "C" {
00050 #endif
00051 
00052 /*** MSDH Function prototypes ***/
00053 
00054 bool MSDH_Init(uint8_t *usbDeviceInfo, int usbDeviceInfoSize);
00055 bool MSDH_GetSectorCount(uint32_t *sectorCount);
00056 bool MSDH_GetSectorSize(uint16_t *sectorSize);
00057 bool MSDH_GetBlockSize(uint32_t *blockSize);
00058 bool MSDH_ReadSectors(uint32_t lba, uint16_t sectors, void *data);
00059 bool MSDH_WriteSectors(uint32_t lba, uint16_t sectors, const void *data);
00060 
00061 #ifdef __cplusplus
00062 }
00063 #endif
00064 
00068 #endif /* __MSDH_H */