![Geehy SEMICONDUCTOR APM32F405 Series Скачать руководство пользователя страница 623](http://html1.mh-extra.com/html/geehy-semiconductor/apm32f405-series/apm32f405-series_user-manual_573630623.webp)
www.geehy.com Page 622
Trigger source
INJGEXTTRGSEL[3:0]
Trigger type
TMR4_CC3
1000
TMR4_TRGO
1001
TMR5_CC4
1010
TMR5_TRGO
1011
TMR8_CC2
1100
TMR8_CC3
1101
TMR8_CC4
1110
EINT Line 15
1111
External pin
Data register
Regular data register
ADC_REGDATA is a 32-bit ADC regular data register. In single-ADC mode, only
the lower 16 bits are used to store the converted data. In dual-ADC mode, the
lower 16 bits are used to store the converted data of ADC1 while the higher 16
bits are used to store the converted data of ADC2. The data are left aligned or
right aligned.
It is determined by DALIGNCFG bit of configuration register ADC_CTRL2
whether to use DMA transmission. There are at most 16 regular channels, but
only one regular data register. Therefore, data coverage will occur in multi-
channel conversion, and DMA transmission is needed at this time.
Injection data memory
ADC_INJDATAx (x=1,2,3,4) is ADC injected data register, and there are four 32-
bit registers, of which the low 16 bits are effective and the high 16 bits are
reserved. There are at most four injected channels and four injection data
registers, so data coverage will not occur in multi-channel conversion. The data
are left aligned or right aligned.
General regular data memory
ADC_ CDATA is a general regular data register of ADC, and is only applicable to
dual or triple mode. DMA is generally required to cooperate with data
transmission in dual or triple mode.
Interrupt
End of conversion interrupt
Interrupt of end of conversion of regular group channels
An interrupt will be generated by the end of conversion of regular channels;
read the value of the regular data register in the interrupt function.