|
The error are reseted after a call to MSXE173x__MFEndatResetErrorBits. If a function returns an error, please use this function to check if it is not a communication error.
- Parameters:
-
[in] | ulConnectorIndex | Index of the EnDat connector (0 to 3). See on the MSX-E system. |
[in] | ulChannelIndex | Index of the channel. Set to 0 |
[in] | ulOption01 | Reserved. Set to 0 |
[in] | ulOption02 | Reserved. Set to 0 |
[in] | ulOption03 | Reserved. Set to 0 |
[in] | ulOption04 | Reserved. Set to 0 |
[out] | Response |
sResponse.iReturnValue
- 0 The remote function performed OK
- -1 System error occurred
- -2 The PLD is not working
- -3 The ulConnectorIndex parameter is wrong
- -4 The ulChannelIndex parameter is wrong
- -5 The component is not programmed as EnDat
- -100 Internal system error occurred. See value of syserrno
sResponse.syserrno system-error code (the value of the libc "errno" code)
ulErrorSrc Mask of bits that give the current error sources. Each bit represents an error. If the bit is set to 1, the error is present.
- Bit 0 Invalid mode command
- Bit 1 Invalid MRS-Code
- Bit 2 Transmission is not completed
- Bit 3 Communication command is not supported
- Bit 4 MRS-Code is not allowed
- Bit 6 Invalid address is selected or sensor's EEPROM is written while being busy
- Bit 7 Try to write a protected memory place
- Bit 8 Write-Protect configuration is tried to be reset (if a memory place is write-protected, it cannot be reset)
- Bit 9 Block address is not available
- Bit 10 Invalid address for the communication command
- Bit 11 Invalid additional data (or additional data not supported by the sensor)
|
- Return values:
-
| 0 | SOAP_OK |
| Others | See SOAP error |
|