const char* trb_strterm(TRB_TERM term)
{
static const char commonStatusBits[16][64] = {
- "COM_Endpoint not reached", /* error */
- "COM_Coll: collision detected", /* error */
- "COM_WordMiss: word missing", /* error */
- "COM_Checksum: checksum error", /* status, at the moment */
- "COM_DontKnow: dont understand", /* error */
- "COM_BufferMatch: buffer mismatch", /* error */
- "", "", "", "", "", "", "", "", "", ""
+ "COM_EndpointReached: no endpoint has been reached", /* error */
+ "COM_Collision: collision has been detected", /* error */
+ "COM_WordMissing: mismatch of packet counters (EOB)", /* error */
+ "COM_Checksum: checksum error", /* status, at the moment */
+ "COM_DontUnderstand: endpoint doesn't understand data", /* error */
+ "COM_BufferMismatch: buffer numbers (EOB and ACK) mismatch", /* error */
+ "COM_AnswerMissing: One endpoint didn't react", /* error */
+ "", "", "", "", "", "", "", "", ""
};
static const char ch0StatusBits[16][64] = {
- "Ch0_TrigCtr: trigger counter mismatch", /* status */
- "",
- "",
- "",
- "Ch0_BufferHalfFull: data-buffers half full", /* status */
- "Ch0_BuffersFull: data-buffers almost full" /* status */
- "", "", "", "", "", "", "", "", "", ""
+ "Ch0_TrigCtr: trigger counter mismatch", /* status */
+ "Ch0_TrigMissing: timing trigger missing", /* status */
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "Ch0_BufferHalfFull: data-buffers half full", /* status */
+ "Ch0_BuffersFull: data-buffers almost full", /* status */
+ "Ch0_NotConfigured: endpoint is not configured", /* status */
+ "", "", "", "", ""
};
static const char ch1StatusBits[16][64] = {
static const char ch3StatusBits[16][64] = {
"Ch3_Address: unknown address", /* error */
- "Ch3_TimeOut: timeout error", /* error */
- "Ch3_NoData: no more data" /* status */
+ "Ch3_Timeout: timeout error", /* error */
+ "Ch3_NoMoreData: no more data" /* status */
"", "", "", "", "", "", "", "", "", "", "", "", ""
};