uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
CEC_flags_definition

Macros

#define CEC_FLAG_BTE   ((uint32_t)0x10010000)
 ESR register flags. More...
 
#define CEC_FLAG_BPE   ((uint32_t)0x10020000)
 
#define CEC_FLAG_RBTFE   ((uint32_t)0x10040000)
 
#define CEC_FLAG_SBE   ((uint32_t)0x10080000)
 
#define CEC_FLAG_ACKE   ((uint32_t)0x10100000)
 
#define CEC_FLAG_LINE   ((uint32_t)0x10200000)
 
#define CEC_FLAG_TBTFE   ((uint32_t)0x10400000)
 
#define CEC_FLAG_TEOM   ((uint32_t)0x00000002)
 CSR register flags. More...
 
#define CEC_FLAG_TERR   ((uint32_t)0x00000004)
 
#define CEC_FLAG_TBTRF   ((uint32_t)0x00000008)
 
#define CEC_FLAG_RSOM   ((uint32_t)0x00000010)
 
#define CEC_FLAG_REOM   ((uint32_t)0x00000020)
 
#define CEC_FLAG_RERR   ((uint32_t)0x00000040)
 
#define CEC_FLAG_RBTF   ((uint32_t)0x00000080)
 
#define IS_CEC_CLEAR_FLAG(FLAG)   ((((FLAG) & (uint32_t)0xFFFFFF03) == 0x00) && ((FLAG) != 0x00))
 
#define IS_CEC_GET_FLAG(FLAG)
 

Detailed Description

Macro Definition Documentation

#define CEC_FLAG_ACKE   ((uint32_t)0x10100000)

Definition at line 133 of file stm32f10x_cec.h.

#define CEC_FLAG_BPE   ((uint32_t)0x10020000)

Definition at line 130 of file stm32f10x_cec.h.

#define CEC_FLAG_BTE   ((uint32_t)0x10010000)

ESR register flags.

Definition at line 129 of file stm32f10x_cec.h.

#define CEC_FLAG_LINE   ((uint32_t)0x10200000)

Definition at line 134 of file stm32f10x_cec.h.

#define CEC_FLAG_RBTF   ((uint32_t)0x00000080)

Definition at line 146 of file stm32f10x_cec.h.

#define CEC_FLAG_RBTFE   ((uint32_t)0x10040000)

Definition at line 131 of file stm32f10x_cec.h.

#define CEC_FLAG_REOM   ((uint32_t)0x00000020)

Definition at line 144 of file stm32f10x_cec.h.

#define CEC_FLAG_RERR   ((uint32_t)0x00000040)

Definition at line 145 of file stm32f10x_cec.h.

#define CEC_FLAG_RSOM   ((uint32_t)0x00000010)

Definition at line 143 of file stm32f10x_cec.h.

#define CEC_FLAG_SBE   ((uint32_t)0x10080000)

Definition at line 132 of file stm32f10x_cec.h.

#define CEC_FLAG_TBTFE   ((uint32_t)0x10400000)

Definition at line 135 of file stm32f10x_cec.h.

#define CEC_FLAG_TBTRF   ((uint32_t)0x00000008)

Definition at line 142 of file stm32f10x_cec.h.

#define CEC_FLAG_TEOM   ((uint32_t)0x00000002)

CSR register flags.

Definition at line 140 of file stm32f10x_cec.h.

#define CEC_FLAG_TERR   ((uint32_t)0x00000004)

Definition at line 141 of file stm32f10x_cec.h.

#define IS_CEC_CLEAR_FLAG (   FLAG)    ((((FLAG) & (uint32_t)0xFFFFFF03) == 0x00) && ((FLAG) != 0x00))

Definition at line 148 of file stm32f10x_cec.h.

#define IS_CEC_GET_FLAG (   FLAG)
Value:
(((FLAG) == CEC_FLAG_BTE) || ((FLAG) == CEC_FLAG_BPE) || \
((FLAG) == CEC_FLAG_RBTFE) || ((FLAG)== CEC_FLAG_SBE) || \
((FLAG) == CEC_FLAG_ACKE) || ((FLAG) == CEC_FLAG_LINE) || \
((FLAG) == CEC_FLAG_TBTFE) || ((FLAG) == CEC_FLAG_TEOM) || \
((FLAG) == CEC_FLAG_TERR) || ((FLAG) == CEC_FLAG_TBTRF) || \
((FLAG) == CEC_FLAG_RSOM) || ((FLAG) == CEC_FLAG_REOM) || \
((FLAG) == CEC_FLAG_RERR) || ((FLAG) == CEC_FLAG_RBTF))

Definition at line 150 of file stm32f10x_cec.h.