Reference Driver

73M1866B/73M1966B Reference Driver User Guide UG_1x66B_015
40 Rev. 2.7
6.2.2 M1966_POL_GET
Description
Gets the current polarity reversal 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_POL_GET _IOWR(0xA4,0xB7,unsigned int)
Prototype
int ioctl (
int chan_fd,
int M1966_POL_GET,
unsigned long param );
Parameters
Data Type Name Description
chan_fd
Channel descriptor.
M1966_POL_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 polarity reversal event.
1 polarity reversal event occurred on the FXO line.