5 ifx_tapi_line_type_cfg_t, 6 ifx_tapi_fxo_line_modes_t, Ifx_tapi_line_type_cfg_t – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual

Page 29: Ifx_tapi_fxo_line_modes_t

Advertising
background image

UG_1x66B_021

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

Rev. 2.2

29

4.5 IFX_TAPI_LINE_TYPE_CFG_t

Description

Line type configuration used by ioctl IFX_TAPI_LINE_TYPE_SET.

Prototype

typedef struct
{

IFX_TAPI_LINE_TYPE_t lineType;
IFX_uint8_t nDaaCh;

} IFX_TAPI_LINE_TYPE_CFG_t;

Data Type

Name

Description

IFX_TAPI_LINE_TYPE_t

lineType

Must be IFX_TAPI_LINE_TYPE_FXO.

IFX_uint8_t

nDaaCh

N/A


4.6 IFX_TAPI_FXO_LINE_MODES_t

Description

This data type enumerates possible FXO channel management commands used by the
IFX_TAPI_LINE_TYPE_SET

ioctl.


Prototype

/** Defines the possible line modes for fxo, used in
IFX_TAPI_FXO_LINE_MODES_t */

typedef enum
{
/** Disabled. */
IFX_TAPI_FXO_LINE_MODE_DISABLED = 0,
/** Active. */
IFX_TAPI_FXO_LINE_MODE_ACTIVE = 1
} IFX_TAPI_FXO_LINE_MODES_t;

Data Type

Name

Description

IFX_TAPI_FXO_LINE_MODE_DISABLED

0

Disable FXO channel.

IFX_TAPI_FXO_LINE_MODE_ACTIVE

1

Enable FXO channel.

Advertising