summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-03 12:05:49 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-04-08 16:42:38 +0200
commitdb21e1dd6c57614eee7ee6916373fea0c2406021 (patch)
tree8cbfd8ac2c6a3a5704f6fa19e0519764f1c25c7f /c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h
parentbsp/mpc55xx: Add alternative register layout (diff)
downloadrtems-db21e1dd6c57614eee7ee6916373fea0c2406021.tar.bz2
bsp/mpc55xx: eDMA API changes
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h b/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h
index 38e1794670..98bccc606b 100644
--- a/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h
+++ b/c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h
@@ -38,6 +38,11 @@ extern "C" {
struct DSPI_tag;
+typedef struct {
+ edma_channel_context edma;
+ rtems_id id;
+} mpc55xx_dspi_edma_entry;
+
/**
* @brief LibI2C bus driver entry.
*/
@@ -79,21 +84,21 @@ typedef struct {
*
* The channel is fixed to a particular DSPI.
*/
- mpc55xx_edma_channel_entry edma_transmit;
+ mpc55xx_dspi_edma_entry edma_transmit;
/**
* @brief eDMA entry for push data generation.
*
* You can choose every available channel.
*/
- mpc55xx_edma_channel_entry edma_push;
+ mpc55xx_dspi_edma_entry edma_push;
/**
* @brief eDMA entry for receiving.
*
* The channel is fixed to a particular DSPI.
*/
- mpc55xx_edma_channel_entry edma_receive;
+ mpc55xx_dspi_edma_entry edma_receive;
/**
* @brief Idle character transmitted in read only mode.