mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogout_api.c
- Revision:
- 265:9632ea190e16
- Parent:
- 251:de9a1e4ffd79
- Child:
- 267:8673334f2cbe
--- a/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogout_api.c Wed Jul 23 08:45:10 2014 +0100 +++ b/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/analogout_api.c Wed Jul 23 21:15:06 2014 +0100 @@ -18,14 +18,10 @@ #include "cmsis.h" #include "pinmap.h" #include "error.h" +#include "PeripheralPins.h" #define RANGE_12BIT 0xFFF -const PinMap PinMap_DAC[] = { - {DAC0_OUT, DAC_0, 0}, - {NC , NC , 0} -}; - void analogout_init(dac_t *obj, PinName pin) { obj->dac = (DACName)pinmap_peripheral(pin, PinMap_DAC); if (obj->dac == (DACName)NC) {