beautypg.com

M1966_set_ring_max_freq – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 59

background image

UG_1x66B_015

73M1866B/73M1966B Reference Driver User Guide

Rev. 2.7

59

6.5.3 M1966_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 M1966_RING_DETECT event.

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

Prototype

int ioctl (

int chan_fd,

int M1966_SET_RING_MIN_FREQ,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1966_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.