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-dev by
Diff: targets/TARGET_NORDIC/TARGET_MCU_NRF51822/pwmout_api.c
- Revision:
- 151:5eaa88a5bcc7
- Parent:
- 149:156823d33999
--- a/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/pwmout_api.c Tue Nov 08 17:45:16 2016 +0000
+++ b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/pwmout_api.c Thu Nov 24 17:03:03 2016 +0000
@@ -23,35 +23,35 @@
#define TIMER_PRECISION 4 //4us ticks
#define TIMER_PRESCALER 6 //4us ticks = 16Mhz/(2**6)
static const PinMap PinMap_PWM[] = {
- {p0, PWM_1, 1},
- {p1, PWM_1, 1},
- {p2, PWM_1, 1},
- {p3, PWM_1, 1},
- {p4, PWM_1, 1},
- {p5, PWM_1, 1},
- {p6, PWM_1, 1},
- {p7, PWM_1, 1},
- {p8, PWM_1, 1},
- {p9, PWM_1, 1},
- {p10, PWM_1, 1},
- {p11, PWM_1, 1},
- {p12, PWM_1, 1},
- {p13, PWM_1, 1},
- {p14, PWM_1, 1},
- {p15, PWM_1, 1},
- {p16, PWM_1, 1},
- {p17, PWM_1, 1},
- {p18, PWM_1, 1},
- {p19, PWM_1, 1},
- {p20, PWM_1, 1},
- {p21, PWM_1, 1},
- {p22, PWM_1, 1},
- {p23, PWM_1, 1},
- {p24, PWM_1, 1},
- {p25, PWM_1, 1},
- {p28, PWM_1, 1},
- {p29, PWM_1, 1},
- {p30, PWM_1, 1},
+ {P0_0, PWM_1, 1},
+ {P0_1, PWM_1, 1},
+ {P0_2, PWM_1, 1},
+ {P0_3, PWM_1, 1},
+ {P0_4, PWM_1, 1},
+ {P0_5, PWM_1, 1},
+ {P0_6, PWM_1, 1},
+ {P0_7, PWM_1, 1},
+ {P0_8, PWM_1, 1},
+ {P0_9, PWM_1, 1},
+ {P0_10, PWM_1, 1},
+ {P0_11, PWM_1, 1},
+ {P0_12, PWM_1, 1},
+ {P0_13, PWM_1, 1},
+ {P0_14, PWM_1, 1},
+ {P0_15, PWM_1, 1},
+ {P0_16, PWM_1, 1},
+ {P0_17, PWM_1, 1},
+ {P0_18, PWM_1, 1},
+ {P0_19, PWM_1, 1},
+ {P0_20, PWM_1, 1},
+ {P0_21, PWM_1, 1},
+ {P0_22, PWM_1, 1},
+ {P0_23, PWM_1, 1},
+ {P0_24, PWM_1, 1},
+ {P0_25, PWM_1, 1},
+ {P0_28, PWM_1, 1},
+ {P0_29, PWM_1, 1},
+ {P0_30, PWM_1, 1},
{NC, NC, 0}
};
