Dimax English Dimax French Dimax English Dimax Translations
USB-I2C/SPI/GPIO Interface Adapter - U2C-12
Reference Manual

U2C_ScanDevices


U2C_RESULT U2C_ScanDevices (
            HANDLE hDevice,
             PU2C_SLAVE_ADDR_LIST pList
);
 

The U2C_ScanDevices function scans slave device addresses currently occupied by I2C slave devices connected to the I2C bus.

Parameters:
hDevice Handle to the U2C-12 device.
pList Pointer to the U2C_SLAVE_ADDR_LIST structure to be filled with slave device addresses. If function succeed nDeviceNumber member contains the number of the valid addresses in List array.
Return values:
U2C_SUCCESS Operation was successfully completed and pList is filled with valid data.
U2C_HARDWARE_NOT_FOUND U2C-12 device referenced by hDevice handle was not found.
            Copyright DIMAX 2002-2012