* Stream callback functions should return a value from the StreamCallback_Return_ErrorCodes_t\r
* enum.\r
*\r
- * Usage Example (Device Endpoint, but applicable for Host pipes also):\r
+ * Usage Example (Device Endpoint, but applicable for Host Pipes also):\r
* \code\r
* STREAM_CALLBACK(GlobalNotSet); // Callback Prototype\r
*\r
*\r
* //...\r
* // Inside some routine:\r
- * if (Endpoint_Write_CStream_LE(DataBuffer, sizeof(DataBuffer), GlobalNotSet) == \r
- * ENDPOINT_RWSTREAM_ERROR_CallbackAborted)\r
+ * if (Endpoint_Write_Stream_LE(DataBuffer, sizeof(DataBuffer), GlobalNotSet) == \r
+ * ENDPOINT_RWSTREAM_ERROR_CallbackAborted)\r
* {\r
* // Do something when the callback aborted the transfer early\r
* }\r
enum StreamCallback_Return_ErrorCodes_t\r
{\r
STREAMCALLBACK_Continue = 0, /**< Continue sending or receiving the stream. */\r
- STREAMCALLBACK_Abort = 1, /**< Abort the stream send or reciving process. */\r
+ STREAMCALLBACK_Abort = 1, /**< Abort the stream send or receiving process. */\r
};\r
\r
#endif\r