EFR32 Mighty Gecko 13 Software Documentation
efr32mg13-doc-5.1.2
|
General Purpose Cyclic Redundancy Check (GPCRC) API.
Copyright 2016 Silicon Laboratories, Inc. http://www.silabs.com
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.
Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.
Definition in file em_gpcrc.h.
Go to the source code of this file.
Data Structures | |
struct | GPCRC_Init_TypeDef |
Macros | |
#define | GPCRC_INIT_DEFAULT |
Functions | |
__STATIC_INLINE uint32_t | GPCRC_DataRead (GPCRC_TypeDef *gpcrc) |
Reads the data register of the CRC. More... | |
__STATIC_INLINE uint32_t | GPCRC_DataReadBitReversed (GPCRC_TypeDef *gpcrc) |
Reads the data register of the CRC bit reversed. More... | |
__STATIC_INLINE uint32_t | GPCRC_DataReadByteReversed (GPCRC_TypeDef *gpcrc) |
Reads the data register of the CRC byte reversed. More... | |
__STATIC_INLINE void | GPCRC_Enable (GPCRC_TypeDef *gpcrc, bool enable) |
Enable/disable GPCRC. More... | |
void | GPCRC_Init (GPCRC_TypeDef *gpcrc, const GPCRC_Init_TypeDef *init) |
Initialize the General Purpose Cyclic Redundancy Check (GPCRC) module. More... | |
__STATIC_INLINE void | GPCRC_InitValueSet (GPCRC_TypeDef *gpcrc, uint32_t initValue) |
Set the initialization value of the CRC. More... | |
__STATIC_INLINE void | GPCRC_InputU16 (GPCRC_TypeDef *gpcrc, uint16_t data) |
Writes a 16 bit value to the input data register of the CRC. More... | |
__STATIC_INLINE void | GPCRC_InputU32 (GPCRC_TypeDef *gpcrc, uint32_t data) |
Writes a 32 bit value to the input data register of the CRC. More... | |
__STATIC_INLINE void | GPCRC_InputU8 (GPCRC_TypeDef *gpcrc, uint8_t data) |
Writes an 8 bit value to the input data register of the CRC. More... | |
void | GPCRC_Reset (GPCRC_TypeDef *gpcrc) |
Reset GPCRC registers to the hardware reset state. More... | |
__STATIC_INLINE void | GPCRC_Start (GPCRC_TypeDef *gpcrc) |
Issues a command to initialize the CRC calculation. More... | |