The different bus types that connect to peripherals.
Synopsis:
#include <peripheral_discovery.h>
typedef enum {
PD_BUS_USB_DEVICE_MODE = 0
PD_BUS_USB_HOST_MODE = 1
PD_BUS_BLUETOOTH = 2
PD_BUS_DISPLAYPORT = 3
PD_BUS_HDMI = 4
} pd_bus_t;
Data:
- PD_BUS_USB_DEVICE_MODE
- Peripherals connected when device is in USB device mode (i.e., connected to a host)
- PD_BUS_USB_HOST_MODE
- Peripherals connected when device is in USB host mode.
- PD_BUS_BLUETOOTH
- Peripherals connected to Bluetooth.
- PD_BUS_DISPLAYPORT
- Peripherals connected to DisplayPort.
- PD_BUS_HDMI
- Peripherals connected to HDMI.
Library:
libperipheral_discovery (For the qcc command, use the -l peripheral_discovery option to link against this library)