From 43def70685c2b8cfc998a4a906d6b209aeb974ac Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 11 Jul 2009 14:36:20 +0000 Subject: Completed PAL support for AT91SAM7X. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1057 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- src/lib/pal.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib') 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 @@ -27,6 +27,13 @@ #ifndef _PAL_H_ #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, -- cgit v1.2.3