STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
CRYP IRQ handler. More...
Functions | |
void | HAL_CRYP_IRQHandler (CRYP_HandleTypeDef *hcryp) |
This function handles cryptographic interrupt request. | |
HAL_CRYP_STATETypeDef | HAL_CRYP_GetState (CRYP_HandleTypeDef *hcryp) |
Returns the CRYP state. | |
void | HAL_CRYP_InCpltCallback (CRYP_HandleTypeDef *hcryp) |
Input FIFO transfer completed callback. | |
void | HAL_CRYP_OutCpltCallback (CRYP_HandleTypeDef *hcryp) |
Output FIFO transfer completed callback. | |
void | HAL_CRYP_ErrorCallback (CRYP_HandleTypeDef *hcryp) |
CRYP error callback. | |
uint32_t | HAL_CRYP_GetError (CRYP_HandleTypeDef *hcryp) |
Return the CRYP error code. | |
CRYP IRQ handler.
============================================================================== ##### CRYP IRQ handler management ##### ============================================================================== [..] This section provides CRYP IRQ handler and callback functions. (+) HAL_CRYP_IRQHandler CRYP interrupt request (+) HAL_CRYP_InCpltCallback input data transfer complete callback (+) HAL_CRYP_OutCpltCallback output data transfer complete callback (+) HAL_CRYP_ErrorCallback CRYP error callback (+) HAL_CRYP_GetState return the CRYP state (+) HAL_CRYP_GetError return the CRYP error code
void HAL_CRYP_IRQHandler | ( | CRYP_HandleTypeDef * | hcryp | ) |
#include <stm32f4xx_hal_cryp.h>
This function handles cryptographic interrupt request.
hcryp | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module |
None |
Definition at line 2035 of file stm32f4xx_hal_cryp.c.
References __HAL_CRYP_CLEAR_FLAG, __HAL_CRYP_GET_FLAG, __HAL_CRYP_GET_IT_SOURCE, CRYP_ConfigTypeDef::Algorithm, CRYP_AES_CBC, CRYP_AES_CCM, CRYP_AES_CTR, CRYP_AES_ECB, CRYP_AES_GCM_GMAC, CRYP_AES_IT(), CRYP_CCF_CLEAR, CRYP_GCMCCM_SetHeaderPhase_IT(), CRYP_GCMCCM_SetPayloadPhase_IT(), CRYP_IT_CCF, CRYP_IT_CCFIE, CRYP_IT_ERRIE, CRYP_IT_RDERR, CRYP_IT_WRERR, CRYP_PHASE_HEADER, __CRYP_HandleTypeDef::CrypHeaderCount, __CRYP_HandleTypeDef::ErrorCode, HAL_CRYP_ERROR_READ, HAL_CRYP_ERROR_WRITE, CRYP_ConfigTypeDef::HeaderSize, __CRYP_HandleTypeDef::Init, and __CRYP_HandleTypeDef::Instance.
HAL_CRYP_STATETypeDef HAL_CRYP_GetState | ( | CRYP_HandleTypeDef * | hcryp | ) |
#include <stm32f4xx_hal_cryp.h>
Returns the CRYP state.
hcryp | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. |
HAL | state |
Definition at line 2148 of file stm32f4xx_hal_cryp.c.
References __CRYP_HandleTypeDef::State.
__weak void HAL_CRYP_InCpltCallback | ( | CRYP_HandleTypeDef * | hcryp | ) |
#include <stm32f4xx_hal_cryp.h>
Input FIFO transfer completed callback.
hcryp | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. |
None |
Definition at line 2159 of file stm32f4xx_hal_cryp.c.
References UNUSED.
Referenced by CRYP_AES_IT(), CRYP_AESGCM_Process_IT(), CRYP_DMAInCplt(), CRYP_GCMCCM_SetHeaderPhase_IT(), CRYP_GCMCCM_SetPayloadPhase_IT(), and HAL_CRYP_Init().
__weak void HAL_CRYP_OutCpltCallback | ( | CRYP_HandleTypeDef * | hcryp | ) |
#include <stm32f4xx_hal_cryp.h>
Output FIFO transfer completed callback.
hcryp | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. |
None |
Definition at line 2175 of file stm32f4xx_hal_cryp.c.
References UNUSED.
Referenced by CRYP_AES_IT(), CRYP_DMAOutCplt(), CRYP_GCMCCM_SetPayloadPhase_IT(), and HAL_CRYP_Init().
__weak void HAL_CRYP_ErrorCallback | ( | CRYP_HandleTypeDef * | hcryp | ) |
#include <stm32f4xx_hal_cryp.h>
CRYP error callback.
hcryp | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. |
None |
Definition at line 2191 of file stm32f4xx_hal_cryp.c.
References UNUSED.
Referenced by CRYP_AES_IT(), CRYP_AES_ProcessData(), CRYP_DMAError(), CRYP_SetDMAConfig(), CRYP_Workaround(), and HAL_CRYP_Init().
uint32_t HAL_CRYP_GetError | ( | CRYP_HandleTypeDef * | hcryp | ) |
#include <stm32f4xx_hal_cryp.h>
Return the CRYP error code.
hcryp | : pointer to a CRYP_HandleTypeDef structure that contains the configuration information for the CRYP IP |
CRYP | error code |
Definition at line 2137 of file stm32f4xx_hal_cryp.c.
References __CRYP_HandleTypeDef::ErrorCode.