R01UH0822EJ0100 Rev.1.00
Page 855 of 1041
Jul 31, 2019
RX13T Group
26. 12-Bit A/D Converter (S12ADF)
Figure 26.15
Flow of Setting the ADGSPCR.PGS Bit
Set the ADGSPCR.PGS bit to 1
Start
End
Is the ADCSR.ADST bit set to 0
(A/D conversion stop state)?
No
YES
To disable trigger input, set the ADSTRGR register to 3F3Fh
(set the TRSA[5:0] bits and the TRSB[5:0] bits to 3Fh and
3Fh, respectively)
Are the ADCSR.ADCS[1:0] bits set to 01b
(group scan mode)?
To disable trigger input, set the ADSTRGR.TRSA[5:0]
bits to 3Fh
No
Yes
Are the ADCSR.ADCS[1:0] bits set to 10b
(continuous scan mode)?
Set the ADCSR.ADST bit to 0
(A/D conversion stop state)
No
Yes
Is the group C used
(ADGCTRGR.GRCE = 1)?
No
Set the ADGCTRGR.TRSC[5:0] bits to 3Fh
Yes
Yes
To disable trigger input, set the ADSTRGR.TRSB[5:0]
bits to 3Fh
Set the ADCSR.ADCS[1:0] bits to 01b
(group scan mode)