Rev.1.01 2007.02.16
RJJ10J1643-0101
161
RAPI_PORT_H_4 PortPH4
RAPI_PORT_H_5 PortPH5
RAPI_PORT_H_6 PortPH6
RAPI_PORT_H_7 PortPH7
RAPI_PORT_J_0 PortPJ0
RAPI_PORT_J_1 PortPJ1
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
,
__WriteIOPort
,
__SetIOPortRegister
,
__ReadIOPortRegister
,
__WriteIOPortRegister
Remark
•
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
•
The specifiable I/O ports differ with each CPU used.
•
Ports in port B of the H8/300H that are used as analog input pins cannot be used as input
ports.
Program example
#include " rapi_io_port_r8c_13.h"
void func( void )
{
/* Get the value of port P12 */
__ReadIOPort(RAPI_PORT_1_2, &data );
}