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 FastAnalogIn by
Diff: FastAnalogIn.h
- Revision:
- 8:68082fdde730
- Parent:
- 7:965a2b0e477f
- Child:
- 9:31184aa1449c
diff -r 965a2b0e477f -r 68082fdde730 FastAnalogIn.h
--- a/FastAnalogIn.h Mon Apr 21 10:26:49 2014 +0000
+++ b/FastAnalogIn.h Sat Jun 28 13:01:27 2014 +0000
@@ -7,7 +7,7 @@
#include "mbed.h"
#include "pinmap.h"
-#if !defined TARGET_LPC1768 && !defined TARGET_KLXX && !defined TARGET_LPC408X
+#if !defined TARGET_LPC1768 && !defined TARGET_KLXX && !defined TARGET_LPC408X && !defined TARGET_LPC11UXX
#error "Target not supported"
#endif
@@ -120,7 +120,7 @@
private:
bool running;
char ADCnumber;
- uint32_t *datareg;
+ volatile uint32_t *datareg;
};
#endif
