__HAL_HASH_GET_FLAG macro
Check whether or not the specified HASH flag is set.
Syntax
#define __HAL_HASH_GET_FLAG(__FLAG__) (((__FLAG__) > 8U) ? \
((HASH->CR & (__FLAG__)) == (__FLAG__)) :\
((HASH->SR & (__FLAG__)) == (__FLAG__)) )
Arguments
__FLAG__
specifies the flag to check. This parameter can be one of the following values: @arg
HASH_FLAG_DINIS
A new block can be entered into the input buffer. @arg
HASH_FLAG_DCIS
Digest calculation complete. @arg
HASH_FLAG_DMAS
DMA interface is enabled (DMAE=1) or a transfer is ongoing. @arg
HASH_FLAG_BUSY
The hash core is Busy : processing a block of data. @arg
HASH_FLAG_DINNE
DIN not empty : the input buffer contains at least one word of data.
Return value
The new state of __FLAG__ (TRUE or FALSE).