diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-08-10 14:07:42 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-08-10 14:07:42 +0000 |
commit | 1c64ee6921bc85d56cf5fae3afe399bfbfdd627a (patch) | |
tree | 633db475804842baafca8a74d032b5c040d8e40d /os/hal/platforms/STM32/spi_lld.h | |
parent | 2d1ded91fe36fbfa8427ce854d82cc3947789b31 (diff) | |
download | ChibiOS-1c64ee6921bc85d56cf5fae3afe399bfbfdd627a.tar.gz ChibiOS-1c64ee6921bc85d56cf5fae3afe399bfbfdd627a.tar.bz2 ChibiOS-1c64ee6921bc85d56cf5fae3afe399bfbfdd627a.zip |
STM32 related improvements, better SPI driver, improved DMA infrastructure.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2122 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/spi_lld.h')
-rw-r--r-- | os/hal/platforms/STM32/spi_lld.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32/spi_lld.h b/os/hal/platforms/STM32/spi_lld.h index fd91f6746..4989712a9 100644 --- a/os/hal/platforms/STM32/spi_lld.h +++ b/os/hal/platforms/STM32/spi_lld.h @@ -194,11 +194,11 @@ typedef struct { /** @brief Pointer to the SPIx registers block.*/
SPI_TypeDef *spd_spi;
/** @brief Pointer to the receive DMA channel registers block.*/
- DMA_Channel_TypeDef *spd_dmarx;
+ stm32_dma_channel_t *spd_dmarx;
/** @brief Pointer to the transmit DMA channel registers block.*/
- DMA_Channel_TypeDef *spd_dmatx;
+ stm32_dma_channel_t *spd_dmatx;
/** @brief DMA priority bit mask.*/
- uint32_t spd_dmaprio;
+ uint32_t spd_dmaccr;
} SPIDriver;
/*===========================================================================*/
|