|
STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Initialization, configuration and call-back functions. More...
Functions | |
| HAL_StatusTypeDef | HAL_HASH_Init (HASH_HandleTypeDef *hhash) |
| Initialize the HASH according to the specified parameters in the HASH_HandleTypeDef and create the associated handle. | |
| HAL_StatusTypeDef | HAL_HASH_DeInit (HASH_HandleTypeDef *hhash) |
| DeInitialize the HASH peripheral. | |
| void | HAL_HASH_MspInit (HASH_HandleTypeDef *hhash) |
| Initialize the HASH MSP. | |
| void | HAL_HASH_MspDeInit (HASH_HandleTypeDef *hhash) |
| DeInitialize the HASH MSP. | |
| void | HAL_HASH_InCpltCallback (HASH_HandleTypeDef *hhash) |
| Input data transfer complete call back. | |
| void | HAL_HASH_DgstCpltCallback (HASH_HandleTypeDef *hhash) |
| Digest computation complete call back. | |
| void | HAL_HASH_ErrorCallback (HASH_HandleTypeDef *hhash) |
| Error callback. | |
Initialization, configuration and call-back 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 create the associated handle
(+) DeInitialize the HASH peripheral
(+) Initialize the HASH MCU Specific Package (MSP)
(+) DeInitialize the HASH MSP
[..] This section provides as well call back functions definitions for user
code to manage:
(+) Input data transfer to Peripheral completion
(+) Calculated digest retrieval completion
(+) Error management| HAL_StatusTypeDef HAL_HASH_Init | ( | HASH_HandleTypeDef * | hhash | ) |
#include <stm32f4xx_hal_hash.h>
Initialize the HASH according to the specified parameters in the HASH_HandleTypeDef and create the associated handle.
| hhash | HASH handle |
| HAL | status |
Definition at line 328 of file stm32f4xx_hal_hash.c.
References __HAL_HASH_RESET_MDMAT, assert_param, HASH_InitTypeDef::DataType, HASH_HandleTypeDef::DigestCalculationDisable, HASH_HandleTypeDef::ErrorCode, HAL_ERROR, HAL_HASH_DgstCpltCallback(), HAL_HASH_ERROR_NONE, HAL_HASH_ErrorCallback(), HAL_HASH_InCpltCallback(), HAL_HASH_MspInit(), HAL_HASH_PHASE_READY, HAL_HASH_STATE_BUSY, HAL_HASH_STATE_READY, HAL_HASH_STATE_RESET, HAL_HASH_SUSPEND_NONE, HAL_OK, HAL_UNLOCKED, HASH_HandleTypeDef::HashBuffSize, HASH_HandleTypeDef::HashInCount, HASH_HandleTypeDef::HashITCounter, HASH_HandleTypeDef::Init, IS_HASH_DATATYPE, HASH_HandleTypeDef::Lock, HASH_HandleTypeDef::NbWordsAlreadyPushed, HASH_HandleTypeDef::Phase, HASH_HandleTypeDef::State, HASH_HandleTypeDef::Status, and HASH_HandleTypeDef::SuspendRequest.
| HAL_StatusTypeDef HAL_HASH_DeInit | ( | HASH_HandleTypeDef * | hhash | ) |
#include <stm32f4xx_hal_hash.h>
DeInitialize the HASH peripheral.
| hhash | HASH handle. |
| HAL | status |
Definition at line 408 of file stm32f4xx_hal_hash.c.
References HASH_HandleTypeDef::Accumulation, HASH_HandleTypeDef::DigestCalculationDisable, HASH_HandleTypeDef::ErrorCode, HAL_ERROR, HAL_HASH_ERROR_NONE, HAL_HASH_MspDeInit(), HAL_HASH_PHASE_READY, HAL_HASH_STATE_BUSY, HAL_HASH_STATE_RESET, HAL_OK, HASH_HandleTypeDef::HashBuffSize, HASH_HandleTypeDef::HashInCount, HASH_HandleTypeDef::HashITCounter, HASH_HandleTypeDef::Phase, HASH_HandleTypeDef::State, and HASH_HandleTypeDef::Status.
| __weak void HAL_HASH_MspInit | ( | HASH_HandleTypeDef * | hhash | ) |
#include <stm32f4xx_hal_hash.h>
Initialize the HASH MSP.
| hhash | HASH handle. |
| None |
Definition at line 464 of file stm32f4xx_hal_hash.c.
References UNUSED.
Referenced by HAL_HASH_Init().
| __weak void HAL_HASH_MspDeInit | ( | HASH_HandleTypeDef * | hhash | ) |
#include <stm32f4xx_hal_hash.h>
DeInitialize the HASH MSP.
| hhash | HASH handle. |
| None |
Definition at line 479 of file stm32f4xx_hal_hash.c.
References UNUSED.
Referenced by HAL_HASH_DeInit().
| __weak void HAL_HASH_InCpltCallback | ( | HASH_HandleTypeDef * | hhash | ) |
#include <stm32f4xx_hal_hash.h>
Input data transfer complete call back.
| hhash | HASH handle. |
| None |
Definition at line 500 of file stm32f4xx_hal_hash.c.
References UNUSED.
Referenced by HAL_HASH_Init(), HASH_DMAXferCplt(), HASH_IT(), and HASH_Write_Block_Data().
| __weak void HAL_HASH_DgstCpltCallback | ( | HASH_HandleTypeDef * | hhash | ) |
#include <stm32f4xx_hal_hash.h>
Digest computation complete call back.
| hhash | HASH handle. |
| None |
Definition at line 517 of file stm32f4xx_hal_hash.c.
References UNUSED.
Referenced by HAL_HASH_Init(), and HASH_IT().
| __weak void HAL_HASH_ErrorCallback | ( | HASH_HandleTypeDef * | hhash | ) |
#include <stm32f4xx_hal_hash.h>
Error callback.
| hhash | HASH handle. |
| None |
Definition at line 534 of file stm32f4xx_hal_hash.c.
References UNUSED.
Referenced by HAL_HASH_Init(), HAL_HASH_IRQHandler(), and HASH_DMAError().