
Rev.1.00 May 22 2012
REJ09B0566
4
4.2.3 34BI/O Port R_IO_PORT_Wait
Program example
/* PDL definitions */
#include “r_pdl_io_port.h”
/* PDL device-specific definitions */
#include “r_pdl_definitions.h”
void func( void )
{
/* Wait until pin PC1 reads as 0 */
R_IO_PORT_Wait(
PDL_IO_PORT_C_1,
0
);
/* Wait until port E reads as 0x0015 */
R_IO_PORT_Wait(
PDL_IO_PORT_E,
0x0015
);
}
Comentários a estes Manuais