MG32L003 Standard Peripherals Firmware Library
Macros | Functions
mg32l003_crc.h File Reference

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

#include "mg32l003.h"

Go to the source code of this file.

Macros

#define CRC_DataAddress   (CRC_BASE + 0x80)
 

Functions

void CRC_InitResult (void)
 Initialize CRC caculation. More...
 
void CRC_DeInit (void)
 DeInitializes the CRC peripheral. More...
 
uint32_t CRC_Accumulate (const uint8_t *ptr_data, uint32_t bufferLength)
 Computes the 16-bit CRC of 8-bit data buffer using combination of the previous CRC value and the new one. More...
 
uint32_t CRC_Calculate (const uint8_t *ptr_data, uint32_t bufferLength)
 Computes the 16-bit CRC of 8-bit data buffer independently of the previous CRC value. More...
 

Detailed Description

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

Author
megawin Application Team
Version
V0.0.5
Date
13-August-2024