CALIBRE

3.3.27.RestartNoStatus

Function specification

void RestartNoStatus(int SlaveAddress, int SetNack, int NoTries)

Parameters are:

int SlaveAddress

 

The address to be accessed via the I2C, e.g. A1H.

 

int SetNack

 

This controls whether the Adapter transmits an acknowledge down the I2C bus

 

on reception of a byte. The last byte received during a transfer must not be

 

acknowledged, in all other cases acknowledge must be enabled. If SetNack = 0

 

then acknowledge is enabled, if SetNack = 1 then acknowledge is disabled. It is

 

normal to read data after a restart and hence SetNack will normally be 0.

 

Int NoTries

Parameters returned

This is the number of times the Adapter is to try to send the address

None

Prerequisites

Adapter must be configured using Setup. A start and slave address must have

 

previously been sent using SendAddressNoStatus.

 

Usually a data pointer would already have been written using

 

WriteByteNoStatus.

Functional description

Sends a start code and the slave address.

Issue 1.0

Page 16

01/07/03

 

Page 19
Image 19
Calibre UK UCA93 manual WriteByteNoStatus