3.2.4.25 TPL_DEVICE_VID_PID Macro
C
#define TPL_DEVICE_VID_PID(vid, pid, initData, driver)\ {\ .id.vid_pid = { vid, pid },\ .pidMask = 0xFFFF,\ .tplFlags.driverType = (uint8_t)(TPL_FLAG_VID_PID),\ .tplFlags.pidMasked = 0,\ .tplFlags.ignoreVIDPID = 0,\ .hostClientDriverInitData = initData,\ .hostClientDriver = driver\ }
Summary
Attach client driver to interface based on VID and PID.
Description
This macro allows the application to specify a TPL table entry to attach a client driver to an device when the VID and PID of the device match the parameters specified in the entry.
Remarks
None.