#include <stdint.h>
#include <stdbool.h>
Go to the source code of this file.
|
void | CRCConfigSet (uint32_t ui32Base, uint32_t ui32CRCConfig) |
|
uint32_t | CRCDataProcess (uint32_t ui32Base, uint32_t *pui32DataIn, uint32_t ui32DataLength, bool bPPResult) |
|
void | CRCDataWrite (uint32_t ui32Base, uint32_t ui32Data) |
|
uint32_t | CRCResultRead (uint32_t ui32Base, bool bPPResult) |
|
void | CRCSeedSet (uint32_t ui32Base, uint32_t ui32Seed) |
|
§ CRC_CFG_INIT_SEED
#define CRC_CFG_INIT_SEED 0x00000000 |
§ CRC_CFG_INIT_0
#define CRC_CFG_INIT_0 0x00004000 |
§ CRC_CFG_INIT_1
#define CRC_CFG_INIT_1 0x00006000 |
§ CRC_CFG_SIZE_8BIT
#define CRC_CFG_SIZE_8BIT 0x00001000 |
§ CRC_CFG_SIZE_32BIT
#define CRC_CFG_SIZE_32BIT 0x00000000 |
§ CRC_CFG_RESINV
#define CRC_CFG_RESINV 0x00000200 |
§ CRC_CFG_OBR
#define CRC_CFG_OBR 0x00000100 |
§ CRC_CFG_IBR
#define CRC_CFG_IBR 0x00000080 |
§ CRC_CFG_ENDIAN_SBHW
#define CRC_CFG_ENDIAN_SBHW 0x00000010 |
§ CRC_CFG_ENDIAN_SHW
#define CRC_CFG_ENDIAN_SHW 0x00000020 |
§ CRC_CFG_TYPE_P8005
#define CRC_CFG_TYPE_P8005 0x00000000 |
§ CRC_CFG_TYPE_P1021
#define CRC_CFG_TYPE_P1021 0x00000001 |
§ CRC_CFG_TYPE_P4C11DB7
#define CRC_CFG_TYPE_P4C11DB7 0x00000002 |
§ CRC_CFG_TYPE_P1EDC6F41
#define CRC_CFG_TYPE_P1EDC6F41 0x00000003 |
§ CRC_CFG_TYPE_TCPCHKSUM
#define CRC_CFG_TYPE_TCPCHKSUM 0x00000008 |