Fast SPI write, added LPC812 Target

Dependents:   wsDrive

Fork of BurstSPI by Erik -

BurstSPI_Unsupported.cpp

Committer:
JojoS
Date:
2016-12-10
Revision:
15:8241b7d84ad2
Parent:
14:83e3b8ba3f43

File content as of revision 15:8241b7d84ad2:

#if !(defined(TARGET_KL25Z) || defined(TARGET_KL46Z))
#if !(defined(TARGET_LPC1768) || defined(TARGET_LPC1114) || defined(TARGET_LPC11U24) || defined(TARGET_LPC13XX) || defined(TARGET_LPC1549) || defined(TARGET_LPC81X))
#if !(defined(TARGET_NUCLEO_L152RE) || defined(TARGET_STM32F4))

#warning BurstSPI target not supported, reverting to regular SPI

#include "BurstSPI.h"

void BurstSPI::fastWrite(int data) {
    write(data);
}

void BurstSPI::clearRX( void ) {

}
#endif          //Freescale
#endif          //NXP
#endif          //NUCLEO