Renesas Single-Chip Microcomputer M38C89T-ADF Uživatelský manuál Strana 61

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 138
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 60
Rev.1.00 May 22 2012
REJ09B0566
4-41
Library Reference
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
);
}
Zobrazit stránku 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 137 138

Komentáře k této Příručce

Žádné komentáře