aboutsummaryrefslogtreecommitdiff
path: root/busdevice.h
diff options
context:
space:
mode:
authorTero Kontkanen <tero.k@granitedevices.com>2017-08-23 14:44:10 +0300
committerTero Kontkanen <tero.k@granitedevices.com>2017-08-23 14:44:10 +0300
commit98a89371108bbcdedb201caf7be8b82a323e60cc (patch)
tree915a5596c632256ab77d5dc42236644307ea3b66 /busdevice.h
parent5d21340928cd46b3cb97cae0b9c707a71ef9ced0 (diff)
parent4176d9358a526ff207bb5f4d127f4143a632d748 (diff)
downloadSimpleMotionV2-98a89371108bbcdedb201caf7be8b82a323e60cc.tar.gz
SimpleMotionV2-98a89371108bbcdedb201caf7be8b82a323e60cc.zip
Merge branch 'feature/port_driver_ftdi_d2xx' into develop
Diffstat (limited to 'busdevice.h')
-rw-r--r--busdevice.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/busdevice.h b/busdevice.h
index 6a02a26..3cb4e24 100644
--- a/busdevice.h
+++ b/busdevice.h
@@ -31,5 +31,13 @@ smbool smBDTransmit(const smbusdevicehandle handle);
smbool smBDRead( const smbusdevicehandle handle , smuint8 *byte );
+//BUS DEVICE INFO FETCH FUNCTIONS:
+
+// Return number of bus devices found. details of each device may be consequently fetched by smBDGetBusDeviceDetails()
+smint smBDGetNumberOfDetectedBuses();
+
+//return smtrue if success
+smbool smBDGetBusDeviceDetails( smint index, SM_BUS_DEVICE_INFO *info );
+
#endif