EFM32 Gecko Software Documentation
efm32g-doc-5.1.2
|
Host side implementation of Mass Storage class Device (MSD) interface.
Copyright 2015 Silicon Labs, Inc. 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.
Go to the source code of this file.
Functions | |
bool | MSDH_GetBlockSize (uint32_t *blockSize) |
Get blocksize from the device. 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_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_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... | |