mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-04 08:21:57 +00:00
This patch adds composite support for USB class drivers. It acts as a relay between the usb_device stack and class or function drivers. Signed-off-by: Johann Fischer <j.fischer@phytec.de>
17 lines
344 B
C
17 lines
344 B
C
/* composite.h - USB composite device driver relay header */
|
|
|
|
/*
|
|
* Copyright (c) 2017 PHYTEC Messtechnik GmbH
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __USB_COMPOSITE__
|
|
#define __USB_COMPOSITE__
|
|
|
|
#include <usb/usb_device.h>
|
|
|
|
int composite_add_function(struct usb_cfg_data *cfg_data, u8_t if_num);
|
|
|
|
#endif /* __USB_COMPOSITE__ */
|