Maxim-integrated 73M1866B/73M1966B Reference Driver Instrukcja Użytkownika Strona 44

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 98
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 43
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
44 Rev. 2.7
6.2.6 M1966_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 M1966_ERROR_CODE_GET _IOWR(0xA4,0xB2,unsigned int)
Prototype
int ioctl (
int dev_fd,
int M1966_ERROR_CODE_GET,
unsigned long param );
Parameters
Data Type Name Description
int
dev_fd/chan_fd
Device or Channel descriptor.
int
M1966_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
0 – Successful.
-EFAULT Failed to retrieve the error code.
Przeglądanie stron 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 97 98

Komentarze do niniejszej Instrukcji

Brak uwag