Waitmillisecondsicmedia, Writeiic_icmedia, Waitmillisecondsicmedia writeiic_icmedia – Hand Held Products 4X00 Series User Manual

Page 19

Advertising
background image

IMAGETEAM™ 4X00 Series Hardware Interface Layer Specification

13

WaitMillisecondsICMedia

This function waits the number of milliseconds indicated before returning.

void WaitMillisecondsICMedia(

DWORD nTime
)

Passed Arguments

Description

NTime

The number of milliseconds to delay.

Returns

None.

WriteIIC_ICMedia

This function uses the i

2

c interface protocol to write the 'ucBuffer' data to the imager at the 'ucSubaddress' location.

DWORD WriteIIC_ICMedia(

unsigned char ucSubaddress,
const unsigned char *pucBuffer
)

Passed Arguments

Description

unsigned char ucSubaddress

The 8 bit address where data will start being written to.

unsigned char *pucBuffer

A pointer to the byte of data that will be written to the "subaddress."

Returns

Non-zero if data is successfully transferred. Zero on error.

Advertising