STM8L15x Standard Peripherals Drivers: DMA_Interrupts

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

Defines

#define IS_DMA_CLEAR_IT(IT)
#define IS_DMA_GET_IT(IT)

Enumerations

enum  DMA_IT_TypeDef {
  DMA1_IT_TC0 = ((uint8_t)0x12), DMA1_IT_TC1 = ((uint8_t)0x22), DMA1_IT_TC2 = ((uint8_t)0x42), DMA1_IT_TC3 = ((uint8_t)0x82),
  DMA1_IT_HT0 = ((uint8_t)0x14), DMA1_IT_HT1 = ((uint8_t)0x24), DMA1_IT_HT2 = ((uint8_t)0x44), DMA1_IT_HT3 = ((uint8_t)0x84)
}

Define Documentation

#define IS_DMA_CLEAR_IT (   IT)
Value:
(((IT) == DMA1_IT_TC0) || \
                             ((IT) == DMA1_IT_TC1) || \
                             ((IT) == DMA1_IT_TC2) || \
                             ((IT) == DMA1_IT_TC3) || \
                             ((IT) == DMA1_IT_HT0) || \
                             ((IT) == DMA1_IT_HT1) || \
                             ((IT) == DMA1_IT_HT2) || \
                             ((IT) == DMA1_IT_HT3) || \
                             ((IT) == (DMA1_IT_TC0|DMA1_IT_HT0)) || \
                             ((IT) == (DMA1_IT_TC1|DMA1_IT_HT1)) || \
                             ((IT) == (DMA1_IT_TC2|DMA1_IT_HT2)) || \
                             ((IT) == (DMA1_IT_TC3|DMA1_IT_HT3)))

Definition at line 226 of file stm8l15x_dma.h.

Referenced by DMA_ClearITPendingBit().

#define IS_DMA_GET_IT (   IT)
Value:
(((IT) == DMA1_IT_TC0) || \
                          ((IT) == DMA1_IT_TC1) || \
                          ((IT) == DMA1_IT_TC2) || \
                          ((IT) == DMA1_IT_TC3) || \
                          ((IT) == DMA1_IT_HT0) || \
                          ((IT) == DMA1_IT_HT1) || \
                          ((IT) == DMA1_IT_HT2) || \
                          ((IT) == DMA1_IT_HT3))

Definition at line 239 of file stm8l15x_dma.h.

Referenced by DMA_GetITStatus().


Enumeration Type Documentation

Enumerator:
DMA1_IT_TC0 

Transaction Complete Interrupt Channel 0

DMA1_IT_TC1 

Transaction Complete Interrupt Channel 1

DMA1_IT_TC2 

Transaction Complete Interrupt Channel 2

DMA1_IT_TC3 

Transaction Complete Interrupt Channel 3

DMA1_IT_HT0 

Half Transaction Interrupt Channel 0

DMA1_IT_HT1 

Half Transaction Interrupt Channel 1

DMA1_IT_HT2 

Half Transaction Interrupt Channel 2

DMA1_IT_HT3 

Half Transaction Interrupt Channel 3

Definition at line 212 of file stm8l15x_dma.h.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com