Maxim-integrated 73M1822/73M1922 Control Module Bedienungsanleitung Seite 34

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 86
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 33
73M1822/73M1922 Control Module User Guide UG_1x22_053
34 Rev. 1.0
6.2.6 M1X22_ERROR_CODE_GET
Description
This IOCTL returns the error code of the last IOCTL command. The driver records only the last error
code and applicable to device and channel descriptor.
#define M1X22_ERROR_CODE_GET _IOWR(0xA4,0xB2,unsigned int)
Prototype
int ioctl (
int dev_fd,
int M1X22_ERROR_CODE_GET,
unsigned long param );
Parameters
Data Type Name Description
int
dev_fd/chan_fd
Device or Channel descriptor.
int
M1X22_ERROR_CODE_GET
I/O control identifier for this operation.
unsigned long
param
Pointer to the error code of type unsigned int.
Return Values
Data Type Description
int
0 – Successful.
-EFAULT Failed to retrieve the error code.
Seitenansicht 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 85 86

Kommentare zu diesen Handbüchern

Keine Kommentare