add more doxygen docs

start to use TUSB_Error_t
This commit is contained in:
hathach
2012-11-29 15:35:59 +07:00
parent 382cd30be2
commit 360b28b44f
18 changed files with 2006 additions and 57 deletions

View File

@@ -42,16 +42,24 @@
*/
/** \ingroup Group_TinyUSB
*
* \defgroup Group_TinyUSB_Configure Configuration tusb_cfg.h
* @{
*/
#ifndef _TUSB_CFG_H_
#define _TUSB_CFG_H_
#define CFG_TUSB_HOST ///< Enable Host Support
#define CFG_TUSB_DEVICE ///< Enable Device Support
#define CFG_CLASS_HID_KEYBOARD ///< Enable HID Keyboard support
/// 0: no debug infor 3: most debug infor provided
#define CFG_TUSB_DEBUG_LEVEL 3
/// Enable Host Support
#define CFG_TUSB_HOST
/// Enable Device Support
#define CFG_TUSB_DEVICE
/// Enable HID Keyboard support
#define CFG_CLASS_HID_KEYBOARD
#define CLASS_HID (defined CFG_CLASS_HID_KEYBOARD)