je ne sais plus
BurstSPI_Unsupported.cpp@0:3787bbf77ca8, 2015-06-17 (annotated)
- Committer:
- FreeControl
- Date:
- Wed Jun 17 13:49:54 2015 +0000
- Revision:
- 0:3787bbf77ca8
je ne sais plus
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
FreeControl | 0:3787bbf77ca8 | 1 | #if !(defined(TARGET_KL25Z) || defined(TARGET_KL46Z)) |
FreeControl | 0:3787bbf77ca8 | 2 | #if !(defined(TARGET_LPC1768) || defined(TARGET_LPC1114) || defined(TARGET_LPC11U24) || defined(TARGET_LPC13XX)) |
FreeControl | 0:3787bbf77ca8 | 3 | #if !(defined(TARGET_NUCLEO_L152RE)) |
FreeControl | 0:3787bbf77ca8 | 4 | |
FreeControl | 0:3787bbf77ca8 | 5 | #warning FastSPI target not supported, reverting to regular SPI |
FreeControl | 0:3787bbf77ca8 | 6 | |
FreeControl | 0:3787bbf77ca8 | 7 | #include "FastSPI.h" |
FreeControl | 0:3787bbf77ca8 | 8 | |
FreeControl | 0:3787bbf77ca8 | 9 | void FastSPI::fastWrite(int data) { |
FreeControl | 0:3787bbf77ca8 | 10 | write(data); |
FreeControl | 0:3787bbf77ca8 | 11 | } |
FreeControl | 0:3787bbf77ca8 | 12 | |
FreeControl | 0:3787bbf77ca8 | 13 | void FastSPI::clearRX( void ) { |
FreeControl | 0:3787bbf77ca8 | 14 | |
FreeControl | 0:3787bbf77ca8 | 15 | } |
FreeControl | 0:3787bbf77ca8 | 16 | #endif //Freescale |
FreeControl | 0:3787bbf77ca8 | 17 | #endif //NXP |
FreeControl | 0:3787bbf77ca8 | 18 | #endif //NUCLEO |