3 ifx_tapi_pcm_ cfg_t, 4 ifx_tapi_event_t, Ifx_tapi_pcm_ cfg_t – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual
Page 28: Ifx_tapi_event_t

73M1866B/73M1966B TAPI High-Level Driver User Guide
UG_1x66B_021
28
Rev. 2.2
4.3 IFX_TAPI_PCM_ CFG_t
Description
Structure for PCM channel configuration.
Prototype
typedef struct
{
unsigned long nTimeslotRX;
unsigned long nTimeslotTX;
unsigned long nHighway;
unsigned long nResolution;
} IFX_TAPI_PCM_CFG_t;
Parameters
Data Type
Name
Description
unsigned long
nTimeslotRX PCM timeslot for the receive direction.
unsigned long
nTimeslotTX PCM timeslot for the transmit direction.
unsigned long
nHighway
Defines the PCM highway number which is
connected to the channel.
unsigned long
nResolution Defines the PCM interface coding, values defined
in IFX_TAPI_PCM_RES_t.
4.4 IFX_TAPI_EVENT_t
Description
This structure is reported by an IFX_TAPI_EVENT_GET ioctl.
Prototype
typedef struct
{
IFX_TAPI_EVENT_ID_t id;
IFX_uint16_t ch;
IFX_uint16_t more;
IFX_TAPI_EVENT_DATA_t data;
} IFX_TAPI_EVENT_t;
Parameters
Data Type
Name
Description
IFX_TAPI_EVENT_ID_t
id
Event type and sub-type.
IFX_uint16_t
ch
FXO channel number.
IFX_uint16_t
more
This field is used to report whether new events are
ready (IFX_TRUE ) or not (IFX_FALSE ).
IFX_TAPI_EVENT_DATA_t
data
N/A