beautypg.com

5 struct txrx_gain, 6 m1966_pulse_dial_t, Struct txrx_gain – Maxim Integrated 73M1866B/73M1966B Reference Driver User Manual

Page 76: M1966_pulse_dial_t, Section

background image

73M1866B/73M1966B Reference Driver User Guide

UG_1x66B_015

76

Rev. 2.7

7.5 struct txrx_gain

Description

This structure is used by the M1966_PHONE_VOLUME_SET IOCTL to adjust the volume setting of the
speakerphone and microphone.

Prototype

struct txrx_gain {
int tx_gain;
int rx_gain;
};

Parameters

Data Type

Name

Transmit

int

tx_gain

Transmit level in dBm.

Int

rx_gain

Receive level in dB.

7.6 M1966_PULSE_DIAL_t

Description

This structure is used by the M1966_ATDP IOCTLs for pulse dialing.

Prototype

typedef struct m1966_pulse_dial_struct {
unsigned int length; /* digit length */
unsigned char digits[MAX_PHONE_NMBR_DIGIT_CNT]; /* pulse dial digits */
}
M1966_PULSE_DIAL_t;

Parameters

Data Type

Name

Description

unsigned int

length

Digit length.

Unsigned char

digits

Pulse dial digits.