#ifndef _DEV_SPIBUS_LPC17XX_SSP_H_ #define _DEV_SPIBUS_LPC17XX_SSP_H_ /* * Copyright (C) 2013 Simon Budig * * placed in the public domain */ #include #if defined(MCU_LPC176x) #include #elif defined(MCU_LPC177x_8x) #include #elif defined(MCU_LPC407x_8x) #include #else #warning "Unknown LPC familiy" #endif /*! * \file dev/spibus_lpc17xx_ssp.h * \brief LPC17xx specific SSP bus * * \verbatim * $Id: * \endverbatim */ #include extern NUTSPIBUS spiBus0Lpc17xxSsp; extern NUTSPIBUS spiBus1Lpc17xxSsp; #if defined(LPC_SSP2_BASE) extern NUTSPIBUS spiBus2Lpc17xxSsp; #endif #endif