STM32L4xx_HAL_Driver  1.14.0
Peripheral State functions

Peripheral State functions. More...

Functions

HAL_CRYP_STATETypeDef HAL_CRYP_GetState (CRYP_HandleTypeDef *hcryp)
 Return the CRYP handle state. More...
 
uint32_t HAL_CRYP_GetError (CRYP_HandleTypeDef *hcryp)
 Return the CRYP peripheral error. More...
 

Detailed Description

Peripheral State functions.

  ==============================================================================
                      ##### Peripheral State functions #####
  ==============================================================================
    [..]
    This subsection permits to get in run-time the status of the peripheral.

Function Documentation

◆ HAL_CRYP_GetError()

uint32_t HAL_CRYP_GetError ( CRYP_HandleTypeDef hcryp)

Return the CRYP peripheral error.

Parameters
hcryppointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module
Note
The returned error is a bit-map combination of possible errors
Return values
Errorbit-map

Definition at line 1497 of file stm32l4xx_hal_cryp.c.

1498 {
1499  return hcryp->ErrorCode;
1500 }

◆ HAL_CRYP_GetState()

HAL_CRYP_STATETypeDef HAL_CRYP_GetState ( CRYP_HandleTypeDef hcryp)

Return the CRYP handle state.

Parameters
hcryppointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module
Return values
HALstate

Definition at line 1484 of file stm32l4xx_hal_cryp.c.

1485 {
1486  /* Return CRYP handle state */
1487  return hcryp->State;
1488 }
__IO HAL_CRYP_STATETypeDef State