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_LPC43XX/objects.h
- Revision:
- 256:76fd9a263045
- Parent:
- 20:4263a77256ae
--- a/targets/hal/TARGET_NXP/TARGET_LPC43XX/objects.h Fri Jul 11 10:00:08 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC43XX/objects.h Tue Jul 15 07:45:08 2014 +0100 @@ -20,6 +20,7 @@ #include "PortNames.h" #include "PeripheralNames.h" #include "PinNames.h" +#include "gpio_object.h" #ifdef __cplusplus extern "C" { @@ -40,9 +41,8 @@ }; struct pwmout_s { - __IO uint32_t *MR; - LPC_MCPWM_T *pwm; - uint32_t channel; + PWMName pwm; + uint8_t mr; }; struct serial_s { @@ -51,7 +51,9 @@ }; struct analogin_s { - ADCName adc; + LPC_ADC_T *adc; + uint8_t num; + uint8_t ch; }; struct dac_s { @@ -70,8 +72,6 @@ LPC_SSP_T *spi; }; -#include "gpio_object.h" - #ifdef __cplusplus } #endif