Paparazzi UAS  v5.15_devel-112-g521f3cf
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
spi.c File Reference

Architecture independent SPI (Serial Peripheral Interface) API. More...

#include "std.h"
#include "mcu_periph/spi.h"
+ Include dependency graph for spi.c:

Go to the source code of this file.

Functions

void spi0_init (void)
 
void spi1_init (void)
 
void spi2_init (void)
 
void spi_init (struct spi_periph *p)
 Initialize a spi peripheral. More...
 
void spi_slave_init (struct spi_periph *p)
 Initialize a spi peripheral in slave mode. More...
 

Variables

struct spi_periph spi0
 
struct spi_periph spi1
 receive transferred over DMA More...
 
struct spi_periph spi2
 receive transferred over DMA More...
 

Detailed Description

Architecture independent SPI (Serial Peripheral Interface) API.

Definition in file spi.c.