English
Language : 

UM0541 Datasheet, PDF (15/19 Pages) STMicroelectronics – DCP monitor
UM0541
DCP-Application Programming Interface
3.3.4
Return codes
The following codes are returned by DCP functions.
Table 5.
Return codes
Name
DCN_SUCCESS
DCN_ERROR
DCN_BAD_COMMAND
DCN_BAD_PARAMETER
DCN_NOT_IMPLEMENTED
DCN_NO_POWER
DCN_NO_DATA
DCN_NOT_RUNNING
DCN_READ_ONLY
DCN_WRITE_ONLY
DCN_TIMEOUT
DCN_WRONG_SYSFRAME
DCN_WRONG_NACK
DCN_WRONG_FID
DCN_WRONG_CRC
DCN_NOT_ENOUGH_MEMORY
DCN_MUTEX_ERROR
DCN_INFO
Description
Operation completed successfully
Generic error occurred
Bad command received
Bad parameter received
Function not implemented
Not used by DCP
Not used by DCP
Not used by DCP
Not used by DCP
Not used by DCP
Timeout occurred during the operation
An unexpected SYS frame has been received
An incorrect ACK has been received
A frame with a wrong FrameID has been received
A frame with a wrong CRC has been received
Not enough memory to complete the operation
On error occurred in mutex's creation
A frame with DCP configuration information
15/19