3 m1x66_stopmeasurecurrent, 4 m1x66_stopmeasurevoltage, M1x66_stopmeasurecurrent – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual
Page 37: M1x66_stopmeasurevoltage

UG_1x66B_046
73M1866B/73M1966B FXOAPI User Guide
Rev. 2.1
37
2.13.3 M1x66_StopMeasureCurrent
Description
Stop the line current measurement.
Prototype
int M1x66_StopMeasureCurrent (
M1x66_HANDLE channel,
unsigned int sampleTime,
unsigned int averageSampleCount );
Parameters
Data Type
Name
Description
Channel
Channel handle obtained from FXO open channel.
unsigned int
sampleTime
Time interval between two consecutive samples.
unsigned int
averageSampleCount
Sample count for average calculation.
Return Values
Data Type
Description
M1x66_RET
M1x66_SUCCESS – Successfully stopped.
M1x66_FAILED – Failure.
2.13.4 M1x66_StopMeasureVoltage
Description
Stop the line voltage measurement.
Prototype
int M1x66_StopMeasureVoltage (
M1x66_HANDLE channel,
unsigned int sampleTime,
unsigned int averageSampleCount );
Parameters
Data Type
Name
Description
Channel
Channel handle obtained from FXO open channel.
unsigned int
sampleTime
Time interval between two consecutive samples.
unsigned int
averageSampleCount
Sample count for average calculation.
Return Values
Data Type
Description
M1x66_RET
M1x66_SUCCESS – Successfully stopped.
M1x66_FAILED – Failure.