beautypg.com

10 ifx_tapi_event_id_t, 11 m1966_debug_trace_mask, Ifx_tapi_event_id_t – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual

Page 31: M1966_debug_trace_mask

background image

UG_1x66B_021

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

Rev. 2.2

31

4.10 IFX_TAPI_EVENT_ID_t

Description

List of event IDs. These are the #define macros of the FXO event identification.

Prototype

typedef enum
{
I

IFX_TAPI_EVENT_NONE

= IFX_TAPI_EVENT_TYPE_NONE | 0x0000,

IFX_TAPI_EVENT_FXO_BAT_FEEDED = IFX_TAPI_EVENT_TYPE_FXO | 0x0001,
IFX_TAPI_EVENT_FXO_BAT_DROPPED= IFX_TAPI_EVENT_TYPE_FXO | 0x0002,
IFX_TAPI_EVENT_FXO_POLARITY = IFX_TAPI_EVENT_TYPE_FXO | 0x0003,
IFX_TAPI_EVENT_FXO_RING_START = IFX_TAPI_EVENT_TYPE_FXO | 0x0004,
IFX_TAPI_EVENT_FXO_RING_STOP = IFX_TAPI_EVENT_TYPE_FXO | 0x0005,
IFX_TAPI_EVENT_FXO_OSI

= IFX_TAPI_EVENT_TYPE_FXO | 0x0006,

IFX_TAPI_EVENT_FXO_APOH

= IFX_TAPI_EVENT_TYPE_FXO | 0x0007,

IFX_TAPI_EVENT_FXO_NOPOH

= IFX_TAPI_EVENT_TYPE_FXO | 0x0008,

} IFX_TAPI_EVENT_ID_t;

4.11 M1966_DEBUG_TRACE_MASK

Description

Trace macros used by ioctl IFX_TAPI_DEBUG_REPORT_SET.

Prototype

#define M1966_DEBUG_EVENT 0x00000001
#define M1966_DEBUG_INIT 0x00000002
#define M1966_DEBUG_RING_PATH 0x00000004
#define M1966_DEBUG_TRACE 0x00000008
#define M1966_DEBUG_COUNTRY_CODE 0x00000010
#define M1966_DEBUG_CLIP 0x00000020
#define M1966_DEBUG_LINE_STATE 0x00000040
#define M1966_DEBUG_IOCTL 0x00000080
#define M1966_DEBUG_PCM 0x00000100
#define M1966_DEBUG_BARRIER 0x00000200
#define M1966_DEBUG_INT 0x00000400
#define M1966_DEBUG_PHU 0x00000800
#define M1966_DEBUG_TAPI 0x00001000
#define M1966_DEBUG_KPROC 0x00002000
#define M1966_DEBUG_SPI 0x00004000
#define M1966_DEBUG_ERROR 0x80000000