CHAPTER 4 PORT FUNCTIONS
(d) Port 5 function register 5 (PF5)
This is an 8-bit register that specifies normal output/N-ch open-drain output.
This register can be read/written in 8-bit or 1-bit units.
After Reset: 00H
R/W
0
Address: FFFFFC6AH
PF5
0
PF55
PF54
0
0
0
0
PF5n
Control of normal output/N-ch open-drain output (n = 4, 5)
0
1
Normal output
N-ch open-drain output
Cautions 1. Always set PF5 register bits 0 to 3, 6, and 7 to 0.
2. When using P54 and P55 as N-ch open-drain-output alternate-function pins, set in
the following sequence.
Be sure to set the port latch to 1 before setting the pin to N-ch open-drain output.
P5n bit = 1 → PF5n bit = 1 → PMC5n bit = 1
175
User’s Manual U15862EJ3V0UD