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:
Handle to the U2C-12 device.
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.