INPUT/OUTPUT PORTS AND PIN FUNCTIONS
8.3 Input/Output Port Related Registers
8
P2 Operation Mode Register (P2MOD)
<Address: H’0080 0742>
b0
1
2
3
4
5
6
b7
P20MD P21MD P22MD P23MD P24MD P25MD P26MD P27MD
0
0
0
0
0
0
0
0
<After reset: H’00>
b
0
Bit Name
P20MD
Function
R
R
W
W
0: P20
1: A23
Port P20 operation mode bit
1
2
3
4
5
6
7
P21MD
0: P21
1: A24
R
R
R
R
R
R
R
W
W
W
W
W
W
W
Port P21 operation mode bit
P22MD
0: P22
1: A25
Port P22 operation mode bit
P23MD
0: P23
1: A26
Port P23 operation mode bit
P24MD
0: P24
1: A27
Port P24 operation mode bit
P25MD
0: P25
1: A28
Port P25 operation mode bit
P26MD
0: P26
1: A29
Port P26 operation mode bit
P27MD
0: P27
1: A30
Port P27 operation mode bit
Note: • P2 Operation Mode Register is useful only when the CPU operates in external extension mode.
P3 Operation Mode Register (P3MOD)
<Address: H’0080 0743>
<After reset: H’00>
b8
9
10
11
12
13
14
b15
P30MD P31MD P32MD P33MD P34MD P35MD P36MD P37MD
0
0
0
0
0
0
0
0
b
8
Bit Name
P30MD
Function
R
R
W
W
0: P30
1: A15
Port P30 operation mode bit
9
P31MD
0: P31
1: A16
R
R
R
R
R
R
R
W
W
W
W
W
W
W
Port P31 operation mode bit
10
11
12
13
14
15
P32MD
0: P32
1: A17
Port P32 operation mode bit
P33MD
0: P33
1: A18
Port P33 operation mode bit
P34MD
0: P34
1: A19
Port P34 operation mode bit
P35MD
0: P35
1: A20
Port P35 operation mode bit
P36MD
0: P36
1: A21
Port P36 operation mode bit
P37MD
0: P37
1: A22
Port P37 operation mode bit
Note: • P3 Operation Mode Register is useful only when the CPU operates in external extension mode.
32180 Group User’s Manual (Rev.1.0)
8-10