diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-03 12:05:49 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-04-08 16:42:38 +0200 |
commit | db21e1dd6c57614eee7ee6916373fea0c2406021 (patch) | |
tree | 8cbfd8ac2c6a3a5704f6fa19e0519764f1c25c7f /c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h | |
parent | bsp/mpc55xx: Add alternative register layout (diff) | |
download | rtems-db21e1dd6c57614eee7ee6916373fea0c2406021.tar.bz2 |
bsp/mpc55xx: eDMA API changes
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/powerpc/mpc55xx/include/dspi.h | 11 |
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. |