aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-07-11 14:36:20 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-07-11 14:36:20 +0000
commit43def70685c2b8cfc998a4a906d6b209aeb974ac (patch)
treeb36f52e65d8ff611bd00de8cda3c89bede2a0a4c /src
parent2b5e0544c8285976d94abe21268342698c94dd85 (diff)
downloadChibiOS-43def70685c2b8cfc998a4a906d6b209aeb974ac.tar.gz
ChibiOS-43def70685c2b8cfc998a4a906d6b209aeb974ac.tar.bz2
ChibiOS-43def70685c2b8cfc998a4a906d6b209aeb974ac.zip
Completed PAL support for AT91SAM7X.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1057 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src')
-rw-r--r--src/lib/pal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/pal.h b/src/lib/pal.h
index c45a801e6..b75582ee1 100644
--- a/src/lib/pal.h
+++ b/src/lib/pal.h
@@ -28,6 +28,13 @@
#define _PAL_H_
/**
+ * @brief Bits in a mode word dedicated as mode selector.
+ * @details The other bits are not defined and may be used as device-specific
+ * option bits.
+ */
+#define PAL_MODE_MASK 0xF
+
+/**
* @brief After reset state.
* @details The state itself is not specified and is architecture dependent,
* it is guaranteed to be equal to the after-reset state. It is