|
PER Firmware
|
Calculation of PEC (CRC15, CRC10) for ADBMS communication. More...
Functions | |
| uint16_t | adbms_pec_get_pec15 (uint8_t len, const uint8_t *data) |
| CRC15 Pec Calculation Function. | |
| uint16_t | adbms_pec_get_pec10 (bool bIsRxCmd, uint8_t nLength, const uint8_t *pDataBuf) |
Calculation of PEC (CRC15, CRC10) for ADBMS communication.
| uint16_t adbms_pec_get_pec15 | ( | uint8_t | len, |
| const uint8_t * | data ) |
CRC15 Pec Calculation Function.
Function: Pec15_Calc
This function calculates and return the CRC15 value
Parameters:
| [in] | Len | Number of bytes that will be used to calculate a PEC |
| [in] | *data | Array of data that will be used to calculate a PEC |