![](http://datasheet.mmic.net.cn/110000/M32186F8VFP_datasheet_3496152/M32186F8VFP_225.png)
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
8
8-23
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
P11 Peripheral Function Select Register (P11SMOD)
<Address: H’0080 076B>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8
P110SMD
0: TO0
R
W
Port P110 peripheral function select bit
1: TO29
9
P111SMD
0: TO1
R
W
Port P111 peripheral function select bit
1: TO30
10
P112SMD
0: TO2
R
W
Port P112 peripheral function select bit
1: TO31
11
P113SMD
0: TO3
R
W
Port P113 peripheral function select bit
1: TO32
12
P114SMD
0: TO4
R
W
Port P114 peripheral function select bit
1: TO33
13
P115SMD
0: TO5
R
W
Port P115 peripheral function select bit
1: TO34
14
P116SMD
0: TO6
R
W
Port P116 peripheral function select bit
1: TO35
15
P117SMD
0: TO7
R
W
Port P117 peripheral function select bit
1: TO36
Note: The value of this register can only be modified when the corresponding P11 operation mode register bit = 0 (set for port).
Then set the corresponging P11 operation mode register bit to "1."
P11 Operation Mode Register (P11MOD)
<Address: H’0080 074B>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
8
P110MD
0: P110/DD11 (Note 1)
R
W
Port P110 operation mode bit
1: TO0/TO29 (Note 2)
9
P111MD
0: P111/DD10 (Note 1)
R
W
Port P111 operation mode bit
1: TO1/TO30 (Note 2)
10
P112MD
0: P112/DD9 (Note 1)
R
W
Port P112 operation mode bit
1: TO2/TO31 (Note 2)
11
P113MD
0: P113/DD8 (Note 1)
R
W
Port P113 operation mode bit
1: TO3/TO32 (Note 2)
12
P114MD
0: P114/DD7 (Note 1)
R
W
Port P114 operation mode bit
1: TO4/TO33 (Note 2)
13
P115MD
0: P115/DD6 (Note 1)
R
W
Port P115 operation mode bit
1: TO5/TO34 (Note 2)
14
P116MD
0: P116/DD5 (Note 1)
R
W
Port P116 operation mode bit
1: TO6/TO35 (Note 2)
15
P117MD
0: P117/DD4 (Note 1)
R
W
Port P117 operation mode bit
1: TO7/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 P11 Peripheral Function Select Register is set.
8.3 Input/Output Port Related Registers
b8
9
10
11121314
b15
P110MD
P111MD
P112MD
P113MD
P114MD
P115MD
P116MD
P117MD
000
0000
0
b8
9
1011121314
b15
P110SMD P111SMD P112SMD P113SMD P114SMD P115SMD P116SMD P117SMD
000
0000
0