2 Replies Latest reply on May 24, 2017 12:05 PM by dragonfly.synths

    Does a global list of error codes exist?

    dragonfly.synths

      For example, when trying to obtain a buffer via

         
          

      apiRetStatus = CyU3PDmaChannelGetBuffer (&MIDI_IN_HANDLE, &buf_p, CYU3P_WAIT_FOREVER);

         
         

      apiRetStatus is set to 64. By numbering the error codes in the error enum in the api's error.h, 64 means CY_U3P_ERROR_INVALID_DEV. Well that doesn't make much sense, but it does seem that certain functions have different sets of errors associated with them.

         

      How can I best decode errors such as these?

         

      TIA