563
Chapter 16
Port Functions
Preliminary User’s Manual U15839EE1V0UM00
(2)
Setting in input/output mode and control mode
Port 3 is set in input/output mode using the port 3 mode register (PM3). In control mode, it is set
using the port 3 mode control register (PMC3).
(a) Port 3 mode register (PM3)
This register can be read or written in 8-bit or 1-bit units.
Figure 16-14:
Port 3 Mode Register (PM3)
(b) Port 3 mode control register (PMC3)
This register can be read or written in 8-bit or 1-bit units.
Figure 16-15:
Port 3 Mode Control Register (PMC3)
7
6
5
4
3
2
1
0
Address
At Reset
PM3
0
0
PM35
PM34
PM33
PM32
PM31
PM30
FFFFF424H
3FH
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)
7
6
5
4
3
2
1
0
Address
At Reset
PMC3
0
0
PMC35
PMC34
PMC33
PMC32
PMC31
PMC30 FFFFF444H
00H
Bit Position
Bit Name
Function
5
PMC35
Specifies operation mode of P35 pin
0: Input/output port mode
1: TIG05 input mode or external interrupt request (INTP05) input mode
4
PMC34
Specifies operation mode of P34 pin
0: Input/output port mode
1: TIG04/TOG04 input/output mode
3
PMC33
Specifies operation mode of P33 pin
0: Input/output port mode
1: TIG03/TOG03 input/output mode
2
PMC32
Specifies operation mode of P32 pin
0: Input/output port mode
1: TIG02/TOG02 input/output mode
1
PMC31
Specifies operation mode of P31 pin
0: Input/output port mode
1: TIG01/TOG01 input/output mode
0
PMC30
Specifies operation mode of P30 pin
0: Input/output port mode
1: TIG00 input mode or external interrupt request (INTP00) input mode
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: ......