STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
crc.h
Go to the documentation of this file.
1
16
#ifndef BSP_CRC_H
17
#define BSP_CRC_H
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
32
/* Includes ------------------------------------------------------------------*/
33
#include <stdint.h>
34
35
/* Functions------------------------------------------------------------------*/
39
void
CrcInit
(
void
);
40
44
void
CrcDeInit
(
void
);
45
57
uint32_t
CrcAccumulate
(
const
uint8_t*
const
data,
const
uint32_t size);
58
65
#ifdef __cplusplus
66
}
67
#endif
68
69
#endif
CrcAccumulate
uint32_t CrcAccumulate(const uint8_t *const data, const uint32_t size)
Calculate the CRC value over the provided buffer.
Definition:
crc.c:71
CrcDeInit
void CrcDeInit(void)
De-initialize the CRC peripheral.
Definition:
crc.c:65
CrcInit
void CrcInit(void)
Initialize the CRC peripheral.
Definition:
crc.c:37
bsp
stm32l496-discovery
include
crc.h
Generated by
1.9.1