zephyr/subsys/usb/device/usb_transfer.h
Johann Fischer 6be45c2a18 usb: move USB device stack code to own directory
Until now the whole USB device stack code is located
in the top subsys/usb directory. Move it to own directory
in preparation for upcoming extension and rework of USB support.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
2022-03-31 18:30:14 +02:00

26 lines
398 B
C

/*
* Copyright (c) 2019 PHYTEC Messtechnik GmbH
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_USB_TRANSFER_H_
#define ZEPHYR_USB_TRANSFER_H_
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Initialize USB transfer data
*
* @return 0 on success, negative errno code on fail.
*/
int usb_transfer_init(void);
#ifdef __cplusplus
}
#endif
#endif /* ZEPHYR_USB_TRANSFER_H_ */