summaryrefslogtreecommitdiff
path: root/tinyusb/class/msc_device.h
AgeCommit message (Collapse)Author
2018-03-06move class fileshathach
2018-03-02add tud_mount_cb, tud_umount_cbhathach
remove device class/interface callback
2018-03-01device API renamehathach
2014-03-31implement & document all the device class _mounted_cb & _unmounted_cb callbackshathach
2014-03-22rename dcd_11u_13u_qhd_t::total_bytes to nbytes to prevent confusionhathach
introduce scsi_data to mscd_interface_t to make tusbd_msc_scsi_cb buffer's address no longer to be required in USB ram section --> save usb ram for lpc11/13u
2014-03-09rename tusbd_msc_scsi_received_isr to tusbd_msc_scsi_cbhathach
fix the status phase true --> false ASSERT_STATUS( dcd_pipe_xfer( p_msc->edpt_in , p_csw, sizeof(msc_cmd_status_wrapper_t), false) ); board ea4357 added P9_5 pull down for device connect
2013-12-09add keyboard led maskhathach
make usbd control request to subtask add get/set report via control pipe to hidd enforce soft DMA to control pipe for lpc11u (lpc17xx not yet) temp add led_blinking_set_interval to change led blinking interval refractor dcd_pipe_control_xfer to have interrupt on complete option add get/set report support of moused_app and keyboardd_app, keyboard LED will make LED blink faster
2013-12-01add some document for msc_device APIhathach
2013-11-30completely change the dcd for lpc11u & lpc13u to overcome the fact that ↵hathach
lpc11u dma cannot transfer more than 64 bytes each buffer. This implement an soft DMA for lpc11u & lpc13u (previously 1023 max) queued transfer
2013-11-26change endian conversion to native to be & be to nativehathach
completely deferred xfer isr event to usbd task complete read10, write10 sequence for large data transfer
2013-11-25refractor usbd taskhathach
move control request data into task event adding tusbd_msc_read10_cb, tusbd_msc_write10_cb (not fully supported)
2013-11-22clean uphathach
add some doxygen work finalize device disconnection & suspend - suspend & resume & remote wake up is not supported yet
2013-11-21clean uphathach
2013-11-21refractor usbd-dcd callback, add bus event isrhathach
2013-11-15add usbd_task to handle event task eg setup receivedhathach
2013-11-13able to build and run cdc device demo on lpc11uxxhathach
2013-11-01added support forhathach
- sense data scsi_sense_fixed_data_t - read format capacity scsi_read_format_capacity_data_t change msc device callback to support actual response fix dcd_pipe_clear_stall also reset toggle
2013-11-01implement msc device classhathach
usbd auto stall control for not supported return from class control request usbd implement xfer isr callback mechanism DCD - implement dcd multiple qtd support - dcd dcd_pipe_stall - implement dcd_pipe_queue_xfer - xfer_complete_isr - flush control endpoint if received new setup while previous transfer is not complete change msc_cmd_block_wrapper_t flags field to dir force full speed for easy testing NOTEs: somehow unable to get endpoint IN interrupt with ioc