msdh.h

Go to the documentation of this file.
00001 /***************************************************************************/
00017 #ifndef __MSDH_H
00018 #define __MSDH_H
00019 
00020 /***************************************************************************/
00025 /***************************************************************************/
00030 #ifdef __cplusplus
00031 extern "C" {
00032 #endif
00033 
00034 /*** MSDH Function prototypes ***/
00035 
00036 bool MSDH_Init(uint8_t *usbDeviceInfo, int usbDeviceInfoSize);
00037 bool MSDH_GetSectorCount(uint32_t *sectorCount);
00038 bool MSDH_GetSectorSize(uint16_t *sectorSize);
00039 bool MSDH_GetBlockSize(uint32_t *blockSize);
00040 bool MSDH_ReadSectors(uint32_t lba, uint16_t sectors, void *data);
00041 bool MSDH_WriteSectors(uint32_t lba, uint16_t sectors, const void *data);
00042 
00043 #ifdef __cplusplus
00044 }
00045 #endif
00046 
00050 #endif /* __MSDH_H */