beautypg.com

Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual

Page 9

background image

UG_1x66B_046

73M1866B/73M1966B FXOAPI User Guide

Rev. 2.1

9

IOCTL Name

Description

M1x66_FAILED – Failure.

M1x66_PulseDial

M1x66_PulseDialCancel

Terminate pulse dial session.

M1x66_SetPulseDialParam

Adapt to the line condition instead of
default values.

GPIO Management APIs

M1x66_GetGpioConfig

Read a GPIO configuration.

M1x66_SetGpioConfig

Configure the GPIO.

M1x66_SetGpioData

Write data to GPIO pin.

M1x66_GetGpioData

Read data from GPIO pin.

M1x66_GpioEnable

Enable the GPIO.

M1x66_GpioDisable

Disable the GPIO.

M1x66_GetPulseDialParam

Read the pulse dial timing parameters.

Loopback Control APIs

M1x66_LoopbackGet

Read the status of the loopback.

M1x66_LoopbackSet

Set the transmit/receive data path into
loopback mode.

M1x66_LoopbackClear

Disable the loopback.

Country Default Parameter and Override

APIs

M1x66_GetCountryParam

Read the default country parameter.

M1x66_SetCountryParam

Change the default country parameter.

M1x66_GetHWRevision

Read the device hardware revision
number.

Billing Tone Filter Control APIs

M1x66_BillingToneFilterEnable

Filters out the billing tone.

M1x66_BillingToneFilterDisable

Disable the billing tone filter.

M1x66_ThresholdOverride

Override the FXO channel parameters.

1x66 H/W Register Access and Debugging aid

APIs

M1x66_HWRegisterRead

Read 1x66 register.

M1x66_HWRegisterReadAll

Read all registers.

M1x66_HWRegisterWrite

Write to 1x66 register.

M1x66_SetDebugTrace

Set debug trace mask.

M1x66_SetPhoneVolume

Set speaker phone and micro phone
volume.

M1x66_CallProgressMonitor

Monitor activities on the line.

M1x66_SelectSampleRate

Set new PCM sample rate – 8 or 16 kHz.

Get file descriptor from a handle.