EFM32 Zero Gecko Software Documentation
efm32zg-doc-4.2.1
|
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. Checks if the device is a valid MSD device. Will perform all necessary MSD initialization. More... | |
bool | MSDH_GetSectorCount (uint32_t *sectorCount) |
Get sectorcount from the device. More... | |
bool | MSDH_GetSectorSize (uint16_t *sectorSize) |
Get sectorsize from the device. More... | |
bool | MSDH_GetBlockSize (uint32_t *blockSize) |
Get blocksize from the device. More... | |
bool | MSDH_ReadSectors (uint32_t lba, uint16_t sectors, void *data) |
Read sectors from device. More... | |
bool | MSDH_WriteSectors (uint32_t lba, uint16_t sectors, const void *data) |
Write sectors to device. More... | |
(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.c.