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 by
Diff: TARGET_KL25Z/PeripheralNames.h
- Revision:
- 65:5798e58a58b1
- Parent:
- 64:e3affc9e7238
- Child:
- 66:9c8f0e3462fb
diff -r e3affc9e7238 -r 5798e58a58b1 TARGET_KL25Z/PeripheralNames.h --- a/TARGET_KL25Z/PeripheralNames.h Mon Aug 05 12:28:09 2013 +0300 +++ b/TARGET_KL25Z/PeripheralNames.h Mon Aug 12 13:17:46 2013 +0300 @@ -52,12 +52,15 @@ PWM_10 = (2 << TPM_SHIFT) | (1) // TPM2 CH1 } PWMName; +#define CHANNELS_A_SHIFT 5 typedef enum { ADC0_SE0 = 0, ADC0_SE3 = 3, + ADC0_SE4a = (1 << CHANNELS_A_SHIFT) | (4), ADC0_SE4b = 4, ADC0_SE5b = 5, ADC0_SE6b = 6, + ADC0_SE7a = (1 << CHANNELS_A_SHIFT) | (7), ADC0_SE7b = 7, ADC0_SE8 = 8, ADC0_SE9 = 9,