Added new GenericHIDHost demo.
[pub/USBasp.git] / LUFA / Drivers / USB / LowLevel / StreamCallbacks.h
index 60e408e..5c2dad6 100644 (file)
@@ -48,7 +48,7 @@
                         *  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
@@ -62,8 +62,8 @@
                         *\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
@@ -81,7 +81,7 @@
                        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