Reference Driver

UG_1x66B_015 73M1866B/73M1966B Reference Driver User Guide
Rev. 2.7 23
6.1 Initialization and Configuration IOCTLs
The following IOCTLs are defined to configure the 73M1x66B. Some commands pertain to device level
configuration such as PCM interface parameters; these must be called using device descriptor, while
others are channel level commands and must be called using channel descriptors. Table 1 provides a
summary of the IOCTLs.
Table 1: Summary of Initialization IOCTLs
IOCTL Name Description Descriptor
M1966_CH_INIT
Initializing FXO channel for operation. Channel
M1966_PCM_IF_CSET_OPMODE_SET
Set PCM interface operational mode. Channel
M1966_PCM_IF_CSET_FREQUENCY_SET
Set PCM frequency. Channel
M1966_PCM_IF_CSET_RPOL_SET
Set receive edge polarity. Channel
M1966_PCM_IF_CSET_TPOL_SET
Set transmit edge polarity. Channel
M1966_PCM_IF_CSET_RCS_SET
Set receive clock slot number. Channel
M1966_PCM_IF_CSET_TCS_SET
Set transmit clock slot number. Channel
M1966_PCM_CSET_TSLOT_RX_SET
Set receive PCM time slot number. Channel
M1966_PCM_CSET_TSLOT_TX_SET
Set transmit PCM time slot number. Channel
M1966_PCM_CSET_COMPRESSION_SET
Set PCM data compression mode. Channel
M1966_PCM_ACTIVATION_SET
Activate PCM channel. Channel
M1966_PCM_ACTIVATION_CLEAR
De-activates the PCM time slots
configured for this FXO channel.
Channel
M1966_PCM_ACTIVATION_GET
Retrieve PCM activation state. Channel
M1966_CNTRY_NMBR_GET
Convert ASCII two-character country code
into country code index used by the driver.
Channel
M1966_GET_COUNTRY_CONFIG
Read the current default setting for a given
country code.
Channel
M1966_SET_COUNTRY_CONFIG
Overwrites the current default setting for a
particular country.
Channel
M1966_PHONE_VOLUME_SET
Set transmit and receive gain. Channel
M1966_PERF_RX_OFFSET_CALIB
Perform receiver DC offset calibration. Channel
M1966_CLEAR_RX_OFFSET_REG
Clear receive DC offset calibration register. Channel
M1966_SAMPLE_RATE
Select PCM sample rate Channel