x

Fork of BurstSPI by Erik Olieman

Committer:
JackB
Date:
Mon Jul 23 12:23:44 2018 +0000
Revision:
14:35df38577abd
Parent:
13:bc069279eb37
BSPI

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Sissors 10:6ed1d9f1ef37 1 #if !(defined(TARGET_KL25Z) || defined(TARGET_KL46Z))
Backstrom 11:36ac5fd058dd 2 #if !(defined(TARGET_LPC1768) || defined(TARGET_LPC1114) || defined(TARGET_LPC11U24) || defined(TARGET_LPC13XX) || defined(TARGET_LPC1549))
Sissors 13:bc069279eb37 3 #if !(defined(TARGET_NUCLEO_L152RE) || defined(TARGET_STM32F4))
JackB 14:35df38577abd 4 //#if !(defined(TARGET_NUCLEO_L152RE) || defined(TARGET_STM32F4) || defined(TARGET_STM32F7))
Sissors 10:6ed1d9f1ef37 5
Sissors 10:6ed1d9f1ef37 6 #warning BurstSPI target not supported, reverting to regular SPI
Sissors 10:6ed1d9f1ef37 7
Sissors 10:6ed1d9f1ef37 8 #include "BurstSPI.h"
Sissors 10:6ed1d9f1ef37 9
Sissors 10:6ed1d9f1ef37 10 void BurstSPI::fastWrite(int data) {
Sissors 10:6ed1d9f1ef37 11 write(data);
Sissors 10:6ed1d9f1ef37 12 }
Sissors 10:6ed1d9f1ef37 13
Sissors 10:6ed1d9f1ef37 14 void BurstSPI::clearRX( void ) {
Sissors 10:6ed1d9f1ef37 15
Sissors 10:6ed1d9f1ef37 16 }
Sissors 10:6ed1d9f1ef37 17 #endif //Freescale
Sissors 10:6ed1d9f1ef37 18 #endif //NXP
Sissors 10:6ed1d9f1ef37 19 #endif //NUCLEO