Seitenleiste


Access to information is restricted depending on your login. Request login-information through our contact form.

service:wince:drvlib:i2c:i2c_readburstall

I2C_ReadBurstAll

void I2C_ReadBurstAll(     
  UCHAR uSlaveAddress,
  UCHAR* pBuffer, 
  WORD iNumberBytes
); 
void i2c_BurstReadAll(     
  UCHAR uSlaveAddress,
  UCHAR* pBuffer, 
  WORD iNumberBytes
); 

Parameters

uSlaveAddress
Slave-Address of i2c-device.

pBuffer
Pointer to a Buffer that receives the bytes read.

iNumberBytes
Number of Bytes to read.

Remarks

Issues following sequence:

  1. Lock
  2. Start
  3. SlaveAddress with read-bit
  4. Read specified number of bytes
  5. Stop
  6. Unlock

This function calls I2C_Lock and I2C_Unlock to prevent multiple accesses to the i2c-bus. Don't lock access to i2c-bus prior to using this function!!

Requirements

OS Versions: Windows CE 4.2 and later.
Header: drvlib_app.h
Link Library: drvlib_app.lib

See Also

Cookies helfen bei der Bereitstellung von Inhalten. Durch die Nutzung dieser Seiten erklären Sie sich damit einverstanden, dass Cookies auf Ihrem Rechner gespeichert werden. Weitere Information
service/wince/drvlib/i2c/i2c_readburstall.txt · Zuletzt geändert: 2014/08/25 12:19 von