Alessandro Angelino / target-freescale-ksdk

Fork of target-freescale-ksdk by Morpheus

Committer:
Alessandro Angelino
Date:
Mon Apr 04 14:18:16 2016 +0100
Revision:
1:d01108809007
Parent:
0:e4d670b91a9a
Replace NVIC APIs with vIRQ ones

Who changed what in which revision?

UserRevisionLine numberNew contents of line
screamer 0:e4d670b91a9a 1 /*
screamer 0:e4d670b91a9a 2 ** ###################################################################
screamer 0:e4d670b91a9a 3 ** Version: rev. 1.0, 2014-05-14
screamer 0:e4d670b91a9a 4 ** Build: b140515
screamer 0:e4d670b91a9a 5 **
screamer 0:e4d670b91a9a 6 ** Abstract:
screamer 0:e4d670b91a9a 7 ** Chip specific module features.
screamer 0:e4d670b91a9a 8 **
screamer 0:e4d670b91a9a 9 ** Copyright: 2014 Freescale Semiconductor, Inc.
screamer 0:e4d670b91a9a 10 ** All rights reserved.
screamer 0:e4d670b91a9a 11 **
screamer 0:e4d670b91a9a 12 ** Redistribution and use in source and binary forms, with or without modification,
screamer 0:e4d670b91a9a 13 ** are permitted provided that the following conditions are met:
screamer 0:e4d670b91a9a 14 **
screamer 0:e4d670b91a9a 15 ** o Redistributions of source code must retain the above copyright notice, this list
screamer 0:e4d670b91a9a 16 ** of conditions and the following disclaimer.
screamer 0:e4d670b91a9a 17 **
screamer 0:e4d670b91a9a 18 ** o Redistributions in binary form must reproduce the above copyright notice, this
screamer 0:e4d670b91a9a 19 ** list of conditions and the following disclaimer in the documentation and/or
screamer 0:e4d670b91a9a 20 ** other materials provided with the distribution.
screamer 0:e4d670b91a9a 21 **
screamer 0:e4d670b91a9a 22 ** o Neither the name of Freescale Semiconductor, Inc. nor the names of its
screamer 0:e4d670b91a9a 23 ** contributors may be used to endorse or promote products derived from this
screamer 0:e4d670b91a9a 24 ** software without specific prior written permission.
screamer 0:e4d670b91a9a 25 **
screamer 0:e4d670b91a9a 26 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
screamer 0:e4d670b91a9a 27 ** ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
screamer 0:e4d670b91a9a 28 ** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
screamer 0:e4d670b91a9a 29 ** DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
screamer 0:e4d670b91a9a 30 ** ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
screamer 0:e4d670b91a9a 31 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
screamer 0:e4d670b91a9a 32 ** LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
screamer 0:e4d670b91a9a 33 ** ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
screamer 0:e4d670b91a9a 34 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
screamer 0:e4d670b91a9a 35 ** SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
screamer 0:e4d670b91a9a 36 **
screamer 0:e4d670b91a9a 37 ** http: www.freescale.com
screamer 0:e4d670b91a9a 38 ** mail: support@freescale.com
screamer 0:e4d670b91a9a 39 **
screamer 0:e4d670b91a9a 40 ** Revisions:
screamer 0:e4d670b91a9a 41 ** - rev. 1.0 (2014-05-14)
screamer 0:e4d670b91a9a 42 ** Customer release.
screamer 0:e4d670b91a9a 43 **
screamer 0:e4d670b91a9a 44 ** ###################################################################
screamer 0:e4d670b91a9a 45 */
screamer 0:e4d670b91a9a 46
screamer 0:e4d670b91a9a 47 #if !defined(__FSL_PMC_FEATURES_H__)
screamer 0:e4d670b91a9a 48 #define __FSL_PMC_FEATURES_H__
screamer 0:e4d670b91a9a 49
screamer 0:e4d670b91a9a 50 #if defined(CPU_MK02FN128VFM10) || defined(CPU_MK02FN64VFM10) || defined(CPU_MK02FN128VLF10) || defined(CPU_MK02FN64VLF10) || \
screamer 0:e4d670b91a9a 51 defined(CPU_MK02FN128VLH10) || defined(CPU_MK02FN64VLH10) || defined(CPU_MK22FN128VDC10) || defined(CPU_MK22FN128VLH10) || \
screamer 0:e4d670b91a9a 52 defined(CPU_MK22FN128VLL10) || defined(CPU_MK22FN128VMP10) || defined(CPU_MK22FN256VDC12) || defined(CPU_MK22FN256VLH12) || \
screamer 0:e4d670b91a9a 53 defined(CPU_MK22FN256VLL12) || defined(CPU_MK22FN256VMP12) || defined(CPU_MK22FN512VDC12) || defined(CPU_MK22FN512VLH12) || \
screamer 0:e4d670b91a9a 54 defined(CPU_MK22FN512VLL12) || defined(CPU_MK24FN1M0VDC12) || defined(CPU_MK24FN1M0VLL12) || defined(CPU_MK24FN1M0VLQ12) || \
screamer 0:e4d670b91a9a 55 defined(CPU_MK24FN256VDC12) || defined(CPU_MK63FN1M0VLQ12) || defined(CPU_MK63FN1M0VMD12) || defined(CPU_MK64FX512VDC12) || \
screamer 0:e4d670b91a9a 56 defined(CPU_MK64FN1M0VDC12) || defined(CPU_MK64FX512VLL12) || defined(CPU_MK64FN1M0VLL12) || defined(CPU_MK64FX512VLQ12) || \
screamer 0:e4d670b91a9a 57 defined(CPU_MK64FN1M0VLQ12) || defined(CPU_MK64FX512VMD12) || defined(CPU_MK64FN1M0VMD12) || defined(CPU_MK65FN2M0CAC18) || \
screamer 0:e4d670b91a9a 58 defined(CPU_MK65FX1M0CAC18) || defined(CPU_MK65FN2M0VMI18) || defined(CPU_MK65FX1M0VMI18) || defined(CPU_MK66FN2M0VLQ18) || \
screamer 0:e4d670b91a9a 59 defined(CPU_MK66FX1M0VLQ18) || defined(CPU_MK66FN2M0VMD18) || defined(CPU_MK66FX1M0VMD18) || defined(CPU_MKL03Z32CAF4) || \
screamer 0:e4d670b91a9a 60 defined(CPU_MKL03Z8VFG4) || defined(CPU_MKL03Z16VFG4) || defined(CPU_MKL03Z32VFG4) || defined(CPU_MKL03Z8VFK4) || \
screamer 0:e4d670b91a9a 61 defined(CPU_MKL03Z16VFK4) || defined(CPU_MKL03Z32VFK4) || defined(CPU_MKL05Z8VFK4) || defined(CPU_MKL05Z16VFK4) || \
screamer 0:e4d670b91a9a 62 defined(CPU_MKL05Z32VFK4) || defined(CPU_MKL05Z8VLC4) || defined(CPU_MKL05Z16VLC4) || defined(CPU_MKL05Z32VLC4) || \
screamer 0:e4d670b91a9a 63 defined(CPU_MKL05Z8VFM4) || defined(CPU_MKL05Z16VFM4) || defined(CPU_MKL05Z32VFM4) || defined(CPU_MKL05Z16VLF4) || \
screamer 0:e4d670b91a9a 64 defined(CPU_MKL05Z32VLF4) || defined(CPU_MKL13Z64VFM4) || defined(CPU_MKL13Z128VFM4) || defined(CPU_MKL13Z256VFM4) || \
screamer 0:e4d670b91a9a 65 defined(CPU_MKL13Z64VFT4) || defined(CPU_MKL13Z128VFT4) || defined(CPU_MKL13Z256VFT4) || defined(CPU_MKL13Z64VLH4) || \
screamer 0:e4d670b91a9a 66 defined(CPU_MKL13Z128VLH4) || defined(CPU_MKL13Z256VLH4) || defined(CPU_MKL13Z64VMP4) || defined(CPU_MKL13Z128VMP4) || \
screamer 0:e4d670b91a9a 67 defined(CPU_MKL13Z256VMP4) || defined(CPU_MKL23Z64VFM4) || defined(CPU_MKL23Z128VFM4) || defined(CPU_MKL23Z256VFM4) || \
screamer 0:e4d670b91a9a 68 defined(CPU_MKL23Z64VFT4) || defined(CPU_MKL23Z128VFT4) || defined(CPU_MKL23Z256VFT4) || defined(CPU_MKL23Z64VLH4) || \
screamer 0:e4d670b91a9a 69 defined(CPU_MKL23Z128VLH4) || defined(CPU_MKL23Z256VLH4) || defined(CPU_MKL23Z64VMP4) || defined(CPU_MKL23Z128VMP4) || \
screamer 0:e4d670b91a9a 70 defined(CPU_MKL23Z256VMP4) || defined(CPU_MKL25Z32VFM4) || defined(CPU_MKL25Z64VFM4) || defined(CPU_MKL25Z128VFM4) || \
screamer 0:e4d670b91a9a 71 defined(CPU_MKL25Z32VFT4) || defined(CPU_MKL25Z64VFT4) || defined(CPU_MKL25Z128VFT4) || defined(CPU_MKL25Z32VLH4) || \
screamer 0:e4d670b91a9a 72 defined(CPU_MKL25Z64VLH4) || defined(CPU_MKL25Z128VLH4) || defined(CPU_MKL25Z32VLK4) || defined(CPU_MKL25Z64VLK4) || \
screamer 0:e4d670b91a9a 73 defined(CPU_MKL25Z128VLK4) || defined(CPU_MKL26Z256VLK4) || defined(CPU_MKL26Z128VLL4) || defined(CPU_MKL26Z256VLL4) || \
screamer 0:e4d670b91a9a 74 defined(CPU_MKL26Z128VMC4) || defined(CPU_MKL26Z256VMC4) || defined(CPU_MKL33Z128VLH4) || defined(CPU_MKL33Z256VLH4) || \
screamer 0:e4d670b91a9a 75 defined(CPU_MKL33Z128VMP4) || defined(CPU_MKL33Z256VMP4) || defined(CPU_MKL43Z64VLH4) || defined(CPU_MKL43Z128VLH4) || \
screamer 0:e4d670b91a9a 76 defined(CPU_MKL43Z256VLH4) || defined(CPU_MKL43Z64VMP4) || defined(CPU_MKL43Z128VMP4) || defined(CPU_MKL43Z256VMP4) || \
screamer 0:e4d670b91a9a 77 defined(CPU_MKL46Z128VLH4) || defined(CPU_MKL46Z256VLH4) || defined(CPU_MKL46Z128VLL4) || defined(CPU_MKL46Z256VLL4) || \
screamer 0:e4d670b91a9a 78 defined(CPU_MKL46Z128VMC4) || defined(CPU_MKL46Z256VMC4) || defined(CPU_MKV30F128VFM10) || defined(CPU_MKV30F64VFM10) || \
screamer 0:e4d670b91a9a 79 defined(CPU_MKV30F128VLF10) || defined(CPU_MKV30F64VLF10) || defined(CPU_MKV30F128VLH10) || defined(CPU_MKV30F64VLH10) || \
screamer 0:e4d670b91a9a 80 defined(CPU_MKV31F128VLH10) || defined(CPU_MKV31F128VLL10) || defined(CPU_MKV31F256VLH12) || defined(CPU_MKV31F256VLL12) || \
screamer 0:e4d670b91a9a 81 defined(CPU_MKV31F512VLH12) || defined(CPU_MKV31F512VLL12) || defined(CPU_MKV40F128VLH15) || defined(CPU_MKV40F128VLL15) || \
screamer 0:e4d670b91a9a 82 defined(CPU_MKV40F256VLH15) || defined(CPU_MKV40F256VLL15) || defined(CPU_MKV40F64VLH15) || defined(CPU_MKV43F128VLH15) || \
screamer 0:e4d670b91a9a 83 defined(CPU_MKV43F128VLL15) || defined(CPU_MKV43F64VLH15) || defined(CPU_MKV44F128VLH15) || defined(CPU_MKV44F128VLL15) || \
screamer 0:e4d670b91a9a 84 defined(CPU_MKV44F64VLH15) || defined(CPU_MKV45F128VLH15) || defined(CPU_MKV45F128VLL15) || defined(CPU_MKV45F256VLH15) || \
screamer 0:e4d670b91a9a 85 defined(CPU_MKV45F256VLL15) || defined(CPU_MKV46F128VLH15) || defined(CPU_MKV46F128VLL15) || defined(CPU_MKV46F256VLH15) || \
screamer 0:e4d670b91a9a 86 defined(CPU_MKV46F256VLL15)
screamer 0:e4d670b91a9a 87 /* @brief Has Bandgap Enable In VLPx Operation support. */
screamer 0:e4d670b91a9a 88 #define FSL_FEATURE_PMC_HAS_BGEN (1)
screamer 0:e4d670b91a9a 89 #elif defined(CPU_MK20DX128VMP5) || defined(CPU_MK20DN128VMP5) || defined(CPU_MK20DX64VMP5) || defined(CPU_MK20DN64VMP5) || \
screamer 0:e4d670b91a9a 90 defined(CPU_MK20DX32VMP5) || defined(CPU_MK20DN32VMP5) || defined(CPU_MK20DX128VLH5) || defined(CPU_MK20DN128VLH5) || \
screamer 0:e4d670b91a9a 91 defined(CPU_MK20DX64VLH5) || defined(CPU_MK20DN64VLH5) || defined(CPU_MK20DX32VLH5) || defined(CPU_MK20DN32VLH5) || \
screamer 0:e4d670b91a9a 92 defined(CPU_MK20DX128VFM5) || defined(CPU_MK20DN128VFM5) || defined(CPU_MK20DX64VFM5) || defined(CPU_MK20DN64VFM5) || \
screamer 0:e4d670b91a9a 93 defined(CPU_MK20DX32VFM5) || defined(CPU_MK20DN32VFM5) || defined(CPU_MK20DX128VFT5) || defined(CPU_MK20DN128VFT5) || \
screamer 0:e4d670b91a9a 94 defined(CPU_MK20DX64VFT5) || defined(CPU_MK20DN64VFT5) || defined(CPU_MK20DX32VFT5) || defined(CPU_MK20DN32VFT5) || \
screamer 0:e4d670b91a9a 95 defined(CPU_MK20DX128VLF5) || defined(CPU_MK20DN128VLF5) || defined(CPU_MK20DX64VLF5) || defined(CPU_MK20DN64VLF5) || \
screamer 0:e4d670b91a9a 96 defined(CPU_MK20DX32VLF5) || defined(CPU_MK20DN32VLF5) || defined(CPU_MK70FN1M0VMF12) || defined(CPU_MK70FX512VMF12) || \
screamer 0:e4d670b91a9a 97 defined(CPU_MK70FN1M0VMF15) || defined(CPU_MK70FX512VMF15) || defined(CPU_MK70FN1M0VMJ12) || defined(CPU_MK70FX512VMJ12) || \
screamer 0:e4d670b91a9a 98 defined(CPU_MK70FN1M0VMJ15) || defined(CPU_MK70FX512VMJ15)
screamer 0:e4d670b91a9a 99 /* @brief Has Bandgap Enable In VLPx Operation support. */
screamer 0:e4d670b91a9a 100 #define FSL_FEATURE_PMC_HAS_BGEN (0)
screamer 0:e4d670b91a9a 101 #else
screamer 0:e4d670b91a9a 102 #error "No valid CPU defined!"
screamer 0:e4d670b91a9a 103 #endif
screamer 0:e4d670b91a9a 104
screamer 0:e4d670b91a9a 105 #endif /* __FSL_PMC_FEATURES_H__ */
screamer 0:e4d670b91a9a 106
screamer 0:e4d670b91a9a 107 /*******************************************************************************
screamer 0:e4d670b91a9a 108 * EOF
screamer 0:e4d670b91a9a 109 ******************************************************************************/