zephyr/subsys/usb/composite.h
Johann Fischer 9b0da3bc0a subsys: usb: add composite device support
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>
2017-10-13 09:18:14 -04:00

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__ */