Moxa-technologies INTELLIO C218 Bedienungsanleitung Seite 62

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 93
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 61
4-8 Intellio C218Turbo /PCI User's Manual
ioc.ic_cmd = MOBUFED;
ioc.ic_timout = 0;
ioc.ic_len = sizeof(int);
ioc.ic_dp = (char *)&count;
ioctl(moxa_fd, I_STR, &ioc);
Note: See MIBUFED for influence of STREAMS driver.
3. MTCRTS
This function, only valid when hardware flow control is turned off (see
MHWFLOW), is used to drive RTS signal on or off.
Syntax for SCO UNIX/XENIX
#define MTCRTS 0x403
#define TurnON 1
#define TurnOFF 0
ioctl(moxa_fd, MTCRTS, TurnON);
ioctl(moxa_fd, MTCRTS, TurnOFF);
Syntax for UNIX SVR4
#include <sys/stropts.h>
#include <sys/sysmacros.h>
#define MTCRTS 0x403
#define TurnON 1
#define TurnOFF 0
struct strioctl ioc;
int setting;
setting = TurnON /* or TurnOFF */;
ioc.ic_cmd = MTCRTS;
ioc.ic_timout = 0;
ioc.ic_len = sizeof(int);
ioc.ic_dp = (char *)&setting;
ioctl(moxa_fd, I_STR, &ioc);
4. MTCDTR
This function, only valid when hardware flow control is turned off (see
MHWFLOW), is used to drive DTR signal on or off.
Seitenansicht 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 92 93

Kommentare zu diesen Handbüchern

Keine Kommentare