Fork of BurstSPI with Nucleo F411RE support

Fork of BurstSPI by Erik -

Committer:
infotech1
Date:
Fri Dec 05 06:35:12 2014 +0000
Revision:
11:9d43f61b3184
Parent:
10:6ed1d9f1ef37
Added F411RE support

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Sissors 10:6ed1d9f1ef37 1 #if !(defined(TARGET_KL25Z) || defined(TARGET_KL46Z))
Sissors 10:6ed1d9f1ef37 2 #if !(defined(TARGET_LPC1768) || defined(TARGET_LPC1114) || defined(TARGET_LPC11U24) || defined(TARGET_LPC13XX))
infotech1 11:9d43f61b3184 3 #if !(defined(TARGET_NUCLEO_L152RE) || defined(TARGET_NUCLEO_F411RE))
infotech1 11:9d43f61b3184 4
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