5 ring detection services, Ring detection services, M1x22_set_min_inter_ring_gap – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 46

Advertising
background image

73M1822/73M1922 Control Module User Guide

UG_1x22_053

46

Rev. 1.0

6.5 Ring Detection Services

The following services control how the modem manages Ring Detection.

Table 5: Ring Detection Services

Name

Description

Descriptor

M1X22_SET_MIN_INTER_RING_GAP

Set minimum inter-ring timer value.

Channel

M1X22_SET_RING_MIN_FREQ

Set min frequency threshold for ring filter.

Channel

M1X22_SET_RING_MAX_FREQ

Set max frequency threshold for ring filter.

Channel

6.5.1 M1X22_SET_MIN_INTER_RING_GAP

Description

Upon detection of a RGDT interrupt the driver will start a timer with a minimum duration specified by this
IOCTL (default is 150 ms). If no more RGDT interrupts are detected in that time period, then the driver
will attempt to interpret the existing RGDT interrupts (polarity reversal or ring burst). Polarity reversals
and/or ring bursts separated by less than this time period will be considered to be one event and will be
interpreted as such. RGDT interrupts farther apart than this will be interpreted as separate events.

#define M1X22_SET_MIN_INTER_RING_GAP _IOWR(0xA4, 0xE2, unsigned int)


Prototype

int ioctl (

int chan_fd,

int M1X22_SET_MIN_INTER_RING_GAP,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_SET_MIN_INTER_RING_GAP

I/O control identifier for this operation.

unsigned long

param

Time in ms.


Return Values

Data Type

Description

int

Always returns 0.


Advertising