565
Chapter 16
Port Functions
Preliminary User’s Manual U15839EE1V0UM00
(2)
Setting in input/output mode and control mode
Port 4 is set in input/output mode using the port 4 mode register (PM4). In control mode, it is set
using the port 4 mode control register (PMC4).
(a) Port 4 mode register (PM4)
This register can be read or written in 8-bit or 1-bit units.
Figure 16-17:
Port 4 Mode Register (PM4)
(b) Port 4 mode control register (PMC4)
This register can be read or written in 8-bit or 1-bit units.
Figure 16-18:
Port 4 Mode Control Register (PMC4)
7
6
5
4
3
2
1
0
Address
At Reset
PM4
0
0
PM45
PM44
PM43
PM42
PM41
PM40
FFFFF426H
3FH
Bit Position
Bit Name
Function
7 to 0
PM4n
(n = 7 to 0)
Specifies input/output mode of P4n pin.
0: Output mode (Output buffer on)
1: Input mode (Output buffer off)
7
6
5
4
3
2
1
0
Address
At Reset
PMC4
0
0
PMC45
PMC44
PMC43
PMC42
PMC41
PMC40 FFFFF446H
00H
Bit Position
Bit Name
Function
5
PMC45
Specifies operation mode of P45 pin
0: Input/output port mode
1: TIG15 input mode or external interrupt request (INTP15) input mode
4
PMC44
Specifies operation mode of P44 pin
0: Input/output port mode
1: TIG14/TOG14 input/output mode
3
PMC43
Specifies operation mode of P43 pin
0: Input/output port mode
1: TIG13/TOG13 input/output mode
2
PMC42
Specifies operation mode of P42 pin
0: Input/output port mode
1: TIG12/TOG12 input/output mode
1
PMC41
Specifies operation mode of P41 pin
0: Input/output port mode
1: TIG11/TOG11 input/output mode
0
PMC40
Specifies operation mode of P40 pin
0: Input/output port mode
1: TIG10 input mode or external interrupt request (INTP10) 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: ......