![](http://datasheet.mmic.net.cn/110000/M32186F8VFP_datasheet_3496152/M32186F8VFP_817.png)
EXTERNAL BUS INTERFACE
17
17-7
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
17.2 External Bus Interface Related Registers
P1 Operation Mode Register (P1MOD)
<Address: H’0080 0741>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8
P10MD
0: P10/DD8 (Note 1)
R
W
Port P10 operation mode bit
1: DB8/TO29 (Note 2)
9
P11MD
0: P11/DD9 (Note 1)
R
W
Port P11 operation mode bit
1: DB9/TO30 (Note 2)
10
P12MD
0: P12/DD10 (Note 1)
R
W
Port P12 operation mode bit
1: DB10/TO31 (Note 2)
11
P13MD
0: P13/DD11 (Note 1)
R
W
Port P13 operation mode bit
1: DB11/TO32 (Note 2)
12
P14MD
0: P14/DD12 (Note 1)
R
W
Port P14 operation mode bit
1: DB12/TO33 (Note 2)
13
P15MD
0: P15/D13 (Note 1)
R
W
Port P15 operation mode bit
1: DB13/TO34 (Note 2)
14
P16MD
0: P16/DD14 (Note 1)
R
W
Port P16 operation mode bit
1: DB14/TO35 (Note 2)
15
P17MD
0: P17/DD15 (Note 1)
R
W
Port P17 operation mode bit
1: DB15/TO36 (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
P10MD
P11MD
P12MD
P13MD
P14MD
P15MD
P16MD
P17MD
000
00000
P1 Peripheral Function Select Register (P1SMOD)
<Address: H’0080 0761>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8
P10SMD
0: DB8
R
W
Port P10 peripheral function select bit
1: TO29
9
P11SMD
0: DB9
R
W
Port P11 peripheral function select bit
1: TO30
10
P12SMD
0: DB10
R
W
Port P12 peripheral function select bit
1: TO31
11
P13SMD
0: DB11
R
W
Port P13 peripheral function select bit
1: TO32
12
P14SMD
0: DB12
R
W
Port P14 peripheral function select bit
1: TO33
13
P15SMD
0: DB13
R
W
Port P15 peripheral function select bit
1: TO34
14
P16SMD
0: DB14
R
W
Port P16 peripheral function select bit
1: TO35
15
P17SMD
0: DB15
R
W
Port P17 peripheral function select bit
1: TO36
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
P10SMD P11SMD
P12SMD
P13SMD
P14SMD
P15SMD
P16SMD
P17SMD
000
0000
0