32 #define __INCLUDE_FROM_USB_DRIVER
33 #include "../USBMode.h"
35 #if defined(USB_CAN_BE_HOST)
37 #include "../PipeStream.h"
41 uint16_t *
const BytesProcessed)
44 uint16_t BytesInTransfer = 0;
52 if (BytesProcessed !=
NULL) {
53 Length -= *BytesProcessed;
60 if (BytesProcessed !=
NULL) {
61 *BytesProcessed += BytesInTransfer;
82 uint16_t *
const BytesProcessed)
84 if (BytesProcessed !=
NULL) {
85 Length -= *BytesProcessed;
97 const void *
const Buffer,
99 uint16_t *
const BytesProcessed)
101 uint8_t *DataStream = (uint8_t *) Buffer;
102 if (BytesProcessed !=
NULL) {
103 Length -= *BytesProcessed;
104 DataStream += *BytesProcessed;
119 uint16_t *
const BytesProcessed)
121 uint8_t *DataStream = (uint8_t *) Buffer;
129 if (BytesProcessed !=
NULL) {
130 Length -= *BytesProcessed;
131 DataStream += *BytesProcessed;
158 uint16_t *
const BytesProcessed)
165 uint16_t *
const BytesProcessed)
172 uint16_t *
const BytesProcessed)
179 uint16_t *
const BytesProcessed)
186 uint16_t *
const BytesProcessed)
193 uint16_t *
const BytesProcessed)
200 uint16_t *
const BytesProcessed)
207 uint16_t *
const BytesProcessed)