3.2.4.27 TPL_DEVICE_ANY Macro

C

#define TPL_DEVICE_ANY(initData, driver)\
{\
    .id.vid_pid = { 0xFFFF, 0xFFFF },\
    .pidMask = 0x0000,\
    .tplFlags.driverType = (uint8_t)(TPL_FLAG_VID_PID),\
    .tplFlags.pidMasked = 1,\
    .tplFlags.ignoreVIDPID = 1,\
    .hostClientDriverInitData = initData,\
    .hostClientDriver = driver\
}

Summary

Attach client driver to all devices.

Description

This macro allows the application to specify a TPL table entry to attach a client driver to any device. The VID and PID fields of the device are ignored.

Remarks

This is a helper macro only. It sets up the TPL entry fields to implement the specified matching criteria.