5 m1966_cntry_struct_t, 6 m1966_thresh_override_t, M1966_cntry_struct_t – Maxim Integrated 73M1866B/73M1966B FXOAPI User Manual
Page 46: M1966_thresh_override_t

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
cnum
Country code (see M1x66_COUNTRY_CODE).
unsigned char
ccode[4]
Two letter country code.
unsigned char
country[16]
Country name.
unsigned int
ac_impedance
AC impedance.
unsigned int
dc_vi_mask
DC VI mask.
unsigned int
rgth_value
Ring voltage threshold.
int
auto_cid_enable
Automatic CID enable.
int
use_seize_mode
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