M1x22_get_sampling_freq – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 28

Advertising
background image

73M1822/73M1922 Control Module User Guide

UG_1x22_053

28

Rev. 1.0

6.1.7 M1X22_GET_SAMPLING_FREQ

Description

Return current modem sample rate. The 73M1x22 device can operate at many different sample rates
ranging from 7.2 kHz to 16 kHz. The device defaults to 7.2 kHz operation with a 24.576 MHz crystal upon
startup.

#define M1X22_GET_SAMPLING_FREQ _IOWR(0xA4, 0xA8, unsigned int)

Prototype

int ioctl (

int chan_fd,

int M1X22_GET_SAMPLING_FREQ)

unsigned long param );

Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_GET_SAMPLING_FREQ

I/O control identifier for this operation.

unsigned long

param

N/A.


Return Values

Data Type

Description

int

Sample rate selection as defined in M1X22_SAMPLE_RATE_SELECTION.

Advertising