560
Chapter 16
Port Functions
Preliminary User’s Manual U15839EE1V0UM00
(2)
Setting in input/output mode and control mode
Port 2 is set in input/output mode using the port 1 mode register (PM2). In control mode, it is set
using the port 2 mode control register (PMC2).
(a) Port 2 mode register (PM2)
This register can be read or written in 8-bit or 1-bit units.
Figure 16-11:
Port 2 Mode Register (PM2)
7
6
5
4
3
2
1
0
Address
At Reset
PM2
PM27
PM26
PM25
PM24
PM23
PM22
PM21
PM20
FFFFF422H
FFH
Bit Position
Bit Name
Function
7 to 0
PM2n
(n = 7 to 0)
Specifies input/output mode of P2n pin.
0: Output mode (Output buffer on)
1: Input mode (Output buffer off)
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......