STM32F2 Standard Peripheral bibliotheek  1.0
ST Microelectronics bibliotheek documentatie voor de STM32F2 Standard Peripheral Library
 All Data Structures Files Functions Variables Enumerations Enumerator Groups
HASH_flags_definition

Macros

#define HASH_FLAG_DINIS   ((uint16_t)0x0001)
 
#define HASH_FLAG_DCIS   ((uint16_t)0x0002)
 
#define HASH_FLAG_DMAS   ((uint16_t)0x0004)
 
#define HASH_FLAG_BUSY   ((uint16_t)0x0008)
 
#define HASH_FLAG_DINNE   ((uint16_t)0x1000)
 
#define IS_HASH_GET_FLAG(FLAG)
 
#define IS_HASH_CLEAR_FLAG(FLAG)
 

Detailed Description

Macro Definition Documentation

#define HASH_FLAG_BUSY   ((uint16_t)0x0008)

The hash core is Busy : processing a block of data

#define HASH_FLAG_DCIS   ((uint16_t)0x0002)

Digest calculation complete

#define HASH_FLAG_DINIS   ((uint16_t)0x0001)

16 locations are free in the DIN : A new block can be entered into the input buffer.

#define HASH_FLAG_DINNE   ((uint16_t)0x1000)

DIN not empty : The input buffer contains at least one word of data

#define HASH_FLAG_DMAS   ((uint16_t)0x0004)

DMA interface is enabled (DMAE=1) or a transfer is ongoing

#define IS_HASH_CLEAR_FLAG (   FLAG)
Value:
(((FLAG) == HASH_FLAG_DINIS) || \
((FLAG) == HASH_FLAG_DCIS))
#define IS_HASH_GET_FLAG (   FLAG)
Value:
(((FLAG) == HASH_FLAG_DINIS) || \
((FLAG) == HASH_FLAG_DCIS) || \
((FLAG) == HASH_FLAG_DMAS) || \
((FLAG) == HASH_FLAG_BUSY) || \
((FLAG) == HASH_FLAG_DINNE))