R01UH0823EJ0100 Rev.1.00
Page 1629 of 1823
Jul 31, 2019
RX23W Group
45. 12-Bit D/A Converter (R12DAA)
45.4
Event Link Operation Setting Procedure
The event link operation procedure is described below.
(1) Set the DADPR.DPSEL bit and set the data for D/A conversion in the DADR0 register.
(2) Set the bit value of the ELSR16 setting event signal to link the ELSR16 register of the ELC.
(3) Set the ELCR.ELCON bit to 1. This procedure enables event link operation for all modules with the event link
function selected.
(4) Set the event output source module to activate the event link. After the event is output from the module, the
DACR.DAOE0 bit becomes 1, and D/A conversion on channel 0 starts.
(5) Set the ELSR16.ELS[7:0] bits to 0000 0000b to stop event link operation of 12-bit D/A converter channel 0. All
event link operation is stopped when the ELCR.ELCON bit is set to 0.
45.5
Usage Notes on Event Link Operation
(1) When the event specified by the ELSR16 register is generated while the write cycle is performed to the
DACR.DAOE0 bit, the write cycle is stopped, and the setting to 1 by the generated event takes precedence.
(2) Use of the event link function is prohibited when the DAADSCR.DAADST bit is set to 1 as the measure against an
interfere between D/A and A/D conversions.