7 ifx_tapi_line_volume_t, 8 ifx_tapi_fxo_hook_t, 9 ifx_tapi_fxo_flash_cfg_t – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual

Page 30: Ifx_tapi_line_volume_t, Ifx_tapi_fxo_hook_t, Ifx_tapi_fxo_flash_cfg_t

Advertising
background image

73M1866B/73M1966B TAPI High-Level Driver User Guide

UG_1x66B_021

30

Rev. 2.2

4.7 IFX_TAPI_LINE_VOLUME_t

Description

Structure used to configure phone volume settings.

Prototype

typedef struct
{

int nGainRx;
int nGainTx;

} IFX_TAPI_LINE_VOLUME_t;

Data Type

Name

Description

int

nGainRx

Volume setting for the receiving path.

int

nGainTx

Volume setting for the transmitting path.


4.8 IFX_TAPI_FXO_HOOK_t

Description

Defines the possible hook status for fxo, used in IFX_TAPI_FXO_HOOK_SET.

Prototype

typedef enum
{

IFX_TAPI_FXO_HOOK_ONHOOK = 0,
IFX_TAPI_FXO_HOOK_OFFHOOK = 1

} IFX_TAPI_FXO_HOOK_t;

Data Type

Name

Description

IFX_TAPI_FXO_HOOK_ONHOOK

0

On-hook.

IFX_TAPI_FXO_HOOK_OFFHOOK

1

Off-hook.


4.9 IFX_TAPI_FXO_FLASH_CFG_t

Description

Hook configuration for FXO, used in IFX_TAPI_FXO_FLASH_CFG_SET.

Prototype

typedef struct
{

IFX_uint32_t nFlashTime;

} IFX_TAPI_FXO_FLASH_CFG_t;

Data Type

Name

Description

IFX_uint32_t

nFlashTime

Duration of a flash-hook.
Default 100 ms.

Advertising