STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_ll_crc.h File Reference

Header file of CRC LL module. More...

Go to the source code of this file.

Functions

__STATIC_INLINE void LL_CRC_ResetCRCCalculationUnit (CRC_TypeDef *CRCx)
 Reset the CRC calculation unit. More...
 
__STATIC_INLINE void LL_CRC_SetPolynomialSize (CRC_TypeDef *CRCx, uint32_t PolySize)
 Configure size of the polynomial. CR POLYSIZE LL_CRC_SetPolynomialSize. More...
 
__STATIC_INLINE uint32_t LL_CRC_GetPolynomialSize (CRC_TypeDef *CRCx)
 Return size of the polynomial. CR POLYSIZE LL_CRC_GetPolynomialSize. More...
 
__STATIC_INLINE void LL_CRC_SetInputDataReverseMode (CRC_TypeDef *CRCx, uint32_t ReverseMode)
 Configure the reversal of the bit order of the input data CR REV_IN LL_CRC_SetInputDataReverseMode. More...
 
__STATIC_INLINE uint32_t LL_CRC_GetInputDataReverseMode (CRC_TypeDef *CRCx)
 Return type of reversal for input data bit order CR REV_IN LL_CRC_GetInputDataReverseMode. More...
 
__STATIC_INLINE void LL_CRC_SetOutputDataReverseMode (CRC_TypeDef *CRCx, uint32_t ReverseMode)
 Configure the reversal of the bit order of the Output data CR REV_OUT LL_CRC_SetOutputDataReverseMode. More...
 
__STATIC_INLINE uint32_t LL_CRC_GetOutputDataReverseMode (CRC_TypeDef *CRCx)
 Configure the reversal of the bit order of the Output data CR REV_OUT LL_CRC_GetOutputDataReverseMode. More...
 
__STATIC_INLINE void LL_CRC_SetInitialData (CRC_TypeDef *CRCx, uint32_t InitCrc)
 Initialize the Programmable initial CRC value. More...
 
__STATIC_INLINE uint32_t LL_CRC_GetInitialData (CRC_TypeDef *CRCx)
 Return current Initial CRC value. More...
 
__STATIC_INLINE void LL_CRC_SetPolynomialCoef (CRC_TypeDef *CRCx, uint32_t PolynomCoef)
 Initialize the Programmable polynomial value (coefficients of the polynomial to be used for CRC calculation). More...
 
__STATIC_INLINE uint32_t LL_CRC_GetPolynomialCoef (CRC_TypeDef *CRCx)
 Return current Programmable polynomial value. More...
 
__STATIC_INLINE void LL_CRC_FeedData32 (CRC_TypeDef *CRCx, uint32_t InData)
 Write given 32-bit data to the CRC calculator DR DR LL_CRC_FeedData32. More...
 
__STATIC_INLINE void LL_CRC_FeedData16 (CRC_TypeDef *CRCx, uint16_t InData)
 Write given 16-bit data to the CRC calculator DR DR LL_CRC_FeedData16. More...
 
__STATIC_INLINE void LL_CRC_FeedData8 (CRC_TypeDef *CRCx, uint8_t InData)
 Write given 8-bit data to the CRC calculator DR DR LL_CRC_FeedData8. More...
 
__STATIC_INLINE uint32_t LL_CRC_ReadData32 (CRC_TypeDef *CRCx)
 Return current CRC calculation result. 32 bits value is returned. DR DR LL_CRC_ReadData32. More...
 
__STATIC_INLINE uint16_t LL_CRC_ReadData16 (CRC_TypeDef *CRCx)
 Return current CRC calculation result. 16 bits value is returned. More...
 
__STATIC_INLINE uint8_t LL_CRC_ReadData8 (CRC_TypeDef *CRCx)
 Return current CRC calculation result. 8 bits value is returned. More...
 
__STATIC_INLINE uint8_t LL_CRC_ReadData7 (CRC_TypeDef *CRCx)
 Return current CRC calculation result. 7 bits value is returned. More...
 
__STATIC_INLINE uint32_t LL_CRC_Read_IDR (CRC_TypeDef *CRCx)
 Return data stored in the Independent Data(IDR) register. More...
 
__STATIC_INLINE void LL_CRC_Write_IDR (CRC_TypeDef *CRCx, uint32_t InData)
 Store data in the Independent Data(IDR) register. More...
 
ErrorStatus LL_CRC_DeInit (CRC_TypeDef *CRCx)
 De-initialize CRC registers (Registers restored to their default values). More...
 

Detailed Description

Header file of CRC LL module.

Author
MCD Application Team
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_ll_crc.h.