Header file of CRC HAL extended module. More...
#include "stm32h7xx_hal_def.h"
Go to the source code of this file.
Macros | |
#define | __HAL_CRC_OUTPUTREVERSAL_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= ~(CRC_CR_REV_OUT)) |
Unset CRC output reversal. More... | |
#define | __HAL_CRC_OUTPUTREVERSAL_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= CRC_CR_REV_OUT) |
Set CRC output reversal. More... | |
#define | __HAL_CRC_POLYNOMIAL_CONFIG(__HANDLE__, __POLYNOMIAL__) ((__HANDLE__)->Instance->POL = (__POLYNOMIAL__)) |
Set CRC non-default polynomial. More... | |
#define | CRC_INPUTDATA_INVERSION_BYTE CRC_CR_REV_IN_0 |
#define | CRC_INPUTDATA_INVERSION_HALFWORD CRC_CR_REV_IN_1 |
#define | CRC_INPUTDATA_INVERSION_NONE 0x00000000U |
#define | CRC_INPUTDATA_INVERSION_WORD CRC_CR_REV_IN |
#define | CRC_OUTPUTDATA_INVERSION_DISABLE 0x00000000U |
#define | CRC_OUTPUTDATA_INVERSION_ENABLE CRC_CR_REV_OUT |
#define | IS_CRC_INPUTDATA_INVERSION_MODE(MODE) |
#define | IS_CRC_OUTPUTDATA_INVERSION_MODE(MODE) |
Functions | |
HAL_StatusTypeDef | HAL_CRCEx_Input_Data_Reverse (CRC_HandleTypeDef *hcrc, uint32_t InputReverseMode) |
HAL_StatusTypeDef | HAL_CRCEx_Output_Data_Reverse (CRC_HandleTypeDef *hcrc, uint32_t OutputReverseMode) |
HAL_StatusTypeDef | HAL_CRCEx_Polynomial_Set (CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength) |
Header file of CRC HAL extended module.
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 stm32h7xx_hal_crc_ex.h.