spi_dma_at91.h File Reference
SPI driver with DMA. More...
#include <kern/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. | |
Detailed Description
SPI driver with DMA.
- Note:
- Only one copy of SpiDmaAt91 is allowed for each application.
- Version:
- Id
- spi_dma_at91.h 2735 2009-07-03 14:20:05Z lottaviano
Definition in file spi_dma_at91.h.
Function Documentation
| void spi_dma_init | ( | SpiDmaAt91 * | spi | ) |
Init DMA SPI driver.
- Parameters:
-
spi A pointer to a SpiDmaAt91 structure.
Definition at line 203 of file spi_dma_at91.c.
| void spi_dma_setclock | ( | uint32_t | rate | ) |
Set the clock rate for SPI bus.
- Parameters:
-
rate The rate you want to set for SPI.
Definition at line 93 of file spi_dma_at91.c.
