This section lists the status codes, names and descriptions returned by those driver functions with error code return. Each driver function returns a status code that indicates whether the function was performed successfully. When a function returns a code that is not zero, it indicates that the function failed.
Pass the error code to DRV_GetErrorMessage function to return its error message.
The status code is 32-bit. Its format is described in the following table.
Status code (32-bit)
| Bit 31-28 | Bit 27-16 | Bit 15-0 |
| serial port used | base address occupied | Error code |
For detailed information about Error Code, please refer to: