aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-05-23 12:19:13 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-05-23 12:19:13 +0000
commitec80f9b8a4b1e82fdc7896c70064c39374522cd1 (patch)
treef88dccded73a1026139f6588a5f002986510681e /os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h
parentedbb1137a3651757e2722a143e60f0a8375e2201 (diff)
downloadChibiOS-ec80f9b8a4b1e82fdc7896c70064c39374522cd1.tar.gz
ChibiOS-ec80f9b8a4b1e82fdc7896c70064c39374522cd1.tar.bz2
ChibiOS-ec80f9b8a4b1e82fdc7896c70064c39374522cd1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5749 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h')
-rw-r--r--os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h
index 1b0be8208..f16667f90 100644
--- a/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h
+++ b/os/hal/platforms/SPC5xx/DSPI_v1/spi_lld.h
@@ -15,8 +15,8 @@
*/
/**
- * @file templates/spi_lld.h
- * @brief SPI Driver subsystem low level driver header template.
+ * @file SPC5xx/DSPI_v1/spi_lld.h
+ * @brief SPC5xx SPI subsystem low level driver header.
*
* @addtogroup SPI
* @{
@@ -421,13 +421,23 @@ struct SPIDriver {
*/
struct spc5_dspi *dspi;
/**
+ * @brief EDMA channel used for data memory to memory copy.
+ */
+ edma_channel_t tx1_channel;
+ /**
* @brief EDMA channel used for transmit.
*/
- edma_channel_t tx_channel;
+ edma_channel_t tx2_channel;
/**
* @brief EDMA channel used for receive.
*/
edma_channel_t rx_channel;
+ /**
+ * @brief TX intermediate buffer.
+ * @note This field is written by the TX1 DMA channel and read by the
+ * TX2 DMA channel.
+ */
+ uint32_t tx_intbuf;
};
/*===========================================================================*/