STM32 Bootloader
Customizable Bootloader for STM32 microcontrollers
crc.c File Reference

This file contains the CRC peripheral driver implementation using the microcontroller hardware CRC unit. More...

#include "crc.h"
#include "error_handler.h"
#include "mcu_hal.h"
#include "rcc.h"

Go to the source code of this file.

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
 

Detailed Description

This file contains the CRC peripheral driver implementation using the microcontroller hardware CRC unit.

STM32 Bootloader

Author
Akos Pasztor

Definition in file crc.c.