aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/AT91SAM7/hal_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-29 13:37:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-11-29 13:37:19 +0000
commit937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6 (patch)
treec4bdb12be1bd62a663e6046c1b7ef995c3199a9d /os/hal/platforms/AT91SAM7/hal_lld.h
parent03933a5925ac71e4662d6152fad2237377a532cd (diff)
downloadChibiOS-937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6.tar.gz
ChibiOS-937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6.tar.bz2
ChibiOS-937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1357 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/AT91SAM7/hal_lld.h')
-rw-r--r--os/hal/platforms/AT91SAM7/hal_lld.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/os/hal/platforms/AT91SAM7/hal_lld.h b/os/hal/platforms/AT91SAM7/hal_lld.h
new file mode 100644
index 000000000..741062679
--- /dev/null
+++ b/os/hal/platforms/AT91SAM7/hal_lld.h
@@ -0,0 +1,67 @@
+/*
+ ChibiOS/RT - Copyright (C) 2006-2007 Giovanni Di Sirio.
+
+ This file is part of ChibiOS/RT.
+
+ ChibiOS/RT 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/RT 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 <http://www.gnu.org/licenses/>.
+*/
+
+/**
+ * @file AT91SAM7/hal_lld.h
+ * @brief AT91SAM7 HAL subsystem low level driver header
+ * @addtogroup AT91SAM7_HAL
+ * @{
+ */
+
+#ifndef _HAL_LLD_H_
+#define _HAL_LLD_H_
+
+#include "at91sam7.h"
+#include "at91lib/aic.h"
+
+/*===========================================================================*/
+/* Driver pre-compile time settings. */
+/*===========================================================================*/
+
+/**
+ * @brief Default action for the spurious handler, nothing.
+ */
+#if !defined(AT91SAM7_SPURIOUS_HANDLER_HOOK) || defined(__DOXYGEN__)
+#define AT91SAM7_SPURIOUS_HANDLER_HOOK()
+#endif
+
+/*===========================================================================*/
+/* Driver constants. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* Driver data structures and types. */
+/*===========================================================================*/
+
+/*===========================================================================*/
+/* External declarations. */
+/*===========================================================================*/
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void hal_lld_init(void);
+ void at91sam7_clock_init(void);
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _HAL_LLD_H_ */
+
+/** @} */