Rev.1.00 2007.11.1
REC10B0002-0100
77
RAPI_PORT_9_6 Port P9
6
RAPI_PORT_9_7 Port P9
7
RAPI_PORT_10_0 Port P10
0
RAPI_PORT_10_1 Port P10
1
RAPI_PORT_10_2 Port P10
2
RAPI_PORT_10_3 Port P10
3
RAPI_PORT_10_4 Port P10
4
RAPI_PORT_10_5 Port P10
5
RAPI_PORT_10_6 Port P10
6
RAPI_PORT_10_7 Port P10
7
RAPI_PORT_11_0 Port P11
0
RAPI_PORT_11_1 Port P11
1
RAPI_PORT_11_2 Port P11
2
RAPI_PORT_11_3 Port P11
3
RAPI_PORT_11_4 Port P11
4
RAPI_PORT_11_5 Port P11
5
RAPI_PORT_11_6 Port P11
6
RAPI_PORT_11_7 Port P11
7
RAPI_PORT_12_0 Port P12
0
RAPI_PORT_12_1 Port P12
1
RAPI_PORT_12_2 Port P12
2
RAPI_PORT_12_3 Port P12
3
RAPI_PORT_12_4 Port P12
4
RAPI_PORT_12_5 Port P12
5
RAPI_PORT_12_6 Port P12
6
RAPI_PORT_12_7 Port P12
7
RAPI_PORT_13_0 Port P13
0
RAPI_PORT_13_1 Port P13
1
RAPI_PORT_13_2 Port P13
2
RAPI_PORT_13_3 Port P13
3
RAPI_PORT_13_4 Port P13
4
RAPI_PORT_13_5 Port P13
5
RAPI_PORT_13_6 Port P13
6
RAPI_PORT_13_7 Port P13
7
RAPI_PORT_14_0 Port P14
0
RAPI_PORT_14_1 Port P14
1
Return value
If the I/O port specification is incorrect, RAPI_FALSE is returned; otherwise,
RAPI_TRUE is returned.
Functionality
I/O port
Reference
__SetIOPort, __ReadIOPort, __SetIOPortRegister, __ReadIOPortRegister,
__WriteIOPortRegister
Remark
•
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
Program example
#include " rapi_io_port_m16c_62p.h"
void func( void )
{
unsigned int data;
/* Set the data to port P05 */
__WriteIOPort( RAPI_PORT_0_5, 0 );
}