Maxim-integrated 73M1866B/73M1966B Reference Driver Manual de usuario Pagina 71

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 70
UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide
Rev. 2.7 71
6.9.5 M1966_TEST_CODE
Description
The M1966_TEST_CODE ioctl command can be used as debugging aid during development processed.
This mechanism provides a hook for application level developer to interact with the driver’s internal
processing. Refer to current source code for handling M1966_TEST_CODE with parameter from 1 to 7 for
sample reference.
#define M1966_TEST_CODE _IOWR(0xA4,0xE8,unsigned int)
Prototype
int ioctl (
int dev_fd,
int M1966_TEST_CODE,
unsigned long param );
Parameters
Data Type Name Description
int
dev_fd
Device descriptor.
int
M1966_TEST_CODE
I/O control identifier for this operation.
unsigned long Param
Test code parameter. Currently 1 to 7 is being
used by the Reference Driver.
Return Values
Data Type Description
int
-1 Failed to perform test code.
0 – Successful.
Vista de pagina 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 97 98

Comentarios a estos manuales

Sin comentarios