|
STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
|
Functions | |
| void | CrcInit (void) |
| Initialize the CRC peripheral. | |
| void | CrcDeInit (void) |
| De-initialize the CRC peripheral. | |
| uint32_t | CrcAccumulate (const uint8_t *const data, const uint32_t size) |
| Calculate the CRC value over the provided buffer. More... | |
Variables | |
| static CRC_HandleTypeDef | crcHandle |
| uint32_t CrcAccumulate | ( | const uint8_t *const | data, |
| const uint32_t | size | ||
| ) |
Calculate the CRC value over the provided buffer.
The calculation is done in an accumulated manner; i.e. the calculation starts with the previously computed CRC value as the CRC initialization value.
| data | Pointer to the buffer containing the data. |
| size | Size of the buffer in bytes. |