RL78/G1P
CHAPTER 9 A/D CONVERTER
R01UH0895EJ0100 Rev.1.00
267
Nov 29, 2019
9.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 1 (PMC1), and A/D port configuration register (ADPC)). For details,
see
4.3.1 Port mode registers (PMxx), 4.3.4 Port mode control register 1 (PMC1) (24-pin products only), and 4.3.5
A/D port configuration register (ADPC)
.
When using the ANI0 to ANI7 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 ANI16 pin for analog input of the A/D converter, set the port mode register (PMxx) bit and port mode
control register 1 (PMC1) bit corresponding to each port to 1.