USB host library, support isochronous,bulk,interrupt and control.
Dependents: BaseUsbHost_example BaseJpegDecode_example SimpleJpegDecode_example
Import programBaseUsbHost_example
BaseUsbHost example program
Diff: BaseUsbHostIntEp.cpp
- Revision:
- 1:3b7bc4f87a61
- Parent:
- 0:b7d6879637a8
- Child:
- 2:fe1e62051d88
diff -r b7d6879637a8 -r 3b7bc4f87a61 BaseUsbHostIntEp.cpp --- a/BaseUsbHostIntEp.cpp Tue Dec 04 13:29:41 2012 +0000 +++ b/BaseUsbHostIntEp.cpp Wed Dec 05 13:23:06 2012 +0000 @@ -1,4 +1,4 @@ -// BaseUsbHostIntEp.cpp 2012/12/4 +// BaseUsbHostIntEp.cpp 2012/12/5 #include "mbed.h" #include "rtos.h" #include "BaseUsbHost.h" @@ -23,7 +23,7 @@ LPC_USB->HcControl |= OR_CONTROL_PLE; } -int InterruptEp::read(uint8_t* buf, int len, int millisec) +int InterruptEp::interruptReceive(uint8_t* buf, int len, int millisec) { if (m_td_queue_count == 0) { HCTD* data_td = m_pED->TailTd;