3.2.4.24 TPL_INTERFACE_ANY Macro

C

#define TPL_INTERFACE_ANY(initData, driver)\
{\
    .id.cl_sc_p = { 0xFF, 0xFF, 0xFF },\
    .pidMask = 0xFFFF,\
    .tplFlags.driverType = (uint8_t)(TPL_FLAG_CLASS_SUBCLASS_PROTOCOL),\
    .tplFlags.ignoreClass = true,\
    .tplFlags.ignoreSubClass = true,\
    .tplFlags.ignoreProtocol = true,\
    .hostClientDriverInitData = initData,\
    .hostClientDriver = driver\
}

Summary

Attach client driver to all interfaces.

Description

This macro allows the application to specify a TPL table entry to attach a client driver while ignoring the class, subclass and protocol fields.

Remarks

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