8
INPUT/OUTPUT PORTS AND PIN FUNCTIONS
8-22
32185/32186 Group Hardware Manual
Rev.1.10 REJ09B0235-0110 May 15, 07
P10 Operation Mode Register (P10MOD)
<Address: H’0080 074A>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
0
P100MD
0: P100
R
W
Port P100 operation mode bit
1: TO8
1
P101MD
0: P101
R
W
Port P101 operation mode bit
1: TO9/CRX0 (Note 1)
2
P102MD
0: P102
R
W
Port P102 operation mode bit
1: TO10/CTX0 (Note 1)
3
P103MD
0: P103
R
W
Port P103 operation mode bit
1: TO11/TIN24 (Note 1)
4
P104MD
0: P104/DD3 (Note 2)
R
W
Port P104 operation mode bit
1: TO12/TIN25 (Note 1)
5
P105MD
0: P105/DD2 (Note 2)
R
W
Port P105 operation mode bit
1: TO13/SCLKI4/SCLKO4 (Note 1)
6
P106MD
0: P106/DD1 (Note 2)
R
W
Port P106 operation mode bit
1: TO14/TXD4 (Note 1)
7
P107MD
0: P107/DD0 (Note 2)
R
W
Port P107 operation mode bit
1: TO15/RXD4 (Note 1)
Note 1: Which function of the pin is used depends on how the P10 Peripheral Function Select Register is set.
Note 2: The DD input functions are effective depending on the settings of DD input pin select register (DDSEL). (For details, refer to
the Chapter 14, "Direct RAM Interface") To use the port as DD input pin, set the port direction for input.
b0
12
3456
b7
P100MD
P101MD
P102MD
P103MD
P104MD
P105MD
P106MD
P107MD
000
0000
0
P10 Peripheral Function Select Register (P10SMOD)
<Address: H’0080 076A>
<Upon exiting reset: H’00>
b
Bit Name
Function
R
W
0
No function assigned. Fix to "0."
00
1
P101SMD
0: TO9
R
W
Port P101 peripheral function select bit (Note 1)
1: CRX0
2
P102SMD
0: TO10
R
W
Port P102 peripheral function select bit
1: CTX0
3
P103SMD
0: TO11
R
W
Port P103 peripheral function select bit
1: TIN24
4
P104SMD
0: TO12
R
W
Port P104 peripheral function select bit
1: TIN25
5
P105SMD
0:TO13
R
W
Port P105 peripheral function select bit
1: SCLKI4/SCLKO4
6
P106SMD
0: TO14
R
W
Port P106 peripheral function select bit
1: TXD4
7
P107SMD
0: TO15
R
W
Port P107 peripheral function select bit
1: RXD4
Note 1: When not using this pin as CRX0 pin, always be sure to set the bit to "0."
Note: The value of this register can only be modified when the corresponding P10 operation mode register bit = 0 (set for port).
Then set the corresponging P10 operation mode register bit to "1."
8.3 Input/Output Port Related Registers
b0
12
3456
b7
P101SMD P102SMD P103SMD P104SMD P105SMD P106SMD P107SMD
000
0000
0