Events generated by USB Device - Mass Storage Class functions. More...
Functions | |
__STATIC_INLINE void | EvrUSBD_MSC_Initialize (uint8_t instance) |
Event on internal library operation MSC initialize start (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_InitializeFailed (uint8_t instance, usbStatus error) |
Event on internal library operation MSC initialize failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_Uninitialize (uint8_t instance) |
Event on internal library operation MSC uninitialize start (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_UninitializeFailed (uint8_t instance, usbStatus error) |
Event on internal library operation MSC uninitialize failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_Reset (uint8_t instance) |
Event on internal library operation MSC reset start (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_ResetFailed (uint8_t instance, usbStatus error) |
Event on internal library operation MSC reset failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_BOMSReset (uint8_t instance) |
Event on internal library operation Bulk Only Mass Storage Reset finished successfully (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_BOMSResetFailed (uint8_t instance) |
Event on internal library operation Bulk Only Mass Storage Reset failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_GetMaxLUN (uint8_t instance, uint8_t lun) |
Event on internal library operation Get Max LUN finished successfully (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_GetMaxLUNFailed (uint8_t instance) |
Event on internal library operation Get Max LUN failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_TestUnitReady (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Test Unit Ready finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_RequestSense (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Request Sense finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_Inquiry (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Inquiry finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_StartStopUnit (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Start/Stop Unit finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_MediaRemoval (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Media Removal finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_ModeSense (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Mode Sense 6/10 finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_ReadFormatCapacities (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Read Format Capacities finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_ReadCapacity (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Read Capacity finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_Read (uint8_t instance, uint8_t lun, uint32_t lba, uint32_t cnt) |
Event on internal library operation SCSI Read 10/12 start (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_ReadDone (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Read 10/12 finished (Detail) | |
__STATIC_INLINE void | EvrUSBD_MSC_Write (uint8_t instance, uint8_t lun, uint32_t lba, uint32_t cnt) |
Event on internal library operation SCSI Write 10/12 start (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_WriteDone (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Write 10/12 finished (Detail) | |
__STATIC_INLINE void | EvrUSBD_MSC_Verify (uint8_t instance, uint8_t lun, uint32_t lba, uint32_t cnt) |
Event on internal library operation SCSI Verify 10 start (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_VerifyDone (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Verify 10 finished (Detail) | |
__STATIC_INLINE void | EvrUSBD_MSC_SyncCache (uint8_t instance, uint8_t lun, uint32_t status) |
Event on internal library operation SCSI Synchronize Cache 10/16 finished (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_UnsupportedCommand (uint8_t instance, uint8_t op_code) |
Event on internal library operation SCSI unsupported command processing (Operation) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnInitialize (uint8_t n) |
Event on USBD_MSCn_Initialize user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnUninitialize (uint8_t n) |
Event on USBD_MSCn_Uninitialize user callback function start (API) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnGetCacheInfo (uint8_t n, uint32_t size) |
Event on USBD_MSCn_GetCacheInfo user callback function finished (API) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnGetCacheInfoFailed (uint8_t n) |
Event on USBD_MSCn_GetCacheInfo user callback function failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnGetMediaCapacity (uint8_t n, uint8_t lun, uint32_t block_count, uint32_t block_size) |
Event on USBD_MSCn_GetMediaCapacity user callback function finished (API) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnGetMediaCapacityFailed (uint8_t n, uint8_t lun) |
Event on USBD_MSCn_GetMediaCapacity user callback function failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnRead (uint8_t n, uint8_t lun, uint32_t lba, uint32_t cnt, const uint8_t *buf) |
Event on USBD_MSCn_Read user callback function finished (API) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnReadFailed (uint8_t n, uint8_t lun, uint32_t lba) |
Event on USBD_MSCn_Read user callback function failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnWrite (uint8_t n, uint8_t lun, uint32_t lba, uint32_t cnt, const uint8_t *buf) |
Event on USBD_MSCn_Write user callback function finished (API) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnWriteFailed (uint8_t n, uint8_t lun, uint32_t lba) |
Event on USBD_MSCn_Write user callback function failed (Error) | |
__STATIC_INLINE void | EvrUSBD_MSC_OnCheckMedia (uint8_t n, uint8_t lun, bool wp, bool mp) |
Event on USBD_MSCn_CheckMedia user callback function finished (API) | |
Events generated by USB Device - Mass Storage Class functions.
__STATIC_INLINE void EvrUSBD_MSC_BOMSReset | ( | uint8_t | instance | ) |
Event on internal library operation Bulk Only Mass Storage Reset finished successfully (Operation)
instance | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_BOMSResetFailed | ( | uint8_t | instance | ) |
Event on internal library operation Bulk Only Mass Storage Reset failed (Error)
instance | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_GetMaxLUN | ( | uint8_t | instance, |
uint8_t | lun | ||
) |
Event on internal library operation Get Max LUN finished successfully (Operation)
instance | instance of MSC class |
lun | logical unit number |
__STATIC_INLINE void EvrUSBD_MSC_GetMaxLUNFailed | ( | uint8_t | instance | ) |
Event on internal library operation Get Max LUN failed (Error)
instance | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_Initialize | ( | uint8_t | instance | ) |
Event on internal library operation MSC initialize start (Operation)
instance | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_InitializeFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation MSC initialize failed (Error)
instance | instance of MSC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_MSC_Inquiry | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Inquiry finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_MediaRemoval | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Media Removal finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_ModeSense | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Mode Sense 6/10 finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_OnCheckMedia | ( | uint8_t | n, |
uint8_t | lun, | ||
bool | wp, | ||
bool | mp | ||
) |
Event on USBD_MSCn_CheckMedia user callback function finished (API)
n | instance of MSC class |
lun | logical unit number |
wp | media write protect status |
mp | media present status |
__STATIC_INLINE void EvrUSBD_MSC_OnGetCacheInfo | ( | uint8_t | n, |
uint32_t | size | ||
) |
Event on USBD_MSCn_GetCacheInfo user callback function finished (API)
n | instance of MSC class |
size | cache buffer size |
__STATIC_INLINE void EvrUSBD_MSC_OnGetCacheInfoFailed | ( | uint8_t | n | ) |
Event on USBD_MSCn_GetCacheInfo user callback function failed (Error)
n | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_OnGetMediaCapacity | ( | uint8_t | n, |
uint8_t | lun, | ||
uint32_t | block_count, | ||
uint32_t | block_size | ||
) |
Event on USBD_MSCn_GetMediaCapacity user callback function finished (API)
n | instance of MSC class |
lun | logical unit number |
block_count | total number of blocks on media |
block_size | media block size |
__STATIC_INLINE void EvrUSBD_MSC_OnGetMediaCapacityFailed | ( | uint8_t | n, |
uint8_t | lun | ||
) |
Event on USBD_MSCn_GetMediaCapacity user callback function failed (Error)
n | instance of MSC class |
lun | logical unit number |
__STATIC_INLINE void EvrUSBD_MSC_OnInitialize | ( | uint8_t | n | ) |
Event on USBD_MSCn_Initialize user callback function start (API)
n | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_OnRead | ( | uint8_t | n, |
uint8_t | lun, | ||
uint32_t | lba, | ||
uint32_t | cnt, | ||
const uint8_t * | buf | ||
) |
Event on USBD_MSCn_Read user callback function finished (API)
n | instance of MSC class |
lun | logical unit number |
lba | logical address of first block to read |
cnt | number of contiguous blocks to read from media |
buf | data buffer for data read from media |
__STATIC_INLINE void EvrUSBD_MSC_OnReadFailed | ( | uint8_t | n, |
uint8_t | lun, | ||
uint32_t | lba | ||
) |
Event on USBD_MSCn_Read user callback function failed (Error)
n | instance of MSC class |
lun | logical unit number |
lba | logical address of first block to read |
__STATIC_INLINE void EvrUSBD_MSC_OnUninitialize | ( | uint8_t | n | ) |
Event on USBD_MSCn_Uninitialize user callback function start (API)
n | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_OnWrite | ( | uint8_t | n, |
uint8_t | lun, | ||
uint32_t | lba, | ||
uint32_t | cnt, | ||
const uint8_t * | buf | ||
) |
Event on USBD_MSCn_Write user callback function finished (API)
n | instance of MSC class |
lun | logical unit number |
lba | logical address of first block to write |
cnt | number of contiguous blocks to write to media |
buf | data buffer containing data to write to media |
__STATIC_INLINE void EvrUSBD_MSC_OnWriteFailed | ( | uint8_t | n, |
uint8_t | lun, | ||
uint32_t | lba | ||
) |
Event on USBD_MSCn_Write user callback function failed (Error)
n | instance of MSC class |
lun | logical unit number |
lba | logical address of first block to write |
__STATIC_INLINE void EvrUSBD_MSC_Read | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | lba, | ||
uint32_t | cnt | ||
) |
Event on internal library operation SCSI Read 10/12 start (Operation)
instance | instance of MSC class |
lun | logical unit number |
lba | logical address of first block to read |
cnt | number of contiguous blocks to read from media |
__STATIC_INLINE void EvrUSBD_MSC_ReadCapacity | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Read Capacity finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_ReadDone | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Read 10/12 finished (Detail)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_ReadFormatCapacities | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Read Format Capacities finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_RequestSense | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Request Sense finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_Reset | ( | uint8_t | instance | ) |
Event on internal library operation MSC reset start (Operation)
instance | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_ResetFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation MSC reset failed (Error)
instance | instance of MSC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_MSC_StartStopUnit | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Start/Stop Unit finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_SyncCache | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Synchronize Cache 10/16 finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_TestUnitReady | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Test Unit Ready finished (Operation)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_Uninitialize | ( | uint8_t | instance | ) |
Event on internal library operation MSC uninitialize start (Operation)
instance | instance of MSC class |
__STATIC_INLINE void EvrUSBD_MSC_UninitializeFailed | ( | uint8_t | instance, |
usbStatus | error | ||
) |
Event on internal library operation MSC uninitialize failed (Error)
instance | instance of MSC class |
error | error code usbStatus |
__STATIC_INLINE void EvrUSBD_MSC_UnsupportedCommand | ( | uint8_t | instance, |
uint8_t | op_code | ||
) |
Event on internal library operation SCSI unsupported command processing (Operation)
instance | instance of MSC class |
op_code | SCSI operation code |
__STATIC_INLINE void EvrUSBD_MSC_Verify | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | lba, | ||
uint32_t | cnt | ||
) |
Event on internal library operation SCSI Verify 10 start (Operation)
instance | instance of MSC class |
lun | logical unit number |
lba | logical address of first block to verify |
cnt | number of contiguous blocks to verify |
__STATIC_INLINE void EvrUSBD_MSC_VerifyDone | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Verify 10 finished (Detail)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|
__STATIC_INLINE void EvrUSBD_MSC_Write | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | lba, | ||
uint32_t | cnt | ||
) |
Event on internal library operation SCSI Write 10/12 start (Operation)
instance | instance of MSC class |
lun | logical unit number |
lba | logical address of first block to write |
cnt | number of contiguous blocks to write to media |
__STATIC_INLINE void EvrUSBD_MSC_WriteDone | ( | uint8_t | instance, |
uint8_t | lun, | ||
uint32_t | status | ||
) |
Event on internal library operation SCSI Write 10/12 finished (Detail)
instance | instance of MSC class |
lun | logical unit number |
status | request execution status
|