Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
TARGET_EFM32ZG_STK3200/em_device.h@113:f141b2784e32, 2016-02-02 (annotated)
- Committer:
- Kojto
- Date:
- Tue Feb 02 14:43:35 2016 +0000
- Revision:
- 113:f141b2784e32
- Parent:
- 98:8ab26030e058
Release 113 of the mbed library
Changes:
- new targets - Silabs Perl Gecko, TY51822
- Silabs - emlib update to 4.1.0, various bugfixes as result
- STM B96B_F446VE - add async serial support
- Freescale KLXX - rtc lock fix
- LPC11U68 and LPC1549 - pwm bugfixes - duty cycle
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kojto | 98:8ab26030e058 | 1 | /**************************************************************************//** |
Kojto | 98:8ab26030e058 | 2 | * @file em_device.h |
Kojto | 98:8ab26030e058 | 3 | * @brief CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories |
Kojto | 98:8ab26030e058 | 4 | * microcontroller devices |
Kojto | 98:8ab26030e058 | 5 | * |
Kojto | 98:8ab26030e058 | 6 | * This is a convenience header file for defining the part number on the |
Kojto | 98:8ab26030e058 | 7 | * build command line, instead of specifying the part specific header file. |
Kojto | 98:8ab26030e058 | 8 | * |
Kojto | 98:8ab26030e058 | 9 | * @verbatim |
Kojto | 98:8ab26030e058 | 10 | * Example: Add "-DEFM32G890F128" to your build options, to define part |
Kojto | 98:8ab26030e058 | 11 | * Add "#include "em_device.h" to your source files |
Kojto | 113:f141b2784e32 | 12 | * |
Kojto | 113:f141b2784e32 | 13 | * |
Kojto | 98:8ab26030e058 | 14 | * @endverbatim |
Kojto | 113:f141b2784e32 | 15 | * @version 4.2.0 |
Kojto | 98:8ab26030e058 | 16 | ****************************************************************************** |
Kojto | 98:8ab26030e058 | 17 | * @section License |
Kojto | 113:f141b2784e32 | 18 | * <b>Copyright 2015 Silicon Laboratories, Inc. http://www.silabs.com</b> |
Kojto | 98:8ab26030e058 | 19 | ****************************************************************************** |
Kojto | 98:8ab26030e058 | 20 | * |
Kojto | 98:8ab26030e058 | 21 | * Permission is granted to anyone to use this software for any purpose, |
Kojto | 98:8ab26030e058 | 22 | * including commercial applications, and to alter it and redistribute it |
Kojto | 98:8ab26030e058 | 23 | * freely, subject to the following restrictions: |
Kojto | 98:8ab26030e058 | 24 | * |
Kojto | 98:8ab26030e058 | 25 | * 1. The origin of this software must not be misrepresented; you must not |
Kojto | 98:8ab26030e058 | 26 | * claim that you wrote the original software.@n |
Kojto | 98:8ab26030e058 | 27 | * 2. Altered source versions must be plainly marked as such, and must not be |
Kojto | 98:8ab26030e058 | 28 | * misrepresented as being the original software.@n |
Kojto | 98:8ab26030e058 | 29 | * 3. This notice may not be removed or altered from any source distribution. |
Kojto | 98:8ab26030e058 | 30 | * |
Kojto | 98:8ab26030e058 | 31 | * DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Laboratories, Inc. |
Kojto | 98:8ab26030e058 | 32 | * has no obligation to support this Software. Silicon Laboratories, Inc. is |
Kojto | 98:8ab26030e058 | 33 | * providing the Software "AS IS", with no express or implied warranties of any |
Kojto | 113:f141b2784e32 | 34 | * kind, including, but not limited to, any implied warranties of |
Kojto | 98:8ab26030e058 | 35 | * merchantability or fitness for any particular purpose or warranties against |
Kojto | 98:8ab26030e058 | 36 | * infringement of any proprietary rights of a third party. |
Kojto | 98:8ab26030e058 | 37 | * |
Kojto | 113:f141b2784e32 | 38 | * Silicon Laboratories, Inc. will not be liable for any consequential, |
Kojto | 113:f141b2784e32 | 39 | * incidental, or special damages, or any other relief, or for any claim by |
Kojto | 98:8ab26030e058 | 40 | * any third party, arising from your use of this Software. |
Kojto | 98:8ab26030e058 | 41 | * |
Kojto | 98:8ab26030e058 | 42 | *****************************************************************************/ |
Kojto | 98:8ab26030e058 | 43 | |
Kojto | 113:f141b2784e32 | 44 | #ifndef EM_DEVICE_H |
Kojto | 113:f141b2784e32 | 45 | #define EM_DEVICE_H |
Kojto | 98:8ab26030e058 | 46 | |
Kojto | 98:8ab26030e058 | 47 | #if defined(EFM32ZG108F16) |
Kojto | 98:8ab26030e058 | 48 | #include "efm32zg108f16.h" |
Kojto | 98:8ab26030e058 | 49 | |
Kojto | 98:8ab26030e058 | 50 | #elif defined(EFM32ZG108F32) |
Kojto | 98:8ab26030e058 | 51 | #include "efm32zg108f32.h" |
Kojto | 98:8ab26030e058 | 52 | |
Kojto | 98:8ab26030e058 | 53 | #elif defined(EFM32ZG108F4) |
Kojto | 98:8ab26030e058 | 54 | #include "efm32zg108f4.h" |
Kojto | 98:8ab26030e058 | 55 | |
Kojto | 98:8ab26030e058 | 56 | #elif defined(EFM32ZG108F8) |
Kojto | 98:8ab26030e058 | 57 | #include "efm32zg108f8.h" |
Kojto | 98:8ab26030e058 | 58 | |
Kojto | 98:8ab26030e058 | 59 | #elif defined(EFM32ZG110F16) |
Kojto | 98:8ab26030e058 | 60 | #include "efm32zg110f16.h" |
Kojto | 98:8ab26030e058 | 61 | |
Kojto | 98:8ab26030e058 | 62 | #elif defined(EFM32ZG110F32) |
Kojto | 98:8ab26030e058 | 63 | #include "efm32zg110f32.h" |
Kojto | 98:8ab26030e058 | 64 | |
Kojto | 98:8ab26030e058 | 65 | #elif defined(EFM32ZG110F4) |
Kojto | 98:8ab26030e058 | 66 | #include "efm32zg110f4.h" |
Kojto | 98:8ab26030e058 | 67 | |
Kojto | 98:8ab26030e058 | 68 | #elif defined(EFM32ZG110F8) |
Kojto | 98:8ab26030e058 | 69 | #include "efm32zg110f8.h" |
Kojto | 98:8ab26030e058 | 70 | |
Kojto | 98:8ab26030e058 | 71 | #elif defined(EFM32ZG210F16) |
Kojto | 98:8ab26030e058 | 72 | #include "efm32zg210f16.h" |
Kojto | 98:8ab26030e058 | 73 | |
Kojto | 98:8ab26030e058 | 74 | #elif defined(EFM32ZG210F32) |
Kojto | 98:8ab26030e058 | 75 | #include "efm32zg210f32.h" |
Kojto | 98:8ab26030e058 | 76 | |
Kojto | 98:8ab26030e058 | 77 | #elif defined(EFM32ZG210F4) |
Kojto | 98:8ab26030e058 | 78 | #include "efm32zg210f4.h" |
Kojto | 98:8ab26030e058 | 79 | |
Kojto | 98:8ab26030e058 | 80 | #elif defined(EFM32ZG210F8) |
Kojto | 98:8ab26030e058 | 81 | #include "efm32zg210f8.h" |
Kojto | 98:8ab26030e058 | 82 | |
Kojto | 98:8ab26030e058 | 83 | #elif defined(EFM32ZG222F16) |
Kojto | 98:8ab26030e058 | 84 | #include "efm32zg222f16.h" |
Kojto | 98:8ab26030e058 | 85 | |
Kojto | 98:8ab26030e058 | 86 | #elif defined(EFM32ZG222F32) |
Kojto | 98:8ab26030e058 | 87 | #include "efm32zg222f32.h" |
Kojto | 98:8ab26030e058 | 88 | |
Kojto | 98:8ab26030e058 | 89 | #elif defined(EFM32ZG222F4) |
Kojto | 98:8ab26030e058 | 90 | #include "efm32zg222f4.h" |
Kojto | 98:8ab26030e058 | 91 | |
Kojto | 98:8ab26030e058 | 92 | #elif defined(EFM32ZG222F8) |
Kojto | 98:8ab26030e058 | 93 | #include "efm32zg222f8.h" |
Kojto | 98:8ab26030e058 | 94 | |
Kojto | 98:8ab26030e058 | 95 | #else |
Kojto | 98:8ab26030e058 | 96 | #error "em_device.h: PART NUMBER undefined" |
Kojto | 98:8ab26030e058 | 97 | #endif |
Kojto | 113:f141b2784e32 | 98 | #endif /* EM_DEVICE_H */ |