
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 )
{
/* Invert port pin PE5 */
R_IO_PORT_Modify (
PDL_IO_PORT_E_5,
1,
PDL_IO_PORT_XOR
);
/* And the value port K with 0x0055 */
R_IO_PORT_Modify (
PDL_IO_PORT_K,
0x55,
PDL_IO_PORT_AND
);
}
Comentarios a estos manuales