Calibre UK UCA93 manual Calibre

Page 24

CALIBRE

When the master terminates the transfer, the adapter completes sending the data block to the host together with a single status byte indicating how the transfer went, and the data is put into a global variable. The BlockSlaveReceiverStatus function waits for this status byte and the byte can be interpreted as in the function definition.

When the BlockSlaveReceiver function terminates the adapter goes back into an idle state – it will not acknowledge its own address or repeat any other slave behaviour until the slave function is called again.

If the master erroneously sends a read address when the BlockSlaveReceiver function has been called the adapter will send a fixed sequence of 0x55s until the master terminates the transfer.

Issue 1.0

Page 21

01/07/03

 

Image 24
Contents Calibre Calibre Contents Connecting the Adapter to your System General IntroductionPacking List Bus Termination and ProtectionVariable Voltage Bus Power Supply Bus Capacitance Limitations/Cable ChoiceInstalling the Adapter IntroductionLibraries for Programming in Microsoft Windows Environments Function Prototypes Calibre Int SlaveBlockTimeout Int ownaddressInt ClockSpeed Int BusVoltageInt DataByte SendAddressInt I2CData NoneUsing the Adapter Int I2CstatusInt NoBytesToSend Int NoTriesInt DataVal Returns an unused integerInt Timeout Int RdDataInt NoBytesToTransmit Int NoBytesToReceive Int PullupVoltage Int IOState IntSendAddressNoStatus WriteByteNoStatus Real-Time Bus Monitor StopBit 4 The BER Bus Error Bit Appendix a I2C Communications Adapter Status CodesBit 7 MSB The old PIN Bit Bit 5 The old STS BitUSB Bus Characteristics Polling the Status Register and how to avoid itBlock Functions Block Write FunctionSlave Transmitter Function Slave Receiver FunctionCalibre When the the Most Commonly Asked I2C Questions Question Get corrupted transfers why is this?General Questions Question Do you have software to talk to my........?