diff options
author | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-02-20 10:58:58 +0000 |
---|---|---|
committer | henryk <henryk@6dc7ffe9-61d6-0310-9af1-9938baff3ed1> | 2008-02-20 10:58:58 +0000 |
commit | 3639a49edf440277793a608b251be4340c750b24 (patch) | |
tree | 03ff49721b826755ce39f20d1a4a209184629530 /openpicc/os/usb/USB-CDC.h | |
parent | dde2f8e09c773518c3a538afe6075a53a8fdacf7 (diff) |
Modifications to USB code to allow blocks of more than 1 byte to be more efficiently sent.
Should affect existing byte base code only marginally.
(Note: Not compliant with FreeRTOS' braindead coding style)
git-svn-id: https://svn.openpcd.org:2342/trunk@416 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'openpicc/os/usb/USB-CDC.h')
-rw-r--r-- | openpicc/os/usb/USB-CDC.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpicc/os/usb/USB-CDC.h b/openpicc/os/usb/USB-CDC.h index 894ebfb..511c8a8 100644 --- a/openpicc/os/usb/USB-CDC.h +++ b/openpicc/os/usb/USB-CDC.h @@ -82,6 +82,7 @@ void vUSBCDCTask (void *pvParameters); /* Send cByte down the USB port. Characters are simply buffered and not sent unless the port is connected. */ void vUSBSendByte (portCHAR cByte); +void vUSBSendBuffer (unsigned char *buffer, portBASE_TYPE offset, portBASE_TYPE length); portLONG vUSBRecvByte (portCHAR *cByte,portLONG size, portTickType xTicksToWait); #endif |