From 8cd811e2a9760afc1702ae0a872e999517bfcb40 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 29 Nov 2012 10:41:33 +0700 Subject: start to work with doxygen fix mem_size/mem_base usage with device rom driver --- tinyusb/common/errors.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'tinyusb/common/errors.h') 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 } -- cgit v1.3.1