M1x22_poh_get – Maxim Integrated 73M1822/73M1922 Control Module User Manual
Page 32

73M1822/73M1922 Control Module User Guide
UG_1x22_053
32
Rev. 1.0
6.2.4 M1X22_POH_GET
Description
Gets the current “parallel phone off-hook” status of the modem line. The driver maintains this status in its
local variable and it is being retrieved by user application using this command.
#define M1X22_POH_GET _IOWR(0xA4,0xB9,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1X22_POH_GET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
M1X22_POH_GET
I/O control identifier for this operation.
unsigned long
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 modem line.
1 – A parallel phone off-hook on the modem line.