Hardware Module for SMDK412

UG_1x22_054 73M1822/73M1922 Hardware Module for SMDK412 User Guide
Rev. 1.1 15
3.6.10 TSC_1X22_MAFE_SET_REG_AUTO_POLL
Description
This IOCLT starts/stops the automatic polling of the 73M1x22 device registers dependent upon the user
supplied arguments. An argument (mask) of 0 disables this feature.
Prototype
int ioctl (
int fd,
int TSC_1X22_MAFE_SET_REG_AUTO_POLL,
unsigned int mask);
Parameters
Data Type Name Description
int
fd
Channel descriptor.
int
TSC_1X22_MAFE_SET_REG_AUTO_POLL
I/O control identifier.
unsigned int
mask
If mask[bit i] is set then poll register i.
Return Values
Data Type Description
int
0 = Success.
-1 = Failure.
3.6.11 TSC_1X22_MAFE_IRQ_HW
Description
This IOCTL enables the use of the HW interrupt pin on the 73M1x22 device to be reported through the
HW Module. The current SMDK interrupt assigned is through EINT11 / IRQ 39. The interrupt is enabled
by default after this call.
Prototype
int ioctl (
int fd,
int TSC_1X22_MAFE_IRQ_HW);
Parameters
Data Type Name Description
int
fd
Channel descriptor.
int
TSC_1X22_MAFE_IRQ_HW
I/O control identifier.
Return Values
Data Type Description
int
Returns 0 upon success, -1 upon failure