beautypg.com

M1x22_set_ring_min_freq, M1x22_set_ring_max_freq – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 47

background image

UG_1x22_053

73M1822/73M1922 Control Module User Guide

Rev. 1.0

47

6.5.2 M1X22_SET_RING_MIN_FREQ

Description

Upon detection of a ring burst the driver will attempt to determine the ring burst frequency. If the ring
burst frequency is above the minimum ring frequency and below the maximum frequency then the driver
will report an M1X22_RING_DETECT event.

#define M1X22_SET_RING_MIN_FREQ _IOWR(0xA4, 0xE3, unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1X22_SET_RING_MIN_FREQ,

unsigned long param );

Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_SET_ RING_MIN_FREQ

I/O control identifier for this operation.

unsigned long

param

Frequency in Hz.

Return Values

Data Type

Description

int

Always returns 0.

6.5.3 M1X22_SET_RING_MAX_FREQ

Description

Upon detection of a ring burst the driver will attempt to determine the ring burst frequency. If the ring
burst frequency is above the minimum ring frequency and below the maximum frequency, then the driver
will report an M1X22_RING_DETECT event.

#define M1X22_SET_RING_MAX_FREQ _IOWR(0xA4, 0xE4, unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1X22_SET_RING_MIN_FREQ,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_SET_ RING_MAX_FREQ

I/O control identifier for this operation.

unsigned long

param

Frequency in Hz.


Return Values

Data Type

Description

int

Always returns 0.