beautypg.com

Tsc_1x22_mafe_irq_sw, Tsc_1x22_mafe_irq_enable – Maxim Integrated 73M1822/73M1922 Hardware Module for SMDK412 User Manual

Page 16

background image

73M1822/73M1922 Hardware Module for SMDK412 User Guide

UG_1x22_054

16

Rev. 1.1

3.6.12 TSC_1X22_MAFE_IRQ_SW

Description

This IOCTL enables the use of a SW based interrupt scheme for the 73M1x22 device to be reported
through the HW Module. Auto polling (see TSC_1X22_MAFE_SET_REG_AUTO_POLL) must be enabled
for register 0x03 for this feature to work properly. The interrupt mutex/enables remains in their current
state after this call.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_IRQ_SW);


Parameters

Data Type

Name

Description

int

fd

Channel descriptor.

int

TSC_1X22_MAFE_IRQ_SW

I/O control identifier.


Return Values

Data Type

Description

int

0 = Success.
-1 = Failure.

3.6.13 TSC_1X22_MAFE_IRQ_ENABLE

Description

This IOCTL enables the interrupt scheme for the 73M1x22 device to be reported through the HW Module.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_IRQ_ENABLE);


Parameters

Data Type

Name

Description

int

fd

Channel descriptor.

int

TSC_1X22_MAFE_IRQ_ENABLE

I/O control identifier.


Return Values

Data Type

Description

int

0 = Success.
-1 = Failure.