From: asterix Date: Mon, 13 Jun 2011 10:07:51 +0000 (+0000) Subject: Remove unneeded file. X-Git-Tag: 2.7.0~9 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a2b62bd610858d31a552236c97a4e1a630940756;p=bertos.git Remove unneeded file. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4957 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/drv/spi_dma_sam3.h b/bertos/cpu/cortex-m3/drv/spi_dma_sam3.h deleted file mode 100644 index db9d55fb..00000000 --- a/bertos/cpu/cortex-m3/drv/spi_dma_sam3.h +++ /dev/null @@ -1,73 +0,0 @@ -/** - * \file - * - * - * \brief SPI driver with DMA. - * - * \note Only one copy of SpiDma is allowed for each application. - * - * \author Francesco Sacchi - * \author Luca Ottaviano - * \author Daniele Basile - */ - -#ifndef DRV_SPI_DMA_H -#define DRV_SPI_DMA_H - -#include - -typedef struct SpiDma -{ - KFile fd; -} SpiDma; - -#define KFT_SPIDMA MAKE_ID('S', 'P', 'I', 'D') - -INLINE SpiDma * SPIDMA_CAST(KFile *fd) -{ - ASSERT(fd->_type == KFT_SPIDMA); - return (SpiDma *)fd; -} - -/** - * Init DMA SPI driver. - * \param spi A pointer to a SpiDma structure. - */ -void spi_dma_init(SpiDma *spi); - -/** - * Set the clock rate for SPI bus. - * - * \param rate The rate you want to set for SPI. - */ -void spi_dma_setclock(uint32_t rate); - -#endif /* DRV_SPI_DMA_H */