Added new RNDISHost Host LowLevel demo. Fixed misnamed Pipe_SetPipeToken() macro...
[pub/USBasp.git] / Demos / Host / LowLevel / StillImageHost / Lib / StillImageCommands.c
index 4735781..f2e4d46 100644 (file)
@@ -78,7 +78,10 @@ void SImage_SendBlockHeader(void)
        Pipe_Freeze();\r
 }\r
 \r
-/** Function to receive a PIMA event container from the attached still image device. */\r
+/** Function to receive a PIMA event container from the attached still image device.\r
+ *\r
+ *  \return A value from the Pipe_Stream_RW_ErrorCodes_t enum\r
+ /\r
 uint8_t SImage_ReceiveEventHeader(void)\r
 {\r
        uint8_t ErrorCode;\r
@@ -99,7 +102,10 @@ uint8_t SImage_ReceiveEventHeader(void)
        return ErrorCode;\r
 }\r
 \r
-/** Function to receive a PIMA response container from the attached still image device. */\r
+/** Function to receive a PIMA response container from the attached still image device.\r
+ *\r
+ *  \return A value from the Pipe_Stream_RW_ErrorCodes_t enum\r
+ */\r
 uint8_t SImage_ReceiveBlockHeader(void)\r
 {\r
        uint16_t TimeoutMSRem = COMMAND_DATA_TIMEOUT_MS;\r
@@ -189,6 +195,8 @@ uint8_t SImage_ReceiveBlockHeader(void)
  *\r
  *  \param[in] Buffer  Source data buffer to send to the device\r
  *  \param[in] Bytes   Number of bytes to send\r
+ *\r
+ *  \return A value from the Pipe_Stream_RW_ErrorCodes_t enum\r
  */\r
 uint8_t SImage_SendData(void* Buffer, uint16_t Bytes)\r
 {\r