Renesas Single-Chip Microcomputer M38C89T-ADF Bedienungsanleitung Seite 40

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 138
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 39
Rev.1.00 May 22 2012
REJ09B0566
4-20
Library Reference
4.2.3 34BI/O Port R_IO_PORT_Set
4
Program example
/* PDL definitions */
#include r_pdl_io_port.h
/* PDL device-specific definitions */
#include r_pdl_definitions.h
void func(void)
{
/* Set the control registers for port D1 */
R_IO_PORT_Set(
PDL_IO_PORT_D,
0xAA,
0x00
);
/* Set up port PB03 as an input port */
R_IO_PORT_Set(
PDL_IO_PORT_B_3,
PDL_IO_PORT_INPUT,
0
);
}
Seitenansicht 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 137 138

Kommentare zu diesen Handbüchern

Keine Kommentare