7.2.3 DIAG_FLASH_CalculateCRC16
This API calculates 16-bit CRC with Direct Computation method for given FLASH memory region. This API will be used by DIAG_FLASH_CalculateStoreCRC16 and DIAG_FLASH_ValidateCRC16.
static void DIAG_FLASH_CalculateCRC16(
uint32_t startAddress, uint32_t length, uint16_t * crcSeed
)
Parameters
[in] startAddress |
uint32_t
- starting address of FLASH memory region to be considered for CRC |
[in] length |
uint32_t
- number of bytes from startAddress to be considered for CRC |
[in, out] crcSeed |
uint16_t *
- pointer to initial and final CRC |
Returns
void | None |