Datasheet
CHAPTER 4 PORT FUNCTIONS
User’s Manual U18698EJ1V0UD
99
(4) Port function register 1 (PF1)
This register sets the pin functions of P13/TxD0/KR4/<TxD6> pins.
PF1 is set using a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets PF1 to 00H.
Remark The functions within arrowheads (< >) can be assigned by setting the input switch control register
(ISC).
Figure 4-19. Format of Port Function Register 1 (PF1)
Address: FF20H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
PF1 0 0 0 0 PF13 0 0 0
PF13 Port (P13), key interrupt (KR4), UART0, and UART6 output specification
0 Used as P13 or KR4
1 Used as TxD0 or TxD6
(5) Port function register 2 (PF2)
This register sets whether to use pins P20 to P25 as port pins (other than segment output pins) or segment
output pins.
PF2 is set using a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets PF2 to 00H.
Figure 4-20. Format of Port Function Register 2 (PF2)
Address: FFB5H After reset: 00H R/W
Symbol 7 6 5 4 3 2 1 0
PF2 0 0 PF25 PF24 PF23 PF22 PF21 PF20
PF2n Port/segment output specification
0 Used as port (other than segment output)
1 Used as segment output
Remark n = 0 to 5