x

Dependents:   20180621_FT813

Fork of BurstSPI by Erik -

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers BurstSPI_Unsupported.cpp Source File

BurstSPI_Unsupported.cpp

00001 #if !(defined(TARGET_KL25Z) || defined(TARGET_KL46Z))
00002 #if !(defined(TARGET_LPC1768) || defined(TARGET_LPC1114) || defined(TARGET_LPC11U24) || defined(TARGET_LPC13XX) || defined(TARGET_LPC1549))
00003 #if !(defined(TARGET_NUCLEO_L152RE) || defined(TARGET_STM32F4))
00004 //#if !(defined(TARGET_NUCLEO_L152RE) || defined(TARGET_STM32F4) || defined(TARGET_STM32F7))
00005 
00006 #warning BurstSPI target not supported, reverting to regular SPI
00007 
00008 #include "BurstSPI.h"
00009 
00010 void BurstSPI::fastWrite(int data) {
00011     write(data);
00012 }
00013 
00014 void BurstSPI::clearRX( void ) {
00015 
00016 }
00017 #endif          //Freescale
00018 #endif          //NXP
00019 #endif          //NUCLEO