Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BurstSPI by
BurstSPI_Unsupported.cpp@13:bc069279eb37, 2015-05-16 (annotated)
- Committer:
- Sissors
- Date:
- Sat May 16 11:09:59 2015 +0000
- Revision:
- 13:bc069279eb37
- Parent:
- 11:36ac5fd058dd
- Child:
- 14:83e3b8ba3f43
Added STM F4XX support.
;
; (And seriously STM, it has the same SPI as the already supported L152, but you just had to go ahead and change all your driver files)
Who changed what in which revision?
| User | Revision | Line number | New 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)) |
| Sissors | 10:6ed1d9f1ef37 | 4 | |
| Sissors | 10:6ed1d9f1ef37 | 5 | #warning BurstSPI target not supported, reverting to regular SPI |
| Sissors | 10:6ed1d9f1ef37 | 6 | |
| Sissors | 10:6ed1d9f1ef37 | 7 | #include "BurstSPI.h" |
| Sissors | 10:6ed1d9f1ef37 | 8 | |
| Sissors | 10:6ed1d9f1ef37 | 9 | void BurstSPI::fastWrite(int data) { |
| Sissors | 10:6ed1d9f1ef37 | 10 | write(data); |
| Sissors | 10:6ed1d9f1ef37 | 11 | } |
| Sissors | 10:6ed1d9f1ef37 | 12 | |
| Sissors | 10:6ed1d9f1ef37 | 13 | void BurstSPI::clearRX( void ) { |
| Sissors | 10:6ed1d9f1ef37 | 14 | |
| Sissors | 10:6ed1d9f1ef37 | 15 | } |
| Sissors | 10:6ed1d9f1ef37 | 16 | #endif //Freescale |
| Sissors | 10:6ed1d9f1ef37 | 17 | #endif //NXP |
| Sissors | 10:6ed1d9f1ef37 | 18 | #endif //NUCLEO |
