MSP432E4 DriverLib API Guide  1.11.00.03
Macros | Functions
crc.h File Reference
#include <stdint.h>
#include <stdbool.h>
Include dependency graph for crc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CRC_CFG_INIT_SEED   0x00000000
 
#define CRC_CFG_INIT_0   0x00004000
 
#define CRC_CFG_INIT_1   0x00006000
 
#define CRC_CFG_SIZE_8BIT   0x00001000
 
#define CRC_CFG_SIZE_32BIT   0x00000000
 
#define CRC_CFG_RESINV   0x00000200
 
#define CRC_CFG_OBR   0x00000100
 
#define CRC_CFG_IBR   0x00000080
 
#define CRC_CFG_ENDIAN_SBHW   0x00000010
 
#define CRC_CFG_ENDIAN_SHW   0x00000020
 
#define CRC_CFG_TYPE_P8005   0x00000000
 
#define CRC_CFG_TYPE_P1021   0x00000001
 
#define CRC_CFG_TYPE_P4C11DB7   0x00000002
 
#define CRC_CFG_TYPE_P1EDC6F41   0x00000003
 
#define CRC_CFG_TYPE_TCPCHKSUM   0x00000008
 

Functions

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)
 

Macro Definition Documentation

§ CRC_CFG_INIT_SEED

#define CRC_CFG_INIT_SEED   0x00000000

Referenced by CRCConfigSet().

§ CRC_CFG_INIT_0

#define CRC_CFG_INIT_0   0x00004000

Referenced by CRCConfigSet().

§ CRC_CFG_INIT_1

#define CRC_CFG_INIT_1   0x00006000

Referenced by CRCConfigSet().

§ CRC_CFG_SIZE_8BIT

#define CRC_CFG_SIZE_8BIT   0x00001000

Referenced by CRCConfigSet().

§ CRC_CFG_SIZE_32BIT

#define CRC_CFG_SIZE_32BIT   0x00000000

Referenced by CRCConfigSet().

§ CRC_CFG_RESINV

#define CRC_CFG_RESINV   0x00000200

Referenced by CRCConfigSet().

§ CRC_CFG_OBR

#define CRC_CFG_OBR   0x00000100

Referenced by CRCConfigSet().

§ CRC_CFG_IBR

#define CRC_CFG_IBR   0x00000080

Referenced by CRCConfigSet().

§ CRC_CFG_ENDIAN_SBHW

#define CRC_CFG_ENDIAN_SBHW   0x00000010

Referenced by CRCConfigSet().

§ CRC_CFG_ENDIAN_SHW

#define CRC_CFG_ENDIAN_SHW   0x00000020

Referenced by CRCConfigSet().

§ CRC_CFG_TYPE_P8005

#define CRC_CFG_TYPE_P8005   0x00000000

Referenced by CRCConfigSet().

§ CRC_CFG_TYPE_P1021

#define CRC_CFG_TYPE_P1021   0x00000001

Referenced by CRCConfigSet().

§ CRC_CFG_TYPE_P4C11DB7

#define CRC_CFG_TYPE_P4C11DB7   0x00000002

Referenced by CRCConfigSet().

§ CRC_CFG_TYPE_P1EDC6F41

#define CRC_CFG_TYPE_P1EDC6F41   0x00000003

Referenced by CRCConfigSet().

§ CRC_CFG_TYPE_TCPCHKSUM

#define CRC_CFG_TYPE_TCPCHKSUM   0x00000008

Referenced by CRCConfigSet().

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale