Nexcom IPPC 1560T Bedienungsanleitung Seite 134

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 135
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 133
Copyright © 2014 NEXCOM International Co., Ltd. All Rights Reserved.
117
IPPC 1560T/1960T/2160P Series User Manual
Appendix A: GPI/O Programming Guide
GPIO programming sample code
#define GPIO_PORT 0x538
#define GPO0 (0x01 << 3)
#define GPO1 (0x01 << 6)
#define GPO2 (0x01 << 7)
#define GPO0_HI outportb(GPIO_PORT, 0x08)
#define GPO0_LO outportb(GPIO_PORT, 0x00)
#define GPO1_HI outportb(GPIO_PORT, 0x40)
#define GPO1_LO outportb(GPIO_PORT, 0x00)
#define GPO2_HI outportb(GPIO_PORT, 0x80)
#define GPO2_LO outportb(GPIO_PORT, 0x00)
void main(void)
{
GPO0_HI;
GPO1_LO;
GPO2_HI;
}
Seitenansicht 133
1 2 ... 129 130 131 132 133 134 135

Kommentare zu diesen Handbüchern

Keine Kommentare