BeRTOS
|
SPI driver with DMA. More...
#include <io/kfile.h>
Go to the source code of this file.
Functions | |
void | spi_dma_init (SpiDmaAt91 *spi) |
Init DMA SPI driver. | |
void | spi_dma_setclock (uint32_t rate) |
Set the clock rate for SPI bus. |
SPI driver with DMA.
Definition in file spi_dma_at91.h.
void spi_dma_init | ( | SpiDmaAt91 * | spi | ) |
Init DMA SPI driver.
spi | A pointer to a SpiDmaAt91 structure. |
Definition at line 132 of file spi_dma_at91.c.
void spi_dma_setclock | ( | uint32_t | rate | ) |
Set the clock rate for SPI bus.
rate | The rate you want to set for SPI. |
Definition at line 55 of file spi_dma_at91.c.