47 for (i = 0; i < size; i++) {
#define CRC_CR_RESET
CRC_CR_RESET reset the CRC peripheral.
uint32_t crc_calculate_block(uint32_t *datap, int size)
Add a block of data to the CRC calculator and return the final result.
void crc_reset(void)
Reset the CRC calculator to initial values.
uint32_t crc_calculate(uint32_t data)
Writes a data word to the register, the write operation stalling until the computation is complete.
#define CRC_CR
CRC_CR Control register.
#define CRC_DR
CRC_DR Data register.