/* * Copyright (C) 2018 Mesotic SAS * * This file is subject to the terms and conditions of the GNU Lesser General * Public License v2.1. See the file LICENSE in the top level directory for * more details. */ /** * @defgroup usbus_cdc_acm_stdio STDIO over CDC ACM (usbus) * @ingroup sys_stdio * @brief Standard input/output backend using usbus CDC ACM. * * This will provide STDIO via a virtual COM port over USB. * It can be enabled with * * USEMODULE += stdio_cdc_acm * * @see usbus_cdc_acm */ /** * @defgroup usbus_cdc_acm USBUS CDC ACM - USBUS CDC abstract control model * @ingroup usb * @brief USBUS CDC ACM interface module * * @{ * * @file * @brief Interface and definitions for USB CDC ACM type interfaces in * USBUS. * * The functionality provided here only implements the USB * specific handling. A different module is required to provide * functional handling of the data e.g. UART or STDIO integration. * * @author Dylan Laduranty * @author Koen Zandberg */ #ifndef USB_USBUS_CDC_ACM_H #define USB_USBUS_CDC_ACM_H #include #include "usb/cdc.h" #include "usb/usbus.h" #include "tsrb.h" #ifdef __cplusplus extern "C" { #endif /** * @defgroup usbus_cdc_acm_conf USBUS CDC ACM compile time configurations * @ingroup usb_conf * @{ */ /** * @brief Buffer size for STDIN and STDOUT data to and from USB when using * the USBUS_CDC_ACM_STDIO module */ #ifdef CONFIG_USBUS_CDC_ACM_STDIO_BUF_SIZE_EXP #define CONFIG_USBUS_CDC_ACM_STDIO_BUF_SIZE (1<