Fork of Smoothie to port to mbed non-LPC targets.
Fork of Smoothie by
Diff: libs/spi_hal.h
- Revision:
- 3:f151d08d335c
- Parent:
- 2:1df0b61d3b5a
--- a/libs/spi_hal.h Fri Feb 28 18:52:52 2014 -0800 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -#ifndef _SPI_HAL_H -#define _SPI_HAL_H - -#include "lpc17xx_ssp.h" - -#ifdef __LPC17XX__ -#include <PinNames.h> - typedef struct { - uint8_t port; - uint8_t pin; - } Pin_t; - - typedef LPC_SSP_TypeDef SPI_REG; - typedef LPC_GPDMACH_TypeDef DMA_REG; - - #define N_SPI_INTERRUPT_ROUTINES 2 -#endif - -#endif /* _SPI_HAL_H */