APM:Libraries
|
Go to the source code of this file.
Functions | |
int8_t | STORAGE_Init (uint8_t lun) |
int8_t | STORAGE_GetCapacity (uint8_t lun, uint32_t *block_num, uint32_t *block_size) |
int8_t | STORAGE_IsReady (uint8_t lun) |
int8_t | STORAGE_IsWriteProtected (uint8_t lun) |
int8_t | STORAGE_Read (uint8_t lun, uint8_t *buf, uint32_t blk_addr, uint16_t blk_len) |
int8_t | STORAGE_Write (uint8_t lun, uint8_t *buf, uint32_t blk_addr, uint16_t blk_len) |
int8_t | STORAGE_GetMaxLun (void) |
Variables | |
USB_OTG_CORE_HANDLE | USB_OTG_dev |
const int8_t | STORAGE_Inquirydata [] |
const USBD_STORAGE_cb_TypeDef | STORAGE_fops |
const USBD_STORAGE_cb_TypeDef *const | USBD_STORAGE_fops = &STORAGE_fops |
int8_t STORAGE_GetCapacity | ( | uint8_t | lun, |
uint32_t * | block_num, | ||
uint32_t * | block_size | ||
) |
Definition at line 34 of file StorageMode.c.
|
inline |
int8_t STORAGE_Init | ( | uint8_t | lun | ) |
Definition at line 28 of file StorageMode.c.
int8_t STORAGE_IsReady | ( | uint8_t | lun | ) |
int8_t STORAGE_IsWriteProtected | ( | uint8_t | lun | ) |
int8_t STORAGE_Read | ( | uint8_t | lun, |
uint8_t * | buf, | ||
uint32_t | blk_addr, | ||
uint16_t | blk_len | ||
) |
int8_t STORAGE_Write | ( | uint8_t | lun, |
uint8_t * | buf, | ||
uint32_t | blk_addr, | ||
uint16_t | blk_len | ||
) |
const USBD_STORAGE_cb_TypeDef STORAGE_fops |
Definition at line 93 of file StorageMode.c.
const int8_t STORAGE_Inquirydata[] |
Definition at line 17 of file StorageMode.c.
USB_OTG_CORE_HANDLE USB_OTG_dev |