Rev.1.01 2007.02.16
RJJ10J1643-0101
156
RAPI_PORT_D_6
PortPD6
RAPI_PORT_D_7
PortPD7
RAPI_PORT_E_0
PortPE0
RAPI_PORT_E_1
PortPE1
RAPI_PORT_E_2
PortPE2
RAPI_PORT_E_3
PortPE3
RAPI_PORT_E_4
PortPE4
RAPI_PORT_E_5
PortPE5
RAPI_PORT_E_6
PortPE6
RAPI_PORT_E_7
PortPE7
RAPI_PORT_F_0
PortPF0
RAPI_PORT_G_0
PortPG0
RAPI_PORT_G_1
PortPG1
RAPI_PORT_G_2
PortPG2
RAPI_PORT_G_3
PortPG3
RAPI_PORT_G_4
PortPG4
RAPI_PORT_G_5
PortPG5
RAPI_PORT_G_6
PortPG6
RAPI_PORT_G_7
PortPG7
RAPI_PORT_H_0
PortPH0
RAPI_PORT_H_1
PortPH1
RAPI_PORT_H_2
PortPH2
RAPI_PORT_H_3
PortPH3
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
The definition values related to port settings are described below.
RAPI_PORT_INPUT
Sets a selected port for input.
RAPI_PORT_OUTPUT
Sets a selected port for output.
RAPI_PULLED_HIGH
Sets a selected port to be pulled high.
RAPI_NOT_PULLED_HIGH
Sets a selected port not to be pulled high.
[data2]
(M16C)
Specify the digital filter width of the digital debounce facility assigned to _NMI/_SD.
Specifiable only when port P85 is used.
Specify the digital filter width of the digital debounce facility assigned to
INPC17/_INT5. Specifiable only when port P17 is used.
When using any other port, set 0 for this data.
(R8C) (H8/300H)
Specify 0.
Return value
If the I/O port specification is incorrect, RAPI_FALSE is returned; otherwise,
RAPI_TRUE is returned.
Functionality
I/O port
Reference
__ReadIOPort
,
__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.
•
The API cannot set function that the specified I/O port dont have.