Datasheet
CHAPTER 14 SERIAL INTERFACE UART6
User’s Manual U18698EJ1V0UD
351
Caution When using the P113/SEG7/RxD6 pin as the P113 or RxD6 pin, set PF11ALL to 0 and ISC3 to 1,
after release of reset.
When using the P113/SEG7/RxD6 pin as the SEG7 pin, set PF11ALL to 1 and ISC3 to 0, after
release of reset.
(8) Port function register 1 (PF1)
This register sets the pin functions of P13/TxD0/KR4/TxD6 pin.
PF1 is set using a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets PF1 to 00H.
Figure 14-12. 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, UART6 output specification
0 Used as P13 or KR4
1 Used as TxD0 or TxD6
(9) Port mode register 1 (PM1)
This register sets port 1 input/output in 1-bit units.
When using the P13/TxD0/KR4/TxD6 pin for serial interface data output, clear PM13 to 0. The output latch of
P13 at this time may be 0 or 1.
When using the P12/RxD0/KR3/R
XD6 pin for serial interface data input, set PM12 to 1. The output latch of P12 at
this time may be 0 or 1.
PM1 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to FFH.
Figure 14-13. Format of Port Mode Register 1 (PM1)
Address: FF21H After reset: FFH R/W
Symbol 7 6 5 4 3 2 1 0
PM1 1 1 1 1 PM13 PM12 1 1
PM1n P1n pin I/O mode selection (n = 2, 3)
0 Output mode (output buffer on)
1 Input mode (output buffer off)