RL78/F13, F14 CHAPTER 4 PORT FUNCTIONS
R01UH0368EJ0210 Rev.2.10 221
Dec 10, 2015
Remark ï‚´: Don't care
PM3x: Port mode register 3
PIM3x: Port input mode register 3
PITHL3x: Port input threshold control register 3
Table 4-6. Settings of Registers When Using Port 3 (P33 and P34) (2)
Pin Name PM3x ADPC Alternate Function Setting Remark
Name I/O
P3n Input 1 01 to n-2H

To use P3n as a port, use these pins
from the upper bit.
Output 0 01 to n-2H
Remarks 1. PM3x: Port mode register 3
ADPC: A/D port configuration register
2. n = 3 or 4
Table 4-7. Setting Functions of P33/ANI0 and P34/ANI1 Pins
ADPC Register PM3 Register ADS Register P33/ANI0 and P34/ANI1 Pins
Digital I/O selection Input mode

Digital input
Output mode

Digital output
Analog input selection Input mode Selects ANI. Analog input (to be converted)
Does not select ANI. Analog input (not to be converted)
Output mode Selects ANI. Setting prohibited
Does not select ANI.
Reset signal generation sets P33/ANI0 and P34/ANI1 to analog input mode.