msdh.h File Reference

Host side implementation of Mass Storage class Device (MSD) interface. More...

Go to the source code of this file.

Functions

bool MSDH_Init (uint8_t *usbDeviceInfo, int usbDeviceInfoSize)
 Initialize an USB connected Mass Storage Device.
bool MSDH_GetSectorCount (uint32_t *sectorCount)
 Get sectorcount from the device.
bool MSDH_GetSectorSize (uint16_t *sectorSize)
 Get sectorsize from the device.
bool MSDH_GetBlockSize (uint32_t *blockSize)
 Get blocksize from the device.
bool MSDH_ReadSectors (uint32_t lba, uint16_t sectors, void *data)
 Read sectors from device.
bool MSDH_WriteSectors (uint32_t lba, uint16_t sectors, const void *data)
 Write sectors to device.

Detailed Description

Host side implementation of Mass Storage class Device (MSD) interface.

Version:
4.0.0

License

(C) Copyright 2014 Silicon Labs, http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file msdh.h.