20 ifx_tapi_fxo_polarity_ get, Ifx_tapi_fxo_polarity_ get – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual
Page 23
Advertising

UG_1x66B_021
73M1866B/73M1966B TAPI High-Level Driver User Guide
Rev. 2.2
23
3.20 IFX_TAPI_FXO_POLARITY_ GET
Description
Receives line polarity status from the FXO interface.
#define IFX_TAPI_FXO_POLARITY_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xE1, int)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_FXO_POLARITY_GET,
unsigned long param );
Parameters
Data Type
Name
Description
int
chan_fd
Channel descriptor.
int
IFX_TAPI_FXO_POLARITY_GET
I/O control identifier for this operation.
unsigned long
param
Points to IFX_boolean_t type,
• IFX_TRUE reflects normal polarity,
• IFX_FALSE reflects reversed polarity
Return Values
Data Type
Description
int
IFX_ERROR – Failed to read polarity status.
IFX_SUCCESS – Successful.
Advertising