STM32F439xx HAL User Manual
|
Initialization and Configuration functions. More...
Functions | |
HAL_StatusTypeDef | HAL_HASH_Init (HASH_HandleTypeDef *hhash) |
Initializes the HASH according to the specified parameters in the HASH_HandleTypeDef and creates the associated handle. | |
HAL_StatusTypeDef | HAL_HASH_DeInit (HASH_HandleTypeDef *hhash) |
DeInitializes the HASH peripheral. | |
__weak void | HAL_HASH_MspInit (HASH_HandleTypeDef *hhash) |
Initializes the HASH MSP. | |
__weak void | HAL_HASH_MspDeInit (HASH_HandleTypeDef *hhash) |
DeInitializes HASH MSP. | |
__weak void | HAL_HASH_InCpltCallback (HASH_HandleTypeDef *hhash) |
Input data transfer complete callback. | |
__weak void | HAL_HASH_ErrorCallback (HASH_HandleTypeDef *hhash) |
Data transfer Error callback. | |
__weak void | HAL_HASH_DgstCpltCallback (HASH_HandleTypeDef *hhash) |
Digest computation complete callback. |
Initialization and Configuration functions.
=============================================================================== ##### Initialization and de-initialization functions ##### =============================================================================== [..] This section provides functions allowing to: (+) Initialize the HASH according to the specified parameters in the HASH_InitTypeDef and creates the associated handle. (+) DeInitialize the HASH peripheral. (+) Initialize the HASH MSP. (+) DeInitialize HASH MSP.
HAL_StatusTypeDef HAL_HASH_DeInit | ( | HASH_HandleTypeDef * | hhash | ) |
DeInitializes the HASH peripheral.
hhash | pointer to a HASH_HandleTypeDef structure that contains the configuration information for HASH module |
HAL | status |
Definition at line 390 of file stm32f4xx_hal_hash.c.
References HAL_HASH_MspDeInit(), HAL_HASH_PHASE_READY, HAL_HASH_STATE_BUSY, HAL_HASH_STATE_RESET, HASH_HandleTypeDef::HashBuffSize, HASH_HandleTypeDef::HashInCount, HASH_HandleTypeDef::HashITCounter, HASH_HandleTypeDef::Phase, and HASH_HandleTypeDef::State.
__weak void HAL_HASH_DgstCpltCallback | ( | HASH_HandleTypeDef * | hhash | ) |
Digest computation complete callback.
It is used only with interrupt.
hhash | pointer to a HASH_HandleTypeDef structure that contains the configuration information for HASH module |
None |
Definition at line 489 of file stm32f4xx_hal_hash.c.
Referenced by HAL_HASH_MD5_Start_IT(), HAL_HASH_SHA1_Start_IT(), HAL_HASHEx_SHA224_Start_IT(), and HAL_HASHEx_SHA256_Start_IT().
__weak void HAL_HASH_ErrorCallback | ( | HASH_HandleTypeDef * | hhash | ) |
Data transfer Error callback.
hhash | pointer to a HASH_HandleTypeDef structure that contains the configuration information for HASH module |
None |
Definition at line 473 of file stm32f4xx_hal_hash.c.
Referenced by HASH_DMAError(), and HASHEx_DMAError().
__weak void HAL_HASH_InCpltCallback | ( | HASH_HandleTypeDef * | hhash | ) |
Input data transfer complete callback.
hhash | pointer to a HASH_HandleTypeDef structure that contains the configuration information for HASH module |
None |
Definition at line 458 of file stm32f4xx_hal_hash.c.
Referenced by HAL_HASH_MD5_Start_IT(), HAL_HASH_SHA1_Start_IT(), HAL_HASHEx_SHA224_Start_IT(), HAL_HASHEx_SHA256_Start_IT(), HASH_DMAXferCplt(), and HASHEx_DMAXferCplt().
HAL_StatusTypeDef HAL_HASH_Init | ( | HASH_HandleTypeDef * | hhash | ) |
Initializes the HASH according to the specified parameters in the HASH_HandleTypeDef and creates the associated handle.
hhash | pointer to a HASH_HandleTypeDef structure that contains the configuration information for HASH module |
HAL | status |
Definition at line 343 of file stm32f4xx_hal_hash.c.
References assert_param, HASH_InitTypeDef::DataType, HAL_HASH_MspInit(), HAL_HASH_PHASE_READY, HAL_HASH_STATE_BUSY, HAL_HASH_STATE_READY, HAL_HASH_STATE_RESET, HASH_HandleTypeDef::HashBuffSize, HASH_HandleTypeDef::HashInCount, HASH_HandleTypeDef::HashITCounter, HASH_HandleTypeDef::Init, IS_HASH_DATATYPE, HASH_HandleTypeDef::Lock, HASH_HandleTypeDef::Phase, and HASH_HandleTypeDef::State.
__weak void HAL_HASH_MspDeInit | ( | HASH_HandleTypeDef * | hhash | ) |
DeInitializes HASH MSP.
hhash | pointer to a HASH_HandleTypeDef structure that contains the configuration information for HASH module |
None |
Definition at line 443 of file stm32f4xx_hal_hash.c.
Referenced by HAL_HASH_DeInit().
__weak void HAL_HASH_MspInit | ( | HASH_HandleTypeDef * | hhash | ) |
Initializes the HASH MSP.
hhash | pointer to a HASH_HandleTypeDef structure that contains the configuration information for HASH module |
None |
Definition at line 428 of file stm32f4xx_hal_hash.c.
Referenced by HAL_HASH_Init().