Renesas M16C/62P Group Reference Manual page 79

Group renesas embedded application programming interface
Hide thumbs Also See for M16C/62P Group:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents