
Rev.1.00 May 22 2012
REJ09B0566
Library Reference
R_IO_PORT_Modify
Program example
/* PDL definitions */
#include “r_pdl_io_port.h”
/* PDL device-specific definitions */
#include “r_pdl_definitions.h”
void func( void )
{
/* Set port pin PE5 */
R_IO_PORT_ModifyControl (
PDL_IO_PORT_E_5,
PDL_IO_PORT_OR
1
);
/* Enable the lower 4 bits on port K to output */
R_IO_PORT_ModifyControl (
PDL_IO_PORT_K,
PDL_IO_PORT_OR,
0x0F
);
}
Commenti su questo manuale