Registers Controlling Port Function Of Analog Input Pins - Renesas RL78/G1P Hardware User Manual

16-bit single-chip microcontroller
Hide thumbs Also See for RL78/G1P:
Table of Contents

Advertisement

RL78/G1P

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.
R01UH0895EJ0100 Rev.1.00
Nov 29, 2019
CHAPTER 9 A/D CONVERTER
267

Advertisement

Table of Contents
loading

Table of Contents