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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 138
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 54
Rev.1.00 May 22 2012
REJ09B0566
4-35
Library Reference
R_IO_PORT_Modify
4
4.2.3 34BI/O Port
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
);
}
Przeglądanie stron 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 137 138

Komentarze do niniejszej Instrukcji

Brak uwag