constant name | description |
CDC_ERR_OK | The function ended normally. |
CDC_ERR_CMDBUSY | When a command is issued, the command end flag is not 1. Target: All functions that check the command end flag |
CDC_ERR_CMDNG | When the command is issued, the CMOK flag is not 1. Target: All functions that issue commands |
CDC_ERR_TMOUT | Timed out. (Waiting for response and waiting for data transfer) Target: All functions that issue commands CDC_GetPeriStat function, CDC_DataReady function |
CDC_ERR_PUT | Waiting sector could not be reserved while waiting for data transfer preparation by writing sector data. Target: CDC_DataReady function after executing the CDC_PutSctData function |
CDC_ERR_REJECT | Response to command is now REJECT. Target: All functions that issue commands |
CDC_ERR_WAIT | The response to the command is WAIT. Target: All functions that issue commands |
CDC_ERR_TRNS | The data transfer size is abnormal. Target: Internal data transfer function (function starting with CDC_Tget) |
CDC_ERR_PERI | Could not get periodic response. Target: CDC_GetPeriStat function |