git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4789 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
fa981ee883
commit
c16434a401
|
@ -160,6 +160,22 @@
|
|||
USB_DESC_BYTE(bInterfaceProtocol), \
|
||||
USB_DESC_INDEX(iInterface)
|
||||
|
||||
/**
|
||||
* @brief Interface Association Descriptor helper macro.
|
||||
*/
|
||||
#define USB_DESC_INTERFACE_ASSOCIATION(bFirstInterface, \
|
||||
bInterfaceCount, bFunctionClass, \
|
||||
bFunctionSubClass, bFunctionProcotol, \
|
||||
iInterface) \
|
||||
USB_DESC_BYTE(8), \
|
||||
USB_DESC_BYTE(USB_DESCRIPTOR_INTERFACE_ASSOCIATION), \
|
||||
USB_DESC_BYTE(bFirstInterface), \
|
||||
USB_DESC_BYTE(bInterfaceCount), \
|
||||
USB_DESC_BYTE(bFunctionClass), \
|
||||
USB_DESC_BYTE(bFunctionSubClass), \
|
||||
USB_DESC_BYTE(bFunctionProcotol), \
|
||||
USB_DESC_INDEX(iInterface)
|
||||
|
||||
/**
|
||||
* @brief Endpoint Descriptor helper macro.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue