English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (192/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 4 PORT FUNCTIONS
4.2.16 Port 15
<R>
P150/ANI8/AMP2+
P151/ANI9
P152/ANI10
P157/ANI15/AVREFM
μ PD78F150xA
78K0R/LF3 78K0R/LG3 78K0R/LH3
(80 pins)
(100 pins) (128 pins)
−
√
−
√
−
√
√
78K0R/LF3
(80 pins)
−
−
−
μ PD78F151xA
78K0R/LG3 78K0R/LH3
(100 pins)
(128 pins)
P150/ANI8
√
√
P157/ANI15
Port 15 is an I/O port with an output latch. Port 15 can be set to the input mode or output mode in 1-bit units using port
mode register 15 (PM15).
This port can also be used for A/D converter analog input, reference voltage input, and operational amplifier input.
To use P150/ANI8/AMP2+ to P152/ANI10, P157/ANI15/AVREFM as digital input pins, set them in the digital I/O mode by
using the A/D port configuration register (ADPC) and in the input mode by using PM15. Use these pins starting from the
lower bit.
To use P150/ANI8/AMP2+ to P152/ANI10, P157/ANI15/AVREFM as digital output pins, set them in the digital I/O mode
by using ADPC and in the output mode by using PM15.
All P150/ANI8/AMP2+ to P152/ANI10, P157/ANI15/AVREFM are set in the digital input mode when the reset signal is
generated.
Figures 4-35 to 4-37 show block diagrams of port 15.
Caution Make the AVDD0 pin the same potential as the EVDD or VDD pin when port 15 is used as a digital port.
Table 4-8. Setting Functions of ANI8/AMP2+/P150 Pins
ADPC register PM2 and PM15
registers
OAENn bit
Digital I/O
Input mode
0
selection
1
Output mode 0
1
Analog input Input mode
0
selection
ADS register
−
−
−
−
Selects ANI.
Does not select ANI.
1
Output mode
−
Selects ANI.
Does not select ANI.
−
ANI8/AMP2+/P150 Pins
Digital input
Setting prohibited
Digital output
Setting prohibited
Analog input (to be A/D converted)
Analog input (not to be A/D
converted)
Setting prohibited
Operational amplifier input
Setting prohibited
R01UH0004EJ0501 Rev.5.01
176
Jun 20, 2011