beautypg.com

Tsc_1x22_mafe_wr_reg_nb, Tsc_1x22_mafe_wr_reg_bl – Maxim Integrated 73M1822/73M1922 Hardware Module for SMDK412 User Manual

Page 14

background image

73M1822/73M1922 Hardware Module for SMDK412 User Guide

UG_1x22_054

14

Rev. 1.1

3.6.8 TSC_1X22_MAFE_WR_REG_NB

Description

Issues a write command to the 73M1x22 device of the supplied register number with the supplied data.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_WR_REG_NB,

TSC_1X22_REG_IOCTL_t *);


Parameters

Data Type

Name

Description

int

fd

Channel descriptor.

int

TSC_1X22_MAFE_WR_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.

3.6.9 TSC_1X22_MAFE_WR_REG_BL

Description

Issues a write command to the 73M1x22 device of the supplied register number with the supplied data. It
only returns once confirmation is received that the command has been sent.

Prototype

int ioctl (

int fd,

int TSC_1X22_MAFE_WR_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.