User guide

73M1866B/73M1966B FXOAPI User Guide UG_1x66B_046
46 Rev. 2.1
3.5 M1966_CNTRY_STRUCT_t
Description
This structure defines the country default parameters.
Prototype
typedef struct m1966_cntry_struct
{
unsigned int cnum; /* Country code */
unsigned char ccode[4]; /* Two letter internet country code */
unsigned char country[16]; /* Country Name */
unsigned int ac_impedance;
unsigned int dc_vi_mask;
unsigned int rgth_value;
int auto_cid_enable; /* automatically enable CID */
int use_seize_state; /* ring tone, silent duration */
} M1966_CNTRY_STRUCT_t;
Parameters
Data Type Name Transmit
unsigned int
Country code (see
M1x66_COUNTRY_CODE
).
unsigned char
Two letter country code.
unsigned char
Country name.
unsigned int
AC impedance.
unsigned int
DC VI mask.
unsigned int
Ring voltage threshold.
int
Automatic CID enable.
int
Seize mode enable.
3.6 M1966_THRESH_OVERRIDE_t
Description
This structure can be used to override the threshold parameter of the FXO line.
Prototype
typedef struct
{
unsigned char acz; /* Active Termination Loop */
unsigned char dciv; /* DC current voltage charac. control */
unsigned char rgth; /* Ring threshold
}
M1966_THRESH_OVERRIDE_t;
Parameters
Data Type Name Description
unsigned char
acz
Active termination loop
unsigned char
dciv
DC current voltage characteristic control
unsigned char
rgth
Ring threshold