From a2b62bd610858d31a552236c97a4e1a630940756 Mon Sep 17 00:00:00 2001 From: asterix Date: Mon, 13 Jun 2011 10:07:51 +0000 Subject: [PATCH] Remove unneeded file. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4957 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/drv/spi_dma_sam3.h | 73 ------------------------- 1 file changed, 73 deletions(-) delete mode 100644 bertos/cpu/cortex-m3/drv/spi_dma_sam3.h 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 */ -- 2.25.1