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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 98
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 97 98

Komentarze do niniejszej Instrukcji

Brak uwag