STORAGE_Read() is only used within MSC_Standalone.
 
Symbols
loading...
Files
loading...

STORAGE_Read() function

Reads data from the medium.

Syntax

int8_t STORAGE_Read(uint8_t lun,     uint8_t * buf,     uint32_t blk_addr,     uint16_t blk_len);
Implemented in usbd_storage.c:154

Arguments

lun

Logical unit number

buf

blk_addr

Logical block address

blk_len

Blocks number

Return value

Status (0: OK / -1: Error)

References

LocationText
usbd_storage.c:154
int8_t STORAGE_Read(uint8_t lun, uint8_t * buf, uint32_t blk_addr,
usbd_storage.c:53
int8_t STORAGE_Read(uint8_t lun, uint8_t * buf, uint32_t blk_addr,
usbd_storage.c:64
STORAGE_Read,

Call Tree

Functions called by STORAGE_Read()
STORAGE_Read()
Data read by STORAGE_Read()
Data written by STORAGE_Read()
STORAGE_Read()::ret
STORAGE_Read()::timeout
all items filtered out
STORAGE_Read()
STORAGE_Read()::ret
STORAGE_Read()::timeout
all items filtered out
Implementations
STORAGE_Read()
all items filtered out
Type of STORAGE_Read()
STORAGE_Read()
int8_t
uint32_t
all items filtered out