EXTERNAL BUS INTERFACE
17
17-9
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
17.2 External Bus Interface Related Registers
P3 Operation Mode Register (P3MOD)
<Address: H’0080 0743>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8
P30MD
0: P30/DD16 (Note 1)
R
W
Port P30 operation mode bit
1: A15/TIN4 (Note 2)
9
P31MD
0: P31/DD17 (Note 1)
R
W
Port P31 operation mode bit
1: A16/TIN5 (Note 2)
10
P32MD
0: P32/DD18 (Note 1)
R
W
Port P32 operation mode bit
1: A17/TIN6 (Note 2)
11
P33MD
0: P33/DD19 (Note 1)
R
W
Port P33 operation mode bit
1:A18/TIN17 (Note 2)
12
P34MD
0: P34/DD20 (Note 1)
R
W
Port P34 operation mode bit
1:A19/TIN30 (Note 2)
13
P35MD
0: P35/DD21 (Note 1)
R
W
Port P35 operation mode bit
1:A20/TIN31 (Note 2)
14
P36MD
0: P36/DD22 (Note 1)
R
W
Port P36 operation mode bit
1: A21/TIN32 (Note 2)
15
P37MD
0: P37/DD23 (Note 1)
R
W
Port P37 operation mode bit
1: A22/TIN33 (Note 2)
Note 1: The port and DD input functions both are effective. To use the port as DD input pin, set the port direction for input.
Note 2: Which function of the pin is used depends on how the P0 Peripheral Function Select Register is set.
Note: During processor mode, settings of this register have no effect, and the ports function as external bus interface signal
pins (DB0-DB7).
b8
9
10
11121314
b15
P30MD
P31MD
P32MD
P33MD
P34MD
P35MD
P36MD
P37MD
000
00000
P3 Peripheral Function Select Register (P3SMOD)
<Address: H’0080 0763>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8
P30SMD
0: A15
R
W
Port P30 peripheral function select bit
1: TIN4
9
P31SMD
0: A16
R
W
Port P31 peripheral function select bit
1: TIN5
10
P32SMD
0: A17
R
W
Port P32 peripheral function select bit
1: TIN6
11
P33SMD
0: A18
R
W
Port P33 peripheral function select bit
1: TIN7
12
P34SMD
0: A19
R
W
Port P34 peripheral function select bit
1: TIN30
13
P35SMD
0: A20
R
W
Port P35 peripheral function select bit
1: TIN31
14
P36SMD
0: A21
R
W
Port P36 peripheral function select bit
1: TIN32
15
P37SMD
0: A22
R
W
Port P37 peripheral function select bit
1: TIN33
Notes: During processor mode, settings of this register have no effect, and the ports function as external bus interface signal
pins (DB0-DB7).
The value of this register can only be modified when the corresponding P0 operation mode register bit = 0 (set for port).
Then set the corresponging P0 operation mode register bit to "1."
During single-chip mode, selecting the external bus interface function is prohibited.
b8
9
10
11121314
b15
P30SMD P31SMD
P32SMD
P33SMD
P34SMD
P35SMD
P36SMD
P37SMD
000
00000