[][src]Function silabs_usb_xpress::product_string

pub fn product_string(
    device_ix: usize,
    product_string_type: ProductStringType
) -> Result<String, SilabsUsbXpressError>

Returns a descriptor for a device

This function returns a null terminated serial number (S/N) string or product description string for the device specified by an index passed in DeviceNum. The index for the first device is 0 and the last device is the value returned by SI_GetNumDevices – 1.

  • Supported Devices

C8051F320/1/6/7, C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D, C8051F380/1/2/3/4/5/6/7, C8051T320/1/2/3/6/7, C8051T620/1/2/3, CP2101/2/3/4/5/8/9