2 m1x22_chan_init, M1x22_chan_init – Maxim Integrated 73M1822/73M1922 Modem API User Manual

Page 24

Advertising
background image

73M1822/73M1922 Modem API User Guide

UG_1x22_055

24

Rev. 1.0

3.2 M1X22_CHAN_INIT

Description

Channel initialization structure. This structure contains mainly the country code. The
M1X22_InitChannel

API passes the pointer to this data structure to configure the channel to operate in

a specific region. Refer to M1X22_COUNTRY_CODE for the list of countries supported.

Prototype

/*
**************************************************************************
** Channel Init Structure
*************************************************************************/
typedef struct {
unsigned char nMode;
M1X22_COUNTRY_CODE nCountry;
void *pProc;
}
m1X22_ChanInit;
typedef m1X22_ChanInit M1X22_CHAN_INIT;

Parameters

Data Type

Name

Description

char

nMode

N/A

M1X22_COUNTRY_CODE nCountry

Defined country codes.

void *

pProc

N/A


Advertising