beautypg.com

7 m1966_pulse_dial_param_t, 8 m1966_thresh_override_t, M1966_pulse_dial_param_t – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 77: M1966_thresh_override_t, M1966, Pulse_dial_param

background image

UG_1x66B_015

73M1866B/73M1966B Reference Driver User Guide

Rev. 2.7

77

7.7 M1966_PULSE_DIAL_PARAM_t

Description

This structure is used by the M1966_ATDP_PARAM IOCTLs to read or modify the pulse dial parameter.
The command field indicates whether it is a read or a write operation.

Prototype

typedef struct m1966_pulse_dial_param_struct {
unsigned int command; /* pulse dial param command */
unsigned int onhook_duration; /* oh-hook duration */
unsigned int offhook_duration; /* off-hook duration */
unsigned int inter_digit_duration; /* inter-digit duration */
}
M1966_PULSE_DIAL_PARAM_t;

Parameters

Data Type

Name

Description

unsigned int

command

Pulse dial param command:
0 – Read.
1 – Write.

unsigned int

onhook_duration

On-hook duration.

unsigned int

offhook_duration

Off-hook duration.

unsigned int

intra_digit_duration Intra-digit duration.

7.8 M1966_THRESH_OVERRIDE_t

Description

Various FXO channel parameters are conveniently grouped and predefined in the country parameter
setting as specified in section x. These parameters are programmed during channel initialization IOCTL
(M1966_CH_INIT). However, these parameters can be overridden at runtime to fine tune to the desired
threshold for the specific installation using this IOCTL.

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.