Renesas Single-Chip Microcomputer M38C89T-ADF Instrukcja Użytkownika Strona 61

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 138
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
);
}
Przeglądanie stron 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 137 138

Komentarze do niniejszej Instrukcji

Brak uwag