diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-02 13:15:45 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-02 13:15:45 +0000 |
commit | 93baafe2e631849f61e8e73752c2b51cefa44578 (patch) | |
tree | 4c3ca7ebdc764d5c1bd51c3c40a6c2fe74fa965f | |
parent | 6bd8cc798b6041cd95f7b6eaec2d2238ccf40cd7 (diff) | |
download | ChibiOS-93baafe2e631849f61e8e73752c2b51cefa44578.tar.gz ChibiOS-93baafe2e631849f61e8e73752c2b51cefa44578.tar.bz2 ChibiOS-93baafe2e631849f61e8e73752c2b51cefa44578.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5532 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h b/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h index 2f4c99d82..06ec99eef 100644 --- a/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h +++ b/os/hal/platforms/SPC5xx/EDMA_v1/spc5_edma.h @@ -659,7 +659,7 @@ typedef struct { *
* @api
*/
-#define edmaGetTCD(channel) ((edma_tcd_t *)&EDMA.TCD[channel])
+#define edmaGetTCD(channel) ((edma_tcd_t *)&SPC5_EDMA.TCD[channel])
/**
* @brief Sets the word 0 fields into a TCD.
@@ -764,7 +764,7 @@ typedef struct { *
* @api
*/
-#define edmaChannelStart(channel) (EDMA.SERQR.R = (channel))
+#define edmaChannelStart(channel) (SPC5_EDMA.SERQR.R = (channel))
/**
* @brief Stops an EDMA channel.
@@ -774,8 +774,8 @@ typedef struct { * @api
*/
#define edmaChannelStop(channel) { \
- EDMA.CERQR.R = (channel); \
- EDMA.CDSBR.R = (channel); \
+ SPC5_EDMA.CERQR.R = (channel); \
+ SPC5_EDMA.CDSBR.R = (channel); \
}
/**
|