CHAPTER 10 SERIAL INTERFACE UART6
Preliminary User’s Manual U19014EJ1V0UD
233
(6) Port mode register 1 (PM1)
This register sets port 1 input/output in 1-bit units.
When using the P13/T
X
D6 pin for serial interface data output, clear PM13 to 0 and set the output latch of P13 to 1.
When using the P14/R
X
D6 pin for serial interface data input, set PM14 to 1. The output latch of P14 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 10-7. Format of Port Mode Register 1 (PM1)
Address: FF21H After reset: FFH R/W
Symbol
7 6 5 4 3 2 1 0
PM1
PM17 PM16 PM15 PM14 PM13 PM12 PM11 PM10
PM1n
P1n pin I/O mode selection (n = 0 to 7)
0
Output mode (output buffer on)
1
Input mode (output buffer off)
electronic components distributor