diff options
| author | hathach <[email protected]> | 2013-11-15 12:30:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-11-15 12:30:22 +0700 |
| commit | fc68439b746a466aa3d0bf197ee3f70cfa079f24 (patch) | |
| tree | a363bb0fe3dce8b250287845c7e640b3e8f5f65a /tinyusb/class | |
| parent | ba49d26e19bc8dc2f90dff94eb3788a8074362e2 (diff) | |
add usbd_task to handle event task eg setup received
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/msc_device.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tinyusb/class/msc_device.h b/tinyusb/class/msc_device.h index fd117da95..3e6d9737f 100644 --- a/tinyusb/class/msc_device.h +++ b/tinyusb/class/msc_device.h @@ -53,6 +53,9 @@ // p_length [in,out] allocated/maximum length, application update with actual length
msc_csw_status_t tusbd_msc_scsi_received_isr (uint8_t coreid, uint8_t lun, uint8_t scsi_cmd[16], void ** pp_buffer, uint16_t* p_length);
+tusb_error_t tusbd_msc_read10 (uint8_t dev_addr, uint8_t lun, void * p_buffer, uint32_t lba, uint16_t block_count) ATTR_WARN_UNUSED_RESULT;
+tusb_error_t tusbh_msc_write10(uint8_t dev_addr, uint8_t lun, void const * p_buffer, uint32_t lba, uint16_t block_count) ATTR_WARN_UNUSED_RESULT;
+
//--------------------------------------------------------------------+
// USBD-CLASS DRIVER API
//--------------------------------------------------------------------+
|
