Fast SPI write, added LPC812 Target

Dependents:   wsDrive

Fork of BurstSPI by Erik -

Revision:
14:83e3b8ba3f43
Parent:
3:7d9b64d67b22
--- a/BurstSPI.h	Sat May 16 11:09:59 2015 +0000
+++ b/BurstSPI.h	Sun Oct 09 16:48:17 2016 +0000
@@ -3,6 +3,11 @@
 
 #include "mbed.h"
 
+// this define is for compatibility of LPC15xx or LPC8xx SPI
+// if not defined, the fastWrite() sets the EOT flag after transmission. Then the MOSI line is set high (or high Imp?) 
+// This is not the same behaviour as with older SPI hardware. 
+// For use in standard SPI this may be ok, for use as NRZ driver as in wsLib (driver for WS2812 LED) the EOT must not be set.
+#define NO_EOT_AFTER_WRITE
 
 /** An SPI Master, used for communicating with SPI slave devices at very high speeds
  *