S32 SDK
crc_driver.h File Reference
#include "crc_hal.h"
#include "status.h"

Go to the source code of this file.

Data Structures

struct  crc_user_config_t
 CRC configuration structure. Implements : crc_user_config_t_Class. More...
 

Functions

CRC DRIVER API
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...
 
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...
 

Variables

CRC_Type *const g_crcBase [CRC_INSTANCE_COUNT]
 Table of base addresses for CRC instances. More...