Defines all functions of mcuxClEls_Crc.
More...
Defines all functions of mcuxClEls_Crc.
◆ mcuxClEls_ConfigureCommandCRC()
◆ mcuxClEls_GetCommandCRC()
Get the current command CRC value.
- Parameters
-
[out] | commandCrc | The command CRC value. |
- Returns
- An error code
- Return values
-
MCUXCLELS_STATUS_OK | Operation successful |
MCUXCLELS_STATUS_SW_INVALID_PARAM | Parameter commandCRC points to NULL |
◆ mcuxClEls_VerifyVsRefCRC()
Verifies a reference CRC against the computed ELS command CRC.
- Parameters
-
[in] | refCrc | The reference CRC value. |
- Returns
- An error code that can be any error code in MCUXCLELS_STATUS_, see individual documentation for more information
◆ mcuxClEls_UpdateRefCRC()
Updates a reference CRC with the parameters of an ELS command.
This can be used to verify against the ELS command CRC.
- Parameters
-
[in] | command | The ELS command ID. |
[in] | options | The command options for the given ELS command. |
[in,out] | refCrc | The current reference CRC value to update. |
- Returns
- An error code
- Return values
-
MCUXCLELS_STATUS_OK | Operation successful |
MCUXCLELS_STATUS_SW_INVALID_PARAM | Parameter crc points to NULL |