summaryrefslogtreecommitdiff
path: root/tinyusb/common/errors.h
diff options
context:
space:
mode:
authorhathach <[email protected]>2012-11-29 10:41:33 +0700
committerhathach <[email protected]>2012-11-29 10:41:33 +0700
commit8cd811e2a9760afc1702ae0a872e999517bfcb40 (patch)
tree09ec2245a515fad540e60ebcf1da915de99e99fd /tinyusb/common/errors.h
parent851f5bfd06c837626ddf06f1c326970763d07010 (diff)
start to work with doxygen
fix mem_size/mem_base usage with device rom driver
Diffstat (limited to 'tinyusb/common/errors.h')
-rw-r--r--tinyusb/common/errors.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h
index e4a75f0e8..20a797792 100644
--- a/tinyusb/common/errors.h
+++ b/tinyusb/common/errors.h
@@ -35,13 +35,31 @@
* This file is part of the tiny usb stack.
*/
+/** \file
+ * \brief Error Header
+ *
+ * \note TBD
+ */
+
+/** \ingroup Group_Common
+ *
+ * @{
+ */
+
#ifndef _TUSB_ERRORS_H_
#define _TUSB_ERRORS_H_
+enum TUSB_ERROR {
+# define ERROR_ENUM(x) x,
+# include "errors_def"
+# undef ERROR_ENUM
+};
+
#ifdef __cplusplus
extern "C" {
#endif
+extern char const* const TUSB_ErrorStr[];
#ifdef __cplusplus
}