diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-08-27 16:42:07 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-08-27 16:42:07 +0000 |
commit | 8b55cb9767ce881b7a22c5af34605ed3a261582d (patch) | |
tree | 2b1e4239c2909496d83058a0a16da65525c9e70c /os/io/platforms/MSP430/pal_lld.h | |
parent | b8e618f59a5bc34aa76e2aacd6484ad217c54e33 (diff) | |
download | ChibiOS-8b55cb9767ce881b7a22c5af34605ed3a261582d.tar.gz ChibiOS-8b55cb9767ce881b7a22c5af34605ed3a261582d.tar.bz2 ChibiOS-8b55cb9767ce881b7a22c5af34605ed3a261582d.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1109 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/io/platforms/MSP430/pal_lld.h')
-rw-r--r-- | os/io/platforms/MSP430/pal_lld.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/os/io/platforms/MSP430/pal_lld.h b/os/io/platforms/MSP430/pal_lld.h index 94407a849..91c0707c1 100644 --- a/os/io/platforms/MSP430/pal_lld.h +++ b/os/io/platforms/MSP430/pal_lld.h @@ -150,7 +150,7 @@ typedef union __ioport * ioportid_t; #if defined(__MSP430_HAS_PORT1__) || \
defined(__MSP430_HAS_PORT1_R__) || \
defined(__DOXYGEN__)
-#define IOPORT_A ((ioportid_t)0x0020)
+#define IOPORT1 ((ioportid_t)0x0020)
#endif
/**
@@ -160,7 +160,7 @@ typedef union __ioport * ioportid_t; #if defined(__MSP430_HAS_PORT2__) || \
defined(__MSP430_HAS_PORT2_R__) || \
defined(__DOXYGEN__)
-#define IOPORT_B ((ioportid_t)0x0028)
+#define IOPORT2 ((ioportid_t)0x0028)
#endif
/**
@@ -170,7 +170,7 @@ typedef union __ioport * ioportid_t; #if defined(__MSP430_HAS_PORT3__) || \
defined(__MSP430_HAS_PORT3_R__) || \
defined(__DOXYGEN__)
-#define IOPORT_C ((ioportid_t)0x0018)
+#define IOPORT3 ((ioportid_t)0x0018)
#endif
/**
@@ -180,7 +180,7 @@ typedef union __ioport * ioportid_t; #if defined(__MSP430_HAS_PORT4__) || \
defined(__MSP430_HAS_PORT4_R__) || \
defined(__DOXYGEN__)
-#define IOPORT_D ((ioportid_t)0x001c)
+#define IOPORT4 ((ioportid_t)0x001c)
#endif
/**
@@ -190,7 +190,7 @@ typedef union __ioport * ioportid_t; #if defined(__MSP430_HAS_PORT5__) || \
defined(__MSP430_HAS_PORT5_R__) || \
defined(__DOXYGEN__)
-#define IOPORT_E ((ioportid_t)0x0030)
+#define IOPORT5 ((ioportid_t)0x0030)
#endif
/**
@@ -200,7 +200,7 @@ typedef union __ioport * ioportid_t; #if defined(__MSP430_HAS_PORT6__) || \
defined(__MSP430_HAS_PORT6_R__) || \
defined(__DOXYGEN__)
-#define IOPORT_F ((ioportid_t)0x0034)
+#define IOPORT6 ((ioportid_t)0x0034)
#endif
/*===========================================================================*/
|