DMA controller (DMA)
9.3.5
Interrupts
An interrupt can be produced on a Half-transfer, Transfer complete or Transfer error for each
DMA channel. Separate interrupt enable bits are available for flexibility.
Table 38.
Half-transfer
Transfer complete
Transfer error
Note:
In high-density devices DMA2 Channel4 and DMA2 Channel5 interrupts are mapped onto
the same interrupt vector. All other DMA1 and DMA2 Channel interrupts have their own
interrupt vector.
9.3.6
DMA request mapping
DMA1 controller
The 7 requests from the peripherals (TIMx[1,2,3,4], ADC1, SPI1, SPI/I2S2, I2Cx[1,2] and
USARTx[1,2,3]) are simply logically ORed before entering DMA1, this means that only one
request must be enabled at a time. Refer to
The peripheral DMA requests can be independently activated/de-activated by programming
the DMA control bit in the registers of the corresponding peripheral.
138/690
DMA interrupt requests
Interrupt event
Event flag
HTIF
TCIF
TEIF
Figure 19: DMA1 request
RM0008
Enable Control bit
HTIE
TCIE
TEIE
mapping.
Need help?
Do you have a question about the STM32F102 Series and is the answer not in the manual?
Questions and answers