enabled specifying numeric config values using all strtof capabilities
[clinton/Smoothieware.git] / src / libs / spi_hal.h
CommitLineData
7064cca7
MM
1#ifndef _SPI_HAL_H
2#define _SPI_HAL_H
3
4#include "lpc17xx_ssp.h"
5
6#ifdef __LPC17XX__
7#include <PinNames.h>
8 typedef struct {
9 uint8_t port;
10 uint8_t pin;
11 } Pin_t;
12
13 typedef LPC_SSP_TypeDef SPI_REG;
14 typedef LPC_GPDMACH_TypeDef DMA_REG;
15
16 #define N_SPI_INTERRUPT_ROUTINES 2
17#endif
18
19#endif /* _SPI_HAL_H */