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

Page 22

Advertising
background image

73M1822/73M1922 Control Module User Guide

UG_1x22_053

22

Rev. 1.0

6.1.1 M1X22_CH_INIT

Description

Performs 73M1x22 channel initialization. This includes initialize all default registers and country specific
threshold parameters. This IOCTL requires the country code listed in M1X22_COUNTRY_CODE as input.
The modem channel will be initialized according to the default setting parameter of the input country
code. The default setting parameter can be found in the tsc_1x22_ctl_cntry_tbl.c file. See also
M1X22_GET_COUNTRY_CONFIG

and for run-time modification of country default setting.


#define M1X22_CH_INIT

_IOWR(0xA4,0xC8,unsigned int)


Prototype

int ioctl (

int chan_fd,

int M1X22_CH_INIT,

unsigned long param );


Parameters

Data Type

Name

Description

int

chan_fd

Channel descriptor.

int

M1X22_CH_INIT

I/O control identifier for this operation.

unsigned long

param

Country code as listed in M1X22_COUNTRY_CODE.


Return Values

Data Type

Description

int

-1 – Failed to initialize device.
0 – Successful.

Advertising