Macros
AES Exported Macros
Peripheral Driver » HAL Driver » AES » Defines

## Macros
#define | __HAL_AES_GET_FLAG_IT(__HANDLE__, __FLAG__) (READ_BITS((__HANDLE__)->p_instance->INT, (__FLAG__)) == (__FLAG__))
| Check whether the specified AES interrupt flag is set or not. More...
#define | __HAL_AES_CLEAR_FLAG_IT(__HANDLE__, __FLAG__) SET_BITS((__HANDLE__)->p_instance->INT, (__FLAG__))
| Clear the specified AES interrupt flag. More...
#define | __HAL_AES_GET_FLAG(__HANDLE__, __FLAG__) ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0U) ? SET : RESET)
| Check whether the specified AES flag is set or not. More...

## Detailed Description

## Macro Definition Documentation

## ◆ __HAL_AES_CLEAR_FLAG_IT

#define __HAL_AES_CLEAR_FLAG_IT | ( |  | __HANDLE__,
|  |  | __FLAG__
| ) |  | SET_BITS((__HANDLE__)->p_instance->INT, (__FLAG__))

Clear the specified AES interrupt flag.

Parameters

  __HANDLE__ | Specifies the AES interrupt Handle.
  __FLAG__ | Specifies the flag to clear. This parameter can be the following value: AES_IT_DONE Encrypted or Decrypted Data Done Interrupt

Return values

  None |

Definition at line 288 of file hal_aes.h.

## ◆ __HAL_AES_GET_FLAG

#define __HAL_AES_GET_FLAG | ( |  | __HANDLE__,
|  |  | __FLAG__
| ) |  | ((READ_BITS((__HANDLE__)->p_instance->STAT, (__FLAG__)) != 0U) ? SET : RESET)

Check whether the specified AES flag is set or not.

Parameters

  __HANDLE__ | Specifies the AES Handle.
  __FLAG__ | Specifies the flag to check. This parameter can be one of the following values: AES_FLAG_DATAREADY Data ready flag AES_FLAG_DMA_DONE DMA transfer done flag AES_FLAG_DMA_ERR DMA transfer error flag AES_FLAG_KEY_VALID Key valid flag

Return values

  The | new state of __FLAG__ (TRUE or FALSE).

Definition at line 300 of file hal_aes.h.

## ◆ __HAL_AES_GET_FLAG_IT

#define __HAL_AES_GET_FLAG_IT | ( |  | __HANDLE__,
|  |  | __FLAG__
| ) |  | (READ_BITS((__HANDLE__)->p_instance->INT, (__FLAG__)) == (__FLAG__))

Check whether the specified AES interrupt flag is set or not.

Parameters

  __HANDLE__ | Specifies the AES Handle.
  __FLAG__ | Specifies the interrupt flag to check. This parameter can be the following value: AES_IT_DONE Encrypted or Decrypted Data Done Interrupt

Return values

  The | new state of __FLAG__ (TRUE or FALSE).

Definition at line 279 of file hal_aes.h.