From 1fc03db5861c232792042844c15153a7e1bcc724 Mon Sep 17 00:00:00 2001 From: Andrew Hannam Date: Thu, 17 Jan 2013 15:08:34 +1000 Subject: New Subsystems GADC, GAUDIN, GAUDOUT, GMISC Subsystem definitions and API (not fully implemented yet) --- src/gadc/gadc.c | 38 ++++++++++++++++++++++++++++++++++++++ src/gadc/gadc.mk | 1 + 2 files changed, 39 insertions(+) create mode 100644 src/gadc/gadc.c create mode 100644 src/gadc/gadc.mk (limited to 'src/gadc') diff --git a/src/gadc/gadc.c b/src/gadc/gadc.c new file mode 100644 index 00000000..5533bb49 --- /dev/null +++ b/src/gadc/gadc.c @@ -0,0 +1,38 @@ +/* + ChibiOS/GFX - Copyright (C) 2012 + Joel Bodenmann aka Tectu + + This file is part of ChibiOS/GFX. + + ChibiOS/GFX is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + ChibiOS/GFX is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +/** + * @file src/gadc/gadc.c + * @brief GADC sub-system code. + * + * @addtogroup GADC + * @{ + */ +#include "ch.h" +#include "hal.h" +#include "gfx.h" + +#if GFX_USE_GADC || defined(__DOXYGEN__) + + #error "GADC: Not implemented yet" + +#endif /* GFX_USE_GADC */ +/** @} */ + diff --git a/src/gadc/gadc.mk b/src/gadc/gadc.mk new file mode 100644 index 00000000..cfe04177 --- /dev/null +++ b/src/gadc/gadc.mk @@ -0,0 +1 @@ +GFXSRC += $(GFXLIB)/src/gadc/gadc.c -- cgit v1.2.3