diff options
Diffstat (limited to 'tinyusb/tusb_cfg.h')
| -rw-r--r-- | tinyusb/tusb_cfg.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/tinyusb/tusb_cfg.h b/tinyusb/tusb_cfg.h index 7331d904f..478577ebf 100644 --- a/tinyusb/tusb_cfg.h +++ b/tinyusb/tusb_cfg.h @@ -35,23 +35,26 @@ * This file is part of the tiny usb stack. */ -#ifndef _TUSB_CFG_H_ -#define _TUSB_CFG_H_ - -#ifdef __cplusplus - extern "C" { -#endif +/** \file + * \brief Configure File + * + * \note TBD + */ -#include "common/common.h" +/** \ingroup Group_TinyUSB + * + * @{ + */ -#define CFG_TUSB_HOST -#define CFG_TUSB_DEVICE +#ifndef _TUSB_CFG_H_ +#define _TUSB_CFG_H_ -#define CFG_CLASS_HID_KEYBOARD +#define CFG_TUSB_HOST ///< Enable Host Support +#define CFG_TUSB_DEVICE ///< Enable Device Support +#define CFG_CLASS_HID_KEYBOARD ///< Enable HID Keyboard support #define CLASS_HID (defined CFG_CLASS_HID_KEYBOARD) - // TODO APP #define USB_MAX_IF_NUM 8 #define USB_MAX_EP_NUM 5 @@ -75,8 +78,6 @@ #define CDC_NOTIFICATION_EP_MAXPACKETSIZE 8 #define CDC_DATA_EP_MAXPACKET_SIZE 16 -#ifdef __cplusplus - } -#endif - #endif /* _TUSB_CFG_H_ */ + +/** @} */ |
