Maxim-integrated 73M1822/73M1922 Control Module Manual de usuario Pagina 34

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 86
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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.
Vista de pagina 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 85 86

Comentarios a estos manuales

Sin comentarios