STORAGE_Read() is only used within MB1063.
 
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:169

Arguments

lun

Logical unit number

buf

pointer to data buffer

blk_addr

Logical block address

blk_len

Blocks number

Return value

Status (0: Ok / -1: Error)

References

LocationText
usbd_storage.c:169
int8_t STORAGE_Read(uint8_t lun, uint8_t *buf, uint32_t blk_addr, uint16_t blk_len)
usbd_storage.c:65
int8_t STORAGE_Read(uint8_t lun, uint8_t *buf, uint32_t blk_addr, uint16_t blk_len);
usbd_storage.c:75
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