General types and defines for working with the RTOS abstraction layer.
Return value indicating success.
Used with RTOS calls that require a timeout.
This implies the call will never timeout.
Requested operation did not complete in the specified time.
The RTOS could not allocate memory for the specified operation.
An error occured in the RTOS.
A bad argument was passed into the APIs.
Return the last error from the RTOS.
The functions in the RTOS abstraction layer adhere to the Cypress return results calling convention. The underlying RTOS implementations will not but rather will have their own error code conventions. This function is provided as a service to the developer, mostly for debugging, and returns the underlying RTOS error code from the last RTOS abstraction layer that returned CY_RTOS_GENERAL_ERROR.
RTOS specific error code.