Paparazzi UAS  v4.2.2_stable-4-gcc32f65
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
spi_arch.c File Reference
#include "mcu_periph/spi.h"
#include "std.h"
#include "LPC21xx.h"
#include "armVIC.h"
+ Include dependency graph for spi_arch.c:

Go to the source code of this file.


#define PINSEL1_SCK   (2 << 2)
#define PINSEL1_MISO   (2 << 4)
#define PINSEL1_MOSI   (2 << 6)
#define PINSEL1_SSEL   (2 << 8)


volatile uint8_t spi_tx_idx
 handling of arm7 SPI hardware for now only SPI1 ( aka SSP ) More...
volatile uint8_t spi_rx_idx

Macro Definition Documentation

#define PINSEL1_MISO   (2 << 4)

Definition at line 44 of file spi_arch.c.

#define PINSEL1_MOSI   (2 << 6)

Definition at line 45 of file spi_arch.c.

#define PINSEL1_SCK   (2 << 2)

Definition at line 43 of file spi_arch.c.

#define PINSEL1_SSEL   (2 << 8)

Definition at line 46 of file spi_arch.c.

Variable Documentation

volatile uint8_t spi_rx_idx

Definition at line 35 of file spi_arch.c.

volatile uint8_t spi_tx_idx

handling of arm7 SPI hardware for now only SPI1 ( aka SSP )

Definition at line 34 of file spi_arch.c.