git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5532 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2013-04-02 13:15:45 +00:00
parent 6bd8cc798b
commit 93baafe2e6
1 changed files with 4 additions and 4 deletions

View File

@ -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); \
}
/**