beautypg.com

11 ifx_tapi_debug_report_set, Ifx_tapi_debug_report_set – Maxim Integrated 73M1866B/73M1966B Infineon TAPI High-Level Driver User Manual

Page 16

background image

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

UG_1x66B_021

16

Rev. 2.2

3.11 IFX_TAPI_DEBUG_REPORT_SET

Description

Set the driver trace mask to enable or disable run-time trace messages. Multiple trace masks can

#define IFX_TAPI_DEBUG_REPORT_SET _IO(IFX_TAPI_IOC_MAGIC, 0x12)

Prototype

int ioctl (

int dev_fd,

int IFX_TAPI_DEBUG_REPORT_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

dev_fd

Device descriptor.

int

IFX_TAPI_DEBUG_REPORT_SET

I/O control identifier for this operation.

unsigned long

param

Debug trace mask:
M1966_DEBUG_TRACE_MASK

.


Return Values

Data Type

Description

int

IFX_ERROR – Failed to set debug report.
IFX_SUCCESS – Successful.