|
PER Firmware
|
STM32G4 CRC register-level implementation. More...
#include "common/phal_G4/crc/crc_priv.h"Functions | |
| void | CRC_PRIV_enableClock (void) |
| Enable the CRC peripheral clock on AHB1. | |
| void | CRC_PRIV_setConfig (void) |
| Configure the polynomial, size, and initial value for CRC-32/MPEG-2. | |
| void | CRC_PRIV_reset (void) |
| Reset the CRC unit, reloading the initial value into the data register. | |
| void | CRC_PRIV_feedWord (uint32_t word) |
| Feed one 32-bit word into the CRC data register. | |
| uint32_t | CRC_PRIV_readResult (void) |
| Read the accumulated CRC result from the data register. | |
STM32G4 CRC register-level implementation.
| void CRC_PRIV_enableClock | ( | void | ) |
Enable the CRC peripheral clock on AHB1.
| void CRC_PRIV_feedWord | ( | uint32_t | word | ) |
Feed one 32-bit word into the CRC data register.
| uint32_t CRC_PRIV_readResult | ( | void | ) |
Read the accumulated CRC result from the data register.
| void CRC_PRIV_reset | ( | void | ) |
Reset the CRC unit, reloading the initial value into the data register.
| void CRC_PRIV_setConfig | ( | void | ) |
Configure the polynomial, size, and initial value for CRC-32/MPEG-2.