S32 SDK
device_registers.h
Go to the documentation of this file.
1 /*
2 ** ###################################################################
3 ** Version: rev. 2.0, 2016-07-25
4 ** Build: b160725
5 **
6 ** Abstract:
7 ** Common include file for CMSIS register access layer headers.
8 **
9 ** Copyright (c) 2015 Freescale Semiconductor, Inc.
10 ** Copyright 2016 NXP
11 ** All rights reserved.
12 **
13 ** THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR
14 ** IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15 ** OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16 ** IN NO EVENT SHALL NXP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
17 ** INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
18 ** (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19 ** SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 ** HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
21 ** STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
22 ** IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23 ** THE POSSIBILITY OF SUCH DAMAGE.
24 **
25 ** http: www.freescale.com
26 ** mail: support@freescale.com
27 **
28 ** Revisions:
29 ** - rev. 1.0 (2015-04-09)
30 ** Initial version.
31 ** - rev. 2.0 (2016-07-25)
32 ** Added S32V
33 **
34 ** ###################################################################
35 */
36 
37 #ifndef DEVICE_REGISTERS_H
38 #define DEVICE_REGISTERS_H
39 
50 /*
51  * Include the cpu specific register header files.
52  *
53  * The CPU macro should be declared in the project or makefile.
54  */
55 
56 #if (defined(CPU_S32K144HFT0VLLT) || defined(CPU_S32K144LFT0MLLT))
57 
58  #define S32K144_SERIES
59 
60  /* Register definitions */
61  #include "S32K144/include/S32K144.h"
62  /* CPU specific feature definitions */
64  /* Specific core definitions */
65  #include "common/s32_core_cm4.h"
66 
67 #elif defined(CPU_S32V234)
68 
69  #define S32V234_SERIES
70 
71  /* Register definitions */
72  #include "S32V234/include/S32V234.h"
73  /* CPU specific feature definitions */
74  #include "S32V234/include/S32V234_features.h"
75  /* Specific core definitions */
76  #include "common/s32_core_cm4.h"
77 
78 #else
79  #error "No valid CPU defined!"
80 #endif
81 
82 #include "devassert.h"
83 
84 #endif /* DEVICE_REGISTERS_H */
85 
86 /*******************************************************************************
87  * EOF
88  ******************************************************************************/
Chip specific module features.
Peripheral Access Layer for S32K144.