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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 98
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 41
73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
42 Rev. 2.7
6.2.4 M1966_POH_GET
Description
Gets the current “parallel phone off-hook” status of the FXO line. The driver maintains this status in its
local variable and it is being retrieved by user application using this command.
#define M1966_POH_GET _IOWR(0xA4,0xB9,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_POH_GET,
unsigned long param );
Parameters
Data Type Name Description
chan_fd
Channel descriptor.
M1966_POH_GET
I/O control identifier for this operation.
param
N/A.
Return Values
Data Type Description
int
The return value can be either of the following:
0 No parallel phone off-hook on the FXO line.
1 A parallel phone off-hook on the FXO line.
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 97 98

Comentarios a estos manuales

Sin comentarios