Rev.1.01 2007.02.16
RJJ10J1643-0101
167
Specify the set value for the port control register corresponding to a selected port.
[data3]
(M16C) (R8C)
Specify the set value for the pullup control register corresponding to a selected port.
(H8/300H)
Specify the set value for the pullup control register corresponding to a selected port.
[data4]
(M16C)
Specify the digital filter width of the digital debounce facility assigned to _NMI/_SD.
Specifiable only when port P8 is used.
Specify the digital filter width of the digital debounce facility assigned to
INPC17/_INT5. Specifiable only when port P1 is used.
When using any other port, set 0 for this data.
(R8C)
Specify the set value for the port P1 drive capacity register. Specifiable only when
port P1 is used.
When using any other port, set 0 for this data.
(H8/300H)
Specify 0.
Return value
If the I/O port register specification is incorrect, RAPI_FALSE is returned; otherwise,
RAPI_TRUE is returned.
Functionality
I/O port
Reference
__SetIOPort, __ReadIOPort, __WriteIOPort, __ReadIOPortRegister,
__WriteIOPortRegister
Remark
•
If an undefined value is specified in the first argument, operation of the API cannot
be guaranteed.
•
The specifiable I/O port registers differ with each CPU used.
Program example
#include " rapi_io_port_r8c_13.h"
void func( void )
{
/* Set inputs/outputs of port P1 register */
__SetIOPortRegister(RAPI_PORT_1, 0xAA, 0, 0 );
}