Instruction Manual

73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
26 Rev. 2.2
4 Type and Structure Definitions
This section describes the type definitions, data types and structures used in the 73M1x66B TAPI driver.
Table 2: Summary of Types and Structure Definitions
Structure/Type Name Description
IFX_TAPI_CH_INIT_t
TAPI initialization structure used by
IFX_TAPI_CH_INIT
.
IFX_TAPI_PCM_IF_CFG_t
PCM interface configuration structure used by
IFX_TAPI_PCM_IF_CFG_SET
.
IFX_TAPI_PCM_ CFG_t
Structure for PCM channel configuration.
IFX_TAPI_EVENT_t
Structure reported by an
IFX_TAPI_EVENT_GET
ioctl.
IFX_TAPI_LINE_TYPE_CFG_t
Line type configuration used by
IFX_TAPI_LINE_TYPE_SET
.
IFX_TAPI_FXO_LINE_MODES_t
Enumerates possible FXO channel management commands used
by the
IFX_TAPI_LINE_TYPE_SET
ioctl.
IFX_TAPI_LINE_VOLUME_t
Configures phone volume settings.
IFX_TAPI_FXO_HOOK_t
Defines the possible hook status for FXO, used in
IFX_TAPI_FXO_HOOK_SET
.
IFX_TAPI_FXO_FLASH_CFG_t
FXO hook configuration, used in
IFX_TAPI_FXO_FLASH_CFG_SET
.
IFX_TAPI_EVENT_ID_t
List of event IDs.
M1966_DEBUG_TRACE_MASK
Trace macros used by ioctl
IFX_TAPI_DEBUG_REPORT_SET
.
M1966_CNTRY_CODE_XX
Country code macros used by ioctl
IFX_TAPI_CH_INIT
.
4.1 IFX_TAPI_CH_INIT_t
Description
TAPI initialization structure used by IFX_TAPI_CH_INIT.
Prototype
typedef struct
{
unsigned char nMode;
unsigned char nCountry;
void * pProc;
} IFX_TAPI_CH_INIT_t;
Parameters
Data Type Name Description
nMode
N/A.
Unsigned char nCountry
Country code as defined in
M1966_CNTRY_CODE_XX.
Void * pProc
For details, see the 73M1866/73M1966
Reference Driver User Guide.