MG32F157 Standard Peripherals Firmware Library
Functions
mg32f157_crc.h File Reference

This file contains all the functions prototypes for the CRC firmware library. More...

#include "mg32f157.h"

Go to the source code of this file.

Functions

void CRC_ResetDR (void)
 Resets the CRC Data register (DR). More...
 
uint32_t CRC_CalcCRC (uint32_t Data)
 Computes the 32-bit CRC of a given data word(32-bit). More...
 
uint32_t CRC_CalcBlockCRC (uint32_t pBuffer[], uint32_t BufferLength)
 Computes the 32-bit CRC of a given buffer of data word(32-bit). More...
 
uint32_t CRC_GetCRC (void)
 Returns the current CRC value. More...
 
void CRC_SetIDRegister (uint8_t IDValue)
 Stores a 8-bit data in the Independent Data(ID) register. More...
 
uint8_t CRC_GetIDRegister (void)
 Returns the 8-bit data stored in the Independent Data(ID) register. More...
 

Detailed Description

This file contains all the functions prototypes for the CRC firmware library.

Author
MegawinTech Application Team
Version
V0.0.4
Date
16-June-2023