RL78/G1H CHAPTER 13 A/D CONVERTER
R01UH0575EJ0120 Rev. 1.20 Page 302 of 920
Dec 22, 2016
13.3.11 Registers controlling port function of analog input pins
Set up the registers for controlling the functions of the ports shared with the analog input pins of the A/D
converter (port mode registers (PMxx), port mode control registers (PMCxx), and A/D port configuration register
(ADPC)). For details, see 5.3.1 Port mode registers (PMxx), 5.3.6 Port mode control registers (PMCxx), and
5.3.7 A/D port configuration register (ADPC).
When using the ANI0 to ANI2, ANI13, and ANI14 pins for analog input of the A/D converter, set the port mode
register (PMxx) bit corresponding to each port to 1 and select analog input through the A/D port configuration
register (ADPC).
When using the ANI19 pin for analog input of the A/D converter, set the port mode register (PMxx) bit and port
mode control register (PMCxx) bit corresponding to each port to 1.