Tsc_1x22_mafe_rd_reg_im, Tsc_1x22_mafe_rd_reg_bl – Maxim Integrated 73M1822/73M1922 Hardware Module for SMDK412 User Manual

Page 13

Advertising
background image

UG_1x22_054

73M1822/73M1922 Hardware Module for SMDK412 User Guide

Rev. 1.1

13

3.6.6 TSC_1X22_MAFE_RD_REG_IM

Description

It copies the last read value of the supplied register number into the members of the supplied structure
pointer without requesting another read from the device.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_RD_REG_IM,

TSC_1X22_REG_IOCTL_t *);


Parameters

Data Type

Name

Description

Int

Fd

Channel descriptor.

Int

TSC_1X22_MAFE_RD_REG_IM

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.

3.6.7 TSC_1X22_MAFE_RD_REG_BL

Description

Issues a MAFE command to the 73M1x22 to the supplied register and copies the read value into the
members of the supplied structure pointer.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_RD_REG_BL,

TSC_1X22_REG_IOCTL_t *);


Parameters

Data Type

Name

Description

int

fd

Channel descriptor.

int

TSC_1X22_MAFE_WR_REG_BL

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.


Advertising