beautypg.com

Tsc_1x22_mafe_rd_reg_nb – Maxim Integrated 73M1822/73M1922 Hardware Module for SMDK412 User Manual

Page 12

background image

73M1822/73M1922 Hardware Module for SMDK412 User Guide

UG_1x22_054

12

Rev. 1.1

3.6.5 TSC_1X22_MAFE_RD_REG_NB

Description

It copies the last read value of the supplied register number into the members of the supplied structure
pointer and then requests another read access from the device.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_RD_REG_NB,

TSC_1X22_REG_IOCTL_t *);


Parameters

Data Type

Name

Description

int

fd

Channel descriptor.

int

TSC_1X22_MAFE_RD_REG_NB

I/O control identifier.

TSC_1X22_REG_IOCTL_t *

See TSC_1X22_REG_IOCTL_t.


Return Values

Data Type

Description

int

0 = Success.
-1 = Failure.