M1x22_atdp_param – Maxim Integrated 73M1822/73M1922 Control Module User Manual
Page 40

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.