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

STORAGE_GetCapacity() function

Returns the medium capacity.

Syntax

int8_t STORAGE_GetCapacity(uint8_t lun,     uint32_t *block_num,     uint16_t *block_size);
Implemented in usbd_storage.c:108

Arguments

lun

Logical unit number

block_num

Number of total block number

block_size

Block size

Return value

Status (0: Ok / -1: Error)

References

LocationText
usbd_storage.c:108
int8_t STORAGE_GetCapacity(uint8_t lun, uint32_t *block_num, uint16_t *block_size)
usbd_storage.c:61
int8_t STORAGE_GetCapacity(uint8_t lun, uint32_t *block_num, uint16_t *block_size);
usbd_storage.c:71
STORAGE_GetCapacity,

Call Tree

Functions called by STORAGE_GetCapacity()
STORAGE_GetCapacity()
Data read by STORAGE_GetCapacity()
Data written by STORAGE_GetCapacity()
STORAGE_GetCapacity()::info
STORAGE_GetCapacity()::ret
all items filtered out
STORAGE_GetCapacity()
STORAGE_GetCapacity()::ret
all items filtered out
Implementations
STORAGE_GetCapacity()
all items filtered out
Type of STORAGE_GetCapacity()
STORAGE_GetCapacity()
int8_t
all items filtered out