![ARTERY AT32F435 Series Скачать руководство пользователя страница 369](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592369.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 369
Rev 2.03
Figure 18-14
Regular sim ultaneous m ode
ADC2
ADC1
Sampling
Conversion
ADC1 ordinary
trigger
ADC3
ADC1_IN0
ADC1_IN1
ADC1_IN2
ADC2_IN5
ADC2_IN4
ADC2_IN3
ADC3_IN7
ADC3_IN8
ADC3_IN9
ADC1_IN0
ADC1_IN1
ADC1_IN2
ADC2_IN5
ADC2_IN4
ADC2_IN3
ADC3_IN7
ADC3_IN8
ADC3_IN9
OCCE flag set
Single slave mode
Double slaves mode
ADC1 ordinary
trigger
OCCE flag set
ADC1: OCLEN=2, OSN1=ADC1_IN0, OSN2=ADC1_IN1, OSN3=ADC1_IN2
ADC2: OCLEN=2, OSN1=ADC2_IN5, OSN2=ADC2_IN4, OSN3=ADC2_IN3
ADC3: OCLEN=2, OSN1=ADC3_IN7, OSN2=ADC3_IN8, OSN3=ADC3_IN9
Preempted simultaneous mode
MSSEL bit in the ADC_CTRL1 register is used to select preempted simultaneous mode. If this mode is
enabled, the preempted channels of the master is triggered so that both the master and the slave convert
the preempted channels simultaneously. Figure 18-15 shows an example of the preempted
simultaneous mode
Note: The same channel is not allowed to be sampled by several ADCs simultaneously. Do not put
the same channel in the same sequence location of different ADCs.
Figure 18-15
Regular sim ultaneous m ode
ADC2
ADC1
Sampling
Conversion
ADC1 preempted
trigger
ADC3
ADC1_IN0
ADC1_IN1
ADC1_IN2
ADC2_IN5
ADC2_IN4
ADC2_IN3
ADC3_IN7
ADC3_IN8
ADC3_IN9
ADC1_IN0
ADC1_IN1
ADC1_IN2
ADC2_IN5
ADC2_IN4
ADC2_IN3
ADC3_IN7
ADC3_IN8
ADC3_IN9
PCCE flag set
Single slave mode
Double slaves mode
ADC1 preempted
trigger
PCCE flag set
ADC1: PCLEN=2, PSN2=ADC1_IN0, PSN3=ADC1_IN1, PSN4=ADC1_IN2
ADC2: PCLEN=2, PSN2=ADC2_IN5, PSN3=ADC2_IN4, PSN4=ADC2_IN3
ADC3: PCLEN=2, PSN2=ADC3_IN7, PSN3=ADC3_IN8, PSN4=ADC3_IN9
Combined regular/preempted simultaneous mode
MSSEL bit in the ADC_CTRL1 register is used to select combined regular/preempted simultaneous
mode. If this mode is enabled, the regular channels of the master is triggered so that the master works
with the slave to convert the regular channels simultaneously, or the preempted channels of the master
is triggered to enable the master and slave to convert the preempted channels simultaneously.
18.5.3 Alternate preempted trigger mode
Alternate preempted trigger mode
MSSEL bit in the ADC_CTRL1 register selects the alternate preempted trigger mode. If this mode is
enabled, the preempted channels of the master are triggered continuously so that the master/slave
ADCs convert the preempted channels alternately. Figure 18-16 shows an example of the alternate
preempted trigger mode.