Maxim-integrated 73M1866B/73M1966B Reference Driver Manual do Utilizador Página 71

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 98
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 97 98

Comentários a estes Manuais

Sem comentários