diff options
| author | Tero Kontkanen <tero.kontkanen@granitedevices.fi> | 2017-08-19 17:05:51 +0300 |
|---|---|---|
| committer | Tero Kontkanen <tero.kontkanen@granitedevices.fi> | 2017-08-19 17:34:34 +0300 |
| commit | 6ef9e8c44e29d270c64c22b73ae00508966b4892 (patch) | |
| tree | da4561d6e961d0403689dc175ab288d8e127f134 /busdevice.h | |
| parent | d78fb3d4aac4ed7c28311a69ae86ffb88d03b972 (diff) | |
| download | SimpleMotionV2-6ef9e8c44e29d270c64c22b73ae00508966b4892.tar.gz SimpleMotionV2-6ef9e8c44e29d270c64c22b73ae00508966b4892.zip | |
Add functions to list compatible bus device (ftdi d2xx only)
Diffstat (limited to 'busdevice.h')
| -rw-r--r-- | busdevice.h | 8 |
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 |
