Rev.1.00 2007.11.1
REC10B0002-0100
71
4.2.3 I/O Port
__SetIOPort
Synopsis
<Set I/O port>
Boolean __SetIOPort(unsigned long data1, unsigned int data2)
data1 Setup data 1
data2 Setup data 2
Description
Sets the operating conditions of a specified I/O port.
[data1]
For data1, the following definition values can be set. To set multiple definition values at
the same time, use the symbol “|” to separate each specified value. Note, however, that
multiple ports cannot be specified at the same time.
The definition values corresponding to each I/O port are listed below.
RAPI_PORT_0_0 Port P0
0
RAPI_PORT_0_1 Port P0
1
RAPI_PORT_0_2 Port P0
2
RAPI_PORT_0_3 Port P0
3
RAPI_PORT_0_4 Port P0
4
RAPI_PORT_0_5 Port P0
5
RAPI_PORT_0_6 Port P0
6
RAPI_PORT_0_7 Port P0
7
RAPI_PORT_1_0 Port P1
0
RAPI_PORT_1_1 Port P1
1
RAPI_PORT_1_2 Port P1
2
RAPI_PORT_1_3 Port P1
3
RAPI_PORT_1_4 Port P1
4
RAPI_PORT_1_5 Port P1
5
RAPI_PORT_1_6 Port P1
6
RAPI_PORT_1_7 Port P1
7
RAPI_PORT_2_0 Port P2
0
RAPI_PORT_2_1 Port P2
1
RAPI_PORT_2_2 Port P2
2
RAPI_PORT_2_3 Port P2
3
RAPI_PORT_2_4 Port P2
4
RAPI_PORT_2_5 Port P2
5
RAPI_PORT_2_6 Port P2
6
RAPI_PORT_2_7 Port P2
7
RAPI_PORT_3_0 Port P3
0
RAPI_PORT_3_1 Port P3
1
RAPI_PORT_3_2 Port P3
2
RAPI_PORT_3_3 Port P3
3
RAPI_PORT_3_4 Port P3
4
RAPI_PORT_3_5 Port P3
5
RAPI_PORT_3_6 Port P3
6
RAPI_PORT_3_7 Port P3
7
RAPI_PORT_4_0 Port P4
0
RAPI_PORT_4_1 Port P4
1
RAPI_PORT_4_2 Port P4
2
RAPI_PORT_4_3 Port P4
3
RAPI_PORT_4_4 Port P4
4
RAPI_PORT_4_5 Port P4
5
RAPI_PORT_4_6 Port P4
6
RAPI_PORT_4_7 Port P4
7
RAPI_PORT_5_0 Port P5
0
RAPI_PORT_5_1 Port P5
1
RAPI_PORT_5_2 Port P5
2
RAPI_PORT_5_3 Port P5
3
RAPI_PORT_5_4 Port P5
4
RAPI_PORT_5_5 Port P5
5
RAPI_PORT_5_6 Port P5
6
RAPI_PORT_5_7 Port P5
7
RAPI_PORT_6_0 Port P6
0
RAPI_PORT_6_1 Port P6
1
RAPI_PORT_6_2 Port P6
2
RAPI_PORT_6_3 Port P6
3
RAPI_PORT_6_4 Port P6
4
RAPI_PORT_6_5 Port P6
5
RAPI_PORT_6_6 Port P6
6
RAPI_PORT_6_7 Port P6
7
RAPI_PORT_7_0 Port P7
0
RAPI_PORT_7_1 Port P7
1