3 m1x66_thresholdoverride, M1x66_thresholdoverride – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual
Page 28

73M1866B/73M1966B FXOAPI User Guide
UG_1x66B_046
28
Rev. 2.1
2.9.3 M1x66_ThresholdOverride
Description
Various FXO channel parameters are conveniently grouped and predefined in the default country
parameter. These parameters are programmed during channel initialization API (M1x66_InitChannel).
However, these parameters can be overridden at runtime to fine tune to the desired threshold for the
specific installation using this threshold override API.
Note: This API must be invoked after the M1x66_InitChannel API to prevent the parameter from over
written.
Prototype
M1x66_RET M1x66_ThresholdOverride (M1x66_HANDLE chanHandle,
M1966_THRESH_OVERRIDE_t *threshold)
Parameters
Data Type
Name
Description
chanHandle
Channel handle from FXO open channel.
M1966_THRESH_OVERRIDE *threshold
Pointer to the structure contains the new threshold
parameters to be written.
Return Values
Data Type
Description
M1x66_SUCCESS – Successful.
M1x66_FAILED – Failure.