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

Macros

#define DMA_IT_TC   ((uint32_t)0x00000002)
 
#define DMA_IT_HT   ((uint32_t)0x00000004)
 
#define DMA_IT_TE   ((uint32_t)0x00000008)
 
#define IS_DMA_CONFIG_IT(IT)   ((((IT) & 0xFFFFFFF1) == 0x00) && ((IT) != 0x00))
 
#define DMA1_IT_GL1   ((uint32_t)0x00000001)
 
#define DMA1_IT_TC1   ((uint32_t)0x00000002)
 
#define DMA1_IT_HT1   ((uint32_t)0x00000004)
 
#define DMA1_IT_TE1   ((uint32_t)0x00000008)
 
#define DMA1_IT_GL2   ((uint32_t)0x00000010)
 
#define DMA1_IT_TC2   ((uint32_t)0x00000020)
 
#define DMA1_IT_HT2   ((uint32_t)0x00000040)
 
#define DMA1_IT_TE2   ((uint32_t)0x00000080)
 
#define DMA1_IT_GL3   ((uint32_t)0x00000100)
 
#define DMA1_IT_TC3   ((uint32_t)0x00000200)
 
#define DMA1_IT_HT3   ((uint32_t)0x00000400)
 
#define DMA1_IT_TE3   ((uint32_t)0x00000800)
 
#define DMA1_IT_GL4   ((uint32_t)0x00001000)
 
#define DMA1_IT_TC4   ((uint32_t)0x00002000)
 
#define DMA1_IT_HT4   ((uint32_t)0x00004000)
 
#define DMA1_IT_TE4   ((uint32_t)0x00008000)
 
#define DMA1_IT_GL5   ((uint32_t)0x00010000)
 
#define DMA1_IT_TC5   ((uint32_t)0x00020000)
 
#define DMA1_IT_HT5   ((uint32_t)0x00040000)
 
#define DMA1_IT_TE5   ((uint32_t)0x00080000)
 
#define DMA1_IT_GL6   ((uint32_t)0x00100000)
 
#define DMA1_IT_TC6   ((uint32_t)0x00200000)
 
#define DMA1_IT_HT6   ((uint32_t)0x00400000)
 
#define DMA1_IT_TE6   ((uint32_t)0x00800000)
 
#define DMA1_IT_GL7   ((uint32_t)0x01000000)
 
#define DMA1_IT_TC7   ((uint32_t)0x02000000)
 
#define DMA1_IT_HT7   ((uint32_t)0x04000000)
 
#define DMA1_IT_TE7   ((uint32_t)0x08000000)
 
#define DMA2_IT_GL1   ((uint32_t)0x10000001)
 
#define DMA2_IT_TC1   ((uint32_t)0x10000002)
 
#define DMA2_IT_HT1   ((uint32_t)0x10000004)
 
#define DMA2_IT_TE1   ((uint32_t)0x10000008)
 
#define DMA2_IT_GL2   ((uint32_t)0x10000010)
 
#define DMA2_IT_TC2   ((uint32_t)0x10000020)
 
#define DMA2_IT_HT2   ((uint32_t)0x10000040)
 
#define DMA2_IT_TE2   ((uint32_t)0x10000080)
 
#define DMA2_IT_GL3   ((uint32_t)0x10000100)
 
#define DMA2_IT_TC3   ((uint32_t)0x10000200)
 
#define DMA2_IT_HT3   ((uint32_t)0x10000400)
 
#define DMA2_IT_TE3   ((uint32_t)0x10000800)
 
#define DMA2_IT_GL4   ((uint32_t)0x10001000)
 
#define DMA2_IT_TC4   ((uint32_t)0x10002000)
 
#define DMA2_IT_HT4   ((uint32_t)0x10004000)
 
#define DMA2_IT_TE4   ((uint32_t)0x10008000)
 
#define DMA2_IT_GL5   ((uint32_t)0x10010000)
 
#define DMA2_IT_TC5   ((uint32_t)0x10020000)
 
#define DMA2_IT_HT5   ((uint32_t)0x10040000)
 
#define DMA2_IT_TE5   ((uint32_t)0x10080000)
 
#define IS_DMA_CLEAR_IT(IT)   (((((IT) & 0xF0000000) == 0x00) || (((IT) & 0xEFF00000) == 0x00)) && ((IT) != 0x00))
 
#define IS_DMA_GET_IT(IT)
 

Detailed Description

Macro Definition Documentation

#define DMA1_IT_GL1   ((uint32_t)0x00000001)

Definition at line 220 of file stm32f10x_dma.h.

#define DMA1_IT_GL2   ((uint32_t)0x00000010)

Definition at line 224 of file stm32f10x_dma.h.

#define DMA1_IT_GL3   ((uint32_t)0x00000100)

Definition at line 228 of file stm32f10x_dma.h.

#define DMA1_IT_GL4   ((uint32_t)0x00001000)

Definition at line 232 of file stm32f10x_dma.h.

#define DMA1_IT_GL5   ((uint32_t)0x00010000)

Definition at line 236 of file stm32f10x_dma.h.

#define DMA1_IT_GL6   ((uint32_t)0x00100000)

Definition at line 240 of file stm32f10x_dma.h.

#define DMA1_IT_GL7   ((uint32_t)0x01000000)

Definition at line 244 of file stm32f10x_dma.h.

#define DMA1_IT_HT1   ((uint32_t)0x00000004)

Definition at line 222 of file stm32f10x_dma.h.

#define DMA1_IT_HT2   ((uint32_t)0x00000040)

Definition at line 226 of file stm32f10x_dma.h.

#define DMA1_IT_HT3   ((uint32_t)0x00000400)

Definition at line 230 of file stm32f10x_dma.h.

#define DMA1_IT_HT4   ((uint32_t)0x00004000)

Definition at line 234 of file stm32f10x_dma.h.

#define DMA1_IT_HT5   ((uint32_t)0x00040000)

Definition at line 238 of file stm32f10x_dma.h.

#define DMA1_IT_HT6   ((uint32_t)0x00400000)

Definition at line 242 of file stm32f10x_dma.h.

#define DMA1_IT_HT7   ((uint32_t)0x04000000)

Definition at line 246 of file stm32f10x_dma.h.

#define DMA1_IT_TC1   ((uint32_t)0x00000002)

Definition at line 221 of file stm32f10x_dma.h.

#define DMA1_IT_TC2   ((uint32_t)0x00000020)

Definition at line 225 of file stm32f10x_dma.h.

#define DMA1_IT_TC3   ((uint32_t)0x00000200)

Definition at line 229 of file stm32f10x_dma.h.

#define DMA1_IT_TC4   ((uint32_t)0x00002000)

Definition at line 233 of file stm32f10x_dma.h.

#define DMA1_IT_TC5   ((uint32_t)0x00020000)

Definition at line 237 of file stm32f10x_dma.h.

#define DMA1_IT_TC6   ((uint32_t)0x00200000)

Definition at line 241 of file stm32f10x_dma.h.

#define DMA1_IT_TC7   ((uint32_t)0x02000000)

Definition at line 245 of file stm32f10x_dma.h.

#define DMA1_IT_TE1   ((uint32_t)0x00000008)

Definition at line 223 of file stm32f10x_dma.h.

#define DMA1_IT_TE2   ((uint32_t)0x00000080)

Definition at line 227 of file stm32f10x_dma.h.

#define DMA1_IT_TE3   ((uint32_t)0x00000800)

Definition at line 231 of file stm32f10x_dma.h.

#define DMA1_IT_TE4   ((uint32_t)0x00008000)

Definition at line 235 of file stm32f10x_dma.h.

#define DMA1_IT_TE5   ((uint32_t)0x00080000)

Definition at line 239 of file stm32f10x_dma.h.

#define DMA1_IT_TE6   ((uint32_t)0x00800000)

Definition at line 243 of file stm32f10x_dma.h.

#define DMA1_IT_TE7   ((uint32_t)0x08000000)

Definition at line 247 of file stm32f10x_dma.h.

#define DMA2_IT_GL1   ((uint32_t)0x10000001)

Definition at line 249 of file stm32f10x_dma.h.

#define DMA2_IT_GL2   ((uint32_t)0x10000010)

Definition at line 253 of file stm32f10x_dma.h.

#define DMA2_IT_GL3   ((uint32_t)0x10000100)

Definition at line 257 of file stm32f10x_dma.h.

#define DMA2_IT_GL4   ((uint32_t)0x10001000)

Definition at line 261 of file stm32f10x_dma.h.

#define DMA2_IT_GL5   ((uint32_t)0x10010000)

Definition at line 265 of file stm32f10x_dma.h.

#define DMA2_IT_HT1   ((uint32_t)0x10000004)

Definition at line 251 of file stm32f10x_dma.h.

#define DMA2_IT_HT2   ((uint32_t)0x10000040)

Definition at line 255 of file stm32f10x_dma.h.

#define DMA2_IT_HT3   ((uint32_t)0x10000400)

Definition at line 259 of file stm32f10x_dma.h.

#define DMA2_IT_HT4   ((uint32_t)0x10004000)

Definition at line 263 of file stm32f10x_dma.h.

#define DMA2_IT_HT5   ((uint32_t)0x10040000)

Definition at line 267 of file stm32f10x_dma.h.

#define DMA2_IT_TC1   ((uint32_t)0x10000002)

Definition at line 250 of file stm32f10x_dma.h.

#define DMA2_IT_TC2   ((uint32_t)0x10000020)

Definition at line 254 of file stm32f10x_dma.h.

#define DMA2_IT_TC3   ((uint32_t)0x10000200)

Definition at line 258 of file stm32f10x_dma.h.

#define DMA2_IT_TC4   ((uint32_t)0x10002000)

Definition at line 262 of file stm32f10x_dma.h.

#define DMA2_IT_TC5   ((uint32_t)0x10020000)

Definition at line 266 of file stm32f10x_dma.h.

#define DMA2_IT_TE1   ((uint32_t)0x10000008)

Definition at line 252 of file stm32f10x_dma.h.

#define DMA2_IT_TE2   ((uint32_t)0x10000080)

Definition at line 256 of file stm32f10x_dma.h.

#define DMA2_IT_TE3   ((uint32_t)0x10000800)

Definition at line 260 of file stm32f10x_dma.h.

#define DMA2_IT_TE4   ((uint32_t)0x10008000)

Definition at line 264 of file stm32f10x_dma.h.

#define DMA2_IT_TE5   ((uint32_t)0x10080000)

Definition at line 268 of file stm32f10x_dma.h.

#define DMA_IT_HT   ((uint32_t)0x00000004)

Definition at line 216 of file stm32f10x_dma.h.

#define DMA_IT_TC   ((uint32_t)0x00000002)

Definition at line 215 of file stm32f10x_dma.h.

#define DMA_IT_TE   ((uint32_t)0x00000008)

Definition at line 217 of file stm32f10x_dma.h.

#define IS_DMA_CLEAR_IT (   IT)    (((((IT) & 0xF0000000) == 0x00) || (((IT) & 0xEFF00000) == 0x00)) && ((IT) != 0x00))

Definition at line 270 of file stm32f10x_dma.h.

#define IS_DMA_CONFIG_IT (   IT)    ((((IT) & 0xFFFFFFF1) == 0x00) && ((IT) != 0x00))

Definition at line 218 of file stm32f10x_dma.h.

#define IS_DMA_GET_IT (   IT)
Value:
(((IT) == DMA1_IT_GL1) || ((IT) == DMA1_IT_TC1) || \
((IT) == DMA1_IT_HT1) || ((IT) == DMA1_IT_TE1) || \
((IT) == DMA1_IT_GL2) || ((IT) == DMA1_IT_TC2) || \
((IT) == DMA1_IT_HT2) || ((IT) == DMA1_IT_TE2) || \
((IT) == DMA1_IT_GL3) || ((IT) == DMA1_IT_TC3) || \
((IT) == DMA1_IT_HT3) || ((IT) == DMA1_IT_TE3) || \
((IT) == DMA1_IT_GL4) || ((IT) == DMA1_IT_TC4) || \
((IT) == DMA1_IT_HT4) || ((IT) == DMA1_IT_TE4) || \
((IT) == DMA1_IT_GL5) || ((IT) == DMA1_IT_TC5) || \
((IT) == DMA1_IT_HT5) || ((IT) == DMA1_IT_TE5) || \
((IT) == DMA1_IT_GL6) || ((IT) == DMA1_IT_TC6) || \
((IT) == DMA1_IT_HT6) || ((IT) == DMA1_IT_TE6) || \
((IT) == DMA1_IT_GL7) || ((IT) == DMA1_IT_TC7) || \
((IT) == DMA1_IT_HT7) || ((IT) == DMA1_IT_TE7) || \
((IT) == DMA2_IT_GL1) || ((IT) == DMA2_IT_TC1) || \
((IT) == DMA2_IT_HT1) || ((IT) == DMA2_IT_TE1) || \
((IT) == DMA2_IT_GL2) || ((IT) == DMA2_IT_TC2) || \
((IT) == DMA2_IT_HT2) || ((IT) == DMA2_IT_TE2) || \
((IT) == DMA2_IT_GL3) || ((IT) == DMA2_IT_TC3) || \
((IT) == DMA2_IT_HT3) || ((IT) == DMA2_IT_TE3) || \
((IT) == DMA2_IT_GL4) || ((IT) == DMA2_IT_TC4) || \
((IT) == DMA2_IT_HT4) || ((IT) == DMA2_IT_TE4) || \
((IT) == DMA2_IT_GL5) || ((IT) == DMA2_IT_TC5) || \
((IT) == DMA2_IT_HT5) || ((IT) == DMA2_IT_TE5))

Definition at line 272 of file stm32f10x_dma.h.