R01UH0823EJ0100 Rev.1.00
Page 1613 of 1823
Jul 31, 2019
RX23W Group
44. 12-Bit A/D Converter (S12ADE)
44.5
Event Link Function
44.5.1
Event Output to the ELC
The ELC uses the S12ADI0 interrupt request signal as an event signal (S12ADELC), enabling link operation for the
preset module. An event signal is generated under the conditions set by the event link control bits
(ADELCCR.ELCC[1:0] bits).
The event signal can be output regardless of the setting of the corresponding interrupt request enable bit.
The 12-bit A/D converter outputs the A/D conversion end event (S12ADELC), window function compare match event
(S12ADWMELC), and mismatch event (S12ADWUMELC).
The scan end event (S12ADELC) is output to the ELC at the same time as the interrupt output (S12ADI0) regardless of
the ADCSR.ADIE setting.
The compare match/mismatch event (S12ADWMELC/S12ADWUMELC) is output to the ELC with a delay of one
PCLK cycle from the interrupt output (S12ADI0) regardless of the ADCSR.ADIE setting.
When using compare match/mismatch events (S12ADWMELC/S12ADWUMELC) to the ELC, specify single scan
mode.
44.5.2
12-Bit A/D Converter Operation by Event from the ELC
The 12-bit A/D converter can be started by the predetermined event by setting ELSRn of the ELC.
44.5.3
Note on 12-Bit A/D Converter When an Event Is Input from the ELC
If an event occurs during A/D conversion, the event is disabled.
44.6
Selecting Reference Voltage
For the A/D converter, the high-potential reference voltage can be selected from VREFH0 and AVCC0, and the low-
potential reference voltage can be selected from VREFL0 and AVSS0, respectively. Set these before starting A/D
conversion. For details of this setting, see
section 44.2.30, A/D High-Potential/Low-Potential Reference Voltage