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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 86
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 39
73M1822/73M1922 Control Module User Guide UG_1x22_053
40 Rev. 1.0
6.3.6 M1X22_ATDP_PARAM
Description
This IOCTL is used to modify or read the following default pulse dial parameters:
On hook duration (default = 60 ms)
Off hook duration (default = 40 ms)
Inter-digit duration (default = 1 sec)
The command field in the M1X22_PULSE_DIAL_PARAM_t structure indicates whether it is a read or a
write operation. For reading the driver returns the parameters in the structure, while for writing the driver
expects the new pulse dial parameters to be written in the structure.
#define M1X22_ATDP_PARAM _IOWR(0xA4,0xAD,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1X22_ATDP_PARAM,
unsigned long param );
Parameters
Data Type Name Description
int
chan_fd
Channel descriptor.
int
M1X22_ATDP_PARAM
I/O control identifier for this operation.
unsigned long
param
Pointer to the
M1X22_PULSE_DIAL_PARAM_t
structure.
Return Values
Data Type Description
int
Always returns 0.
Vista de pagina 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 85 86

Comentarios a estos manuales

Sin comentarios