Go to the source code of this file.
Functions | |
status_t | CRC_DRV_Init (uint32_t instance, const crc_user_config_t *userConfigPtr) |
Initializes the CRC module. More... | |
status_t | CRC_DRV_Deinit (uint32_t instance) |
Sets the default configuration. More... | |
uint32_t | CRC_DRV_GetCrc32 (uint32_t instance, uint32_t data, bool newSeed, uint32_t seed) |
Appends 32-bit data to the current CRC calculation and returns new result. More... | |
uint32_t | CRC_DRV_GetCrc16 (uint32_t instance, uint16_t data, bool newSeed, uint32_t seed) |
Appends 16-bit data to the current CRC calculation and returns new result. More... | |
uint32_t | CRC_DRV_GetCrc8 (uint32_t instance, uint8_t data, bool newSeed, uint32_t seed) |
Appends 8-bit data to the current CRC calculation and returns new result. More... | |
void | CRC_DRV_WriteData (uint32_t instance, const uint8_t *data, uint32_t dataSize) |
Appends a block of bytes to the current CRC calculation. More... | |
uint32_t | CRC_DRV_GetCrcResult (uint32_t instance) |
Returns the current result of the CRC calculation. More... | |
status_t | CRC_DRV_Configure (uint32_t instance, const crc_user_config_t *userConfigPtr) |
Configures the CRC module from a user configuration structure. More... | |
status_t | CRC_DRV_GetConfig (uint32_t instance, crc_user_config_t *const userConfigPtr) |
Get configures of the CRC module currently. More... | |
status_t | CRC_DRV_GetDefaultConfig (crc_user_config_t *const userConfigPtr) |
Get default configures the CRC module for configuration structure. More... | |
Variables | |
static CRC_Type *const | s_crcBase [] = { ((CRC_Type *) (0x40032000u) ) } |
Table of base addresses for CRC instances. More... | |
Table of base addresses for CRC instances.
Definition at line 55 of file crc_driver.c.