R01UH0822EJ0100 Rev.1.00
Page 853 of 1041
Jul 31, 2019
RX13T Group
26. 12-Bit A/D Converter (S12ADF)
(1) Scanning of group C is started by the TRGA1N trigger from the MTU.
(2) When group C scanning is completed, a group C scan interrupt is generated if the ADGCTRGR.GCADIE bit is 1
(interrupt generation upon group C scan completion enabled).
(3) Scanning of group B is started by the TRGA0N trigger from the MTU.
(4) When group B scanning is completed, a group B scan end interrupt is generated if the ADCSR.GBADIE bit is 1
(interrupt generation upon group B scan enabled).
(5) The first scanning of group A is started by the first TRG4ABN trigger from the MTU.
(6) When the first scanning of group A is completed, the conversion result is stored into the corresponding A/D data
register (ADDRy); a scan end interrupt request is not generated irrespective of the ADIE bit setting in ADCSR.
(7) The second scanning of group A is started by the second TRG4ABN trigger from the MTU.
(8) When the second scanning of group A is completed, the conversion result is stored into ADDBLDR. a scan end
interrupt is generated if the ADCSR.ADIE bit is 1 (interrupt generation upon scanning completion enabled).
(9) The second scanning of group B is started by the second TRGA0N trigger from the MTU.
(10) When the second scanning of group B is completed, a group B scan interrupt is generated if the ADCSR.GBADIE
bit is 1 (interrupt generation upon group B scan completion enabled).
(11) The second scanning of group C is started by the second TRGA1N trigger from the MTU.
(12) When the second scanning of group C is completed, a group C scan interrupt is generated if the
ADGCTRGR.GCADIE bit is 1 (interrupt generation upon group C scan completion enabled).
Figure 26.14
Example of Operation in Group Scan Mode with Double Trigger Mode
(Basic Operation: Synchronous Triggers from MTU Used)
MTU (TRG4ABN)
event
MTU (TRGA0N)
event
TRGA0N
TRG4ABN
MTU (TRGA1N)
event
TRGA1N
Double trigger mode
Group B scanned
Timer count
(1)
Group A scanned
(2)
Time
Group A scanned
Group C scanned
Group B scanned
Group C scanned
(3)
(4)
(5)
(7)
(6)
(8)
(9)
(10)
(11)
(12)
Scan end interrupt
Group B Scan end
Interrupt
Group C Scan end
Interrupt