|
STM32L443xx HAL User Manual
|
Extended Initialization and Configuration functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_CRCEx_Polynomial_Set (CRC_HandleTypeDef *hcrc, uint32_t Pol, uint32_t PolyLength) |
| Initialize the CRC polynomial if different from default one. | |
| HAL_StatusTypeDef | HAL_CRCEx_Input_Data_Reverse (CRC_HandleTypeDef *hcrc, uint32_t InputReverseMode) |
| Set the Reverse Input data mode. | |
| HAL_StatusTypeDef | HAL_CRCEx_Output_Data_Reverse (CRC_HandleTypeDef *hcrc, uint32_t OutputReverseMode) |
| Set the Reverse Output data mode. | |
Extended Initialization and Configuration functions.
===============================================================================
##### Extended configuration functions #####
===============================================================================
[..] This section provides functions allowing to:
(+) Configure the generating polynomial
(+) Configure the input data inversion
(+) Configure the output data inversion
| HAL_StatusTypeDef HAL_CRCEx_Input_Data_Reverse | ( | CRC_HandleTypeDef * | hcrc, |
| uint32_t | InputReverseMode | ||
| ) |
Set the Reverse Input data mode.
| hcrc | CRC handle |
| InputReverseMode | Input Data inversion mode. This parameter can be one of the following values:
|
| HAL | status |
Definition at line 159 of file stm32l4xx_hal_crc_ex.c.
References assert_param, HAL_CRC_STATE_BUSY, HAL_CRC_STATE_READY, CRC_HandleTypeDef::Instance, IS_CRC_INPUTDATA_INVERSION_MODE, and CRC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_CRCEx_Output_Data_Reverse | ( | CRC_HandleTypeDef * | hcrc, |
| uint32_t | OutputReverseMode | ||
| ) |
Set the Reverse Output data mode.
| hcrc | CRC handle |
| OutputReverseMode | Output Data inversion mode. This parameter can be one of the following values:
|
| HAL | status |
Definition at line 185 of file stm32l4xx_hal_crc_ex.c.
References assert_param, HAL_CRC_STATE_BUSY, HAL_CRC_STATE_READY, CRC_HandleTypeDef::Instance, IS_CRC_OUTPUTDATA_INVERSION_MODE, and CRC_HandleTypeDef::State.
| HAL_StatusTypeDef HAL_CRCEx_Polynomial_Set | ( | CRC_HandleTypeDef * | hcrc, |
| uint32_t | Pol, | ||
| uint32_t | PolyLength | ||
| ) |
Initialize the CRC polynomial if different from default one.
| hcrc | CRC handle |
| Pol | CRC generating polynomial (7, 8, 16 or 32-bit long). This parameter is written in normal representation, e.g.
|
| PolyLength | CRC polynomial length. This parameter can be one of the following values:
|
| HAL | status |
Definition at line 89 of file stm32l4xx_hal_crc_ex.c.
References assert_param, CRC_POLYLENGTH_16B, CRC_POLYLENGTH_32B, CRC_POLYLENGTH_7B, CRC_POLYLENGTH_8B, HAL_CRC_LENGTH_16B, HAL_CRC_LENGTH_7B, HAL_CRC_LENGTH_8B, CRC_HandleTypeDef::Instance, and IS_CRC_POL_LENGTH.
Referenced by HAL_CRC_Init().
1.7.6.1