38 #if defined(GPCRC_PRESENT) && (GPCRC_COUNT > 0)
162 #define GPCRC_INIT_DEFAULT \
224 gpcrc->
INIT = initValue;
__STATIC_INLINE void GPCRC_InputU16(GPCRC_TypeDef *gpcrc, uint16_t data)
Writes a 16 bit value to the input data register of the CRC.
__STATIC_INLINE void GPCRC_Start(GPCRC_TypeDef *gpcrc)
Issues a command to initialize the CRC calculation.
__STATIC_INLINE void GPCRC_Enable(GPCRC_TypeDef *gpcrc, bool enable)
Enable/disable GPCRC.
__STATIC_INLINE void GPCRC_InputU32(GPCRC_TypeDef *gpcrc, uint32_t data)
Writes a 32 bit value to the input data register of the CRC.
void GPCRC_Init(GPCRC_TypeDef *gpcrc, const GPCRC_Init_TypeDef *init)
Initialize the General Purpose Cyclic Redundancy Check (GPCRC) module.
RAM and peripheral bit-field set and clear API.
void GPCRC_Reset(GPCRC_TypeDef *gpcrc)
Reset GPCRC registers to the hardware reset state.
__STATIC_INLINE uint32_t GPCRC_DataReadByteReversed(GPCRC_TypeDef *gpcrc)
Reads the data register of the CRC byte reversed.
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices.
__STATIC_INLINE void GPCRC_InitValueSet(GPCRC_TypeDef *gpcrc, uint32_t initValue)
Set the initialization value of the CRC.
__STATIC_INLINE void GPCRC_InputU8(GPCRC_TypeDef *gpcrc, uint8_t data)
Writes an 8 bit value to the input data register of the CRC.
__IOM uint32_t INPUTDATABYTE
#define _GPCRC_CTRL_EN_SHIFT
__STATIC_INLINE uint32_t GPCRC_DataRead(GPCRC_TypeDef *gpcrc)
Reads the data register of the CRC.
__IOM uint32_t INPUTDATAHWORD
__STATIC_INLINE uint32_t GPCRC_DataReadBitReversed(GPCRC_TypeDef *gpcrc)
Reads the data register of the CRC bit reversed.
__STATIC_INLINE void BUS_RegBitWrite(volatile uint32_t *addr, unsigned int bit, unsigned int val)
Perform a single-bit write operation on a peripheral register.
__IM uint32_t DATABYTEREV