M1x22_debug_level_set – Maxim Integrated 73M1822/73M1922 Control Module User Manual

Page 59

Advertising
background image

UG_1x22_053

73M1822/73M1922 Control Module User Guide

Rev. 1.0

59

6.9.4 M1X22_DEBUG_LEVEL_SET

Description

Sets the driver trace mask to enable or disable run-time trace messages. Multiple trace masks can be
ORed together.

#define M1X22_DEBUG_LEVEL_SET _IOWR(0xA4,0xE1,unsigned int)

Prototype

int ioctl (

int dev_fd,

int M1X22_DEBUG_LEVEL_SET,

unsigned long param );


Parameters

Data Type

Name

Description

int

dev_fd

Device descriptor.

int

M1X22_DEBUG_LEVEL_SET

I/O control identifier for this operation.

unsigned long

param

Debug trace mask:
M1X22_DEBUG_TRACE_MASK

.


Return Values

Data Type

Description

int

-1 – Failed set debug level mask.
0 – Successful.

Advertising