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

Macros

#define CRYP_FLAG_BUSY   ((uint8_t)0x10)
 
#define CRYP_FLAG_IFEM   ((uint8_t)0x01)
 
#define CRYP_FLAG_IFNF   ((uint8_t)0x02)
 
#define CRYP_FLAG_INRIS   ((uint8_t)0x22)
 
#define CRYP_FLAG_OFNE   ((uint8_t)0x04)
 
#define CRYP_FLAG_OFFU   ((uint8_t)0x08)
 
#define CRYP_FLAG_OUTRIS   ((uint8_t)0x21)
 
#define IS_CRYP_GET_FLAG(FLAG)
 

Detailed Description

Macro Definition Documentation

#define CRYP_FLAG_BUSY   ((uint8_t)0x10)

The CRYP core is currently processing a block of data or a key preparation (for AES decryption).

#define CRYP_FLAG_IFEM   ((uint8_t)0x01)

Input Fifo Empty

#define CRYP_FLAG_IFNF   ((uint8_t)0x02)

Input Fifo is Not Full

#define CRYP_FLAG_INRIS   ((uint8_t)0x22)

Raw interrupt pending

#define CRYP_FLAG_OFFU   ((uint8_t)0x08)

Output Fifo is Full

#define CRYP_FLAG_OFNE   ((uint8_t)0x04)

Input Fifo service raw interrupt status

#define CRYP_FLAG_OUTRIS   ((uint8_t)0x21)

Output Fifo service raw interrupt status

#define IS_CRYP_GET_FLAG (   FLAG)
Value:
(((FLAG) == CRYP_FLAG_IFEM) || \
((FLAG) == CRYP_FLAG_IFNF) || \
((FLAG) == CRYP_FLAG_OFNE) || \
((FLAG) == CRYP_FLAG_OFFU) || \
((FLAG) == CRYP_FLAG_BUSY) || \
((FLAG) == CRYP_FLAG_OUTRIS)|| \
((FLAG) == CRYP_FLAG_INRIS))