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 mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC11UXX/analogin_api.c
- Revision:
- 274:6937b19af361
- Parent:
- 251:de9a1e4ffd79
- Child:
- 285:31249416b6f9
diff -r 92da1fd309d2 -r 6937b19af361 targets/hal/TARGET_NXP/TARGET_LPC11UXX/analogin_api.c
--- a/targets/hal/TARGET_NXP/TARGET_LPC11UXX/analogin_api.c Wed Aug 06 07:45:07 2014 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC11UXX/analogin_api.c Wed Aug 06 08:15:07 2014 +0100
@@ -18,6 +18,7 @@
#include "cmsis.h"
#include "pinmap.h"
#include "error.h"
+#include "PeripheralPins.h" // For the Peripheral to Pin Definitions found in the individual Target's Platform
#define ANALOGIN_MEDIAN_FILTER 1
@@ -28,18 +29,6 @@
return (x + (y - 1)) / y;
}
-static const PinMap PinMap_ADC[] = {
- {P0_11, ADC0_0, 0x02},
- {P0_12, ADC0_1, 0x02},
- {P0_13, ADC0_2, 0x02},
- {P0_14, ADC0_3, 0x02},
- {P0_15, ADC0_4, 0x02},
- {P0_16, ADC0_5, 0x01},
- {P0_22, ADC0_6, 0x01},
- {P0_23, ADC0_7, 0x01},
- {NC , NC , 0 }
-};
-
#define LPC_IOCON0_BASE (LPC_IOCON_BASE)
#define LPC_IOCON1_BASE (LPC_IOCON_BASE + 0x60)
