STORAGE_Write() is only used within STemWin.
 
Symbols
loading...
Files
loading...

STORAGE_Write() function

Writes data into the medium.

Syntax

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

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

Call Tree

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