Rev.1.00 2007.11.1
REC10B0002-0100
77
RAPI_PORT_9_6 Port P96 RAPI_PORT_9_7 Port P97
RAPI_PORT_10_0 Port P100 RAPI_PORT_10_1 Port P101
RAPI_PORT_10_2 Port P102 RAPI_PORT_10_3 Port P103
RAPI_PORT_10_4 Port P104 RAPI_PORT_10_5 Port P105
RAPI_PORT_10_6 Port P106 RAPI_PORT_10_7 Port P107
RAPI_PORT_11_0 Port P110 RAPI_PORT_11_1 Port P111
RAPI_PORT_11_2 Port P112 RAPI_PORT_11_3 Port P113
RAPI_PORT_11_4 Port P114 RAPI_PORT_11_5 Port P115
RAPI_PORT_11_6 Port P116 RAPI_PORT_11_7 Port P117
RAPI_PORT_12_0 Port P120 RAPI_PORT_12_1 Port P121
RAPI_PORT_12_2 Port P122 RAPI_PORT_12_3 Port P123
RAPI_PORT_12_4 Port P124 RAPI_PORT_12_5 Port P125
RAPI_PORT_12_6 Port P126 RAPI_PORT_12_7 Port P127
RAPI_PORT_13_0 Port P130 RAPI_PORT_13_1 Port P131
RAPI_PORT_13_2 Port P132 RAPI_PORT_13_3 Port P133
RAPI_PORT_13_4 Port P134 RAPI_PORT_13_5 Port P135
RAPI_PORT_13_6 Port P136 RAPI_PORT_13_7 Port P137
RAPI_PORT_14_0 Port P140 RAPI_PORT_14_1 Port P141
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 );
}