354
CHAPTER 19 CLOCK OUTPUT FUNCTION
User’s Manual U12697EJ3V0UM
(2) Port 2 mode register (PM2)
This register sets input/output for port 2 in 1-bit units.
When using the P23/PCL pin for clock output, set the output latch of PM23 and P23 to 0.
PM2 is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM2 to FFH.
Figure 19-4. Format of Port 2 Mode Register (PM2)
Address: 0FF22H After reset: FFH R/W
Symbol
7
6
5
4
3
2
1
0
PM2
PM27
PM26
PM25
PM24
PM23
PM22
PM21
PM20
PM2n
P2n pin I/O mode selection (n = 0 to 7)
0
Output mode (output buffer on)
1
Input mode (output buffer off)