1 /***************************************************************************//**
2  * @file
3  * @brief CMU Compatibility Header
4  *******************************************************************************
5  * # License
6  * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b>
7  *******************************************************************************
8  *
9  * SPDX-License-Identifier: Zlib
10  *
11  * The licensor of this software is Silicon Laboratories Inc.
12  *
13  * This software is provided 'as-is', without any express or implied
14  * warranty. In no event will the authors be held liable for any damages
15  * arising from the use of this software.
16  *
17  * Permission is granted to anyone to use this software for any purpose,
18  * including commercial applications, and to alter it and redistribute it
19  * freely, subject to the following restrictions:
20  *
21  * 1. The origin of this software must not be misrepresented; you must not
22  *    claim that you wrote the original software. If you use this software
23  *    in a product, an acknowledgment in the product documentation would be
24  *    appreciated but is not required.
25  * 2. Altered source versions must be plainly marked as such, and must not be
26  *    misrepresented as being the original software.
27  * 3. This notice may not be removed or altered from any source distribution.
28  *
29  ******************************************************************************/
30 
31 #ifndef EM_CMU_COMPAT_H
32 #define EM_CMU_COMPAT_H
33 
34 #if defined(_SILICON_LABS_32B_SERIES_2_CONFIG_2)
35 
36 #define CMU_IF_CALRDYIF                         CMU_IF_CALRDY
37 #define _CMU_IF_CALRDYIF_SHIFT                  _CMU_IF_CALRDY_SHIFT
38 #define _CMU_IF_CALRDYIF_MASK                   _CMU_IF_CALRDY_MASK
39 #define _CMU_IF_CALRDYIF_DEFAULT                _CMU_IF_CALRDY_DEFAULT
40 #define CMU_IF_CALRDYIF_DEFAULT                 CMU_IF_CALRDY_DEFAULT
41 
42 #define CMU_IF_CALOFIF                          CMU_IF_CALOF
43 #define _CMU_IF_CALOFIF_SHIFT                   _CMU_IF_CALOF_SHIFT
44 #define _CMU_IF_CALOFIF_MASK                    _CMU_IF_CALOF_MASK
45 #define _CMU_IF_CALOFIF_DEFAULT                 _CMU_IF_CALOF_DEFAULT
46 #define CMU_IF_CALOFIF_DEFAULT                  CMU_IF_CALOF_DEFAULT
47 
48 #define CMU_IEN_CALRDYIEN                       CMU_IEN_CALRDY
49 #define _CMU_IEN_CALRDYIEN_SHIFT                _CMU_IEN_CALRDY_SHIFT
50 #define _CMU_IEN_CALRDYIEN_MASK                 _CMU_IEN_CALRDY_MASK
51 #define _CMU_IEN_CALRDYIEN_DEFAULT              _CMU_IEN_CALRDY_DEFAULT
52 #define CMU_IEN_CALRDYIEN_DEFAULT               CMU_IEN_CALRDY_DEFAULT
53 
54 #define CMU_IEN_CALOFIEN                        CMU_IEN_CALOF
55 #define _CMU_IEN_CALOFIEN_SHIFT                 _CMU_IEN_CALOF_SHIFT
56 #define _CMU_IEN_CALOFIEN_MASK                  _CMU_IEN_CALOF_MASK
57 #define _CMU_IEN_CALOFIEN_DEFAULT               _CMU_IEN_CALOF_DEFAULT
58 #define CMU_IEN_CALOFIEN_DEFAULT                CMU_IEN_CALOF_DEFAULT
59 
60 
61 #define HFRCO_IF_RDYIF                          HFRCO_IF_RDY
62 #define _HFRCO_IF_RDYIF_SHIFT                   _HFRCO_IF_RDY_SHIFT
63 #define _HFRCO_IF_RDYIF_MASK                    _HFRCO_IF_RDY_MASK
64 #define _HFRCO_IF_RDYIF_DEFAULT                 _HFRCO_IF_RDY_DEFAULT
65 #define HFRCO_IF_RDYIF_DEFAULT                  HFRCO_IF_RDY_DEFAULT
66 
67 #define HFRCO_IEN_RDYIEN                        HFRCO_IEN_RDY
68 #define _HFRCO_IEN_RDYIEN_SHIFT                 _HFRCO_IEN_RDY_SHIFT
69 #define _HFRCO_IEN_RDYIEN_MASK                  _HFRCO_IEN_RDY_MASK
70 #define _HFRCO_IEN_RDYIEN_DEFAULT               _HFRCO_IEN_RDY_DEFAULT
71 #define HFRCO_IEN_RDYIEN_DEFAULT                HFRCO_IEN_RDY_DEFAULT
72 
73 
74 #define LFRCO_IF_RDYIF                          LFRCO_IF_RDY
75 #define _LFRCO_IF_RDYIF_SHIFT                   _LFRCO_IF_RDY_SHIFT
76 #define _LFRCO_IF_RDYIF_MASK                    _LFRCO_IF_RDY_MASK
77 #define _LFRCO_IF_RDYIF_DEFAULT                 _LFRCO_IF_RDY_DEFAULT
78 #define LFRCO_IF_RDYIF_DEFAULT                  LFRCO_IF_RDY_DEFAULT
79 
80 #define LFRCO_IF_POSEDGEIF                      LFRCO_IF_POSEDGE
81 #define _LFRCO_IF_POSEDGEIF_SHIFT               _LFRCO_IF_POSEDGE_SHIFT
82 #define _LFRCO_IF_POSEDGEIF_MASK                _LFRCO_IF_POSEDGE_MASK
83 #define _LFRCO_IF_POSEDGEIF_DEFAULT             _LFRCO_IF_POSEDGE_DEFAULT
84 #define LFRCO_IF_POSEDGEIF_DEFAULT              LFRCO_IF_POSEDGE_DEFAULT
85 
86 #define LFRCO_IF_NEGEDGEIF                      LFRCO_IF_NEGEDGE
87 #define _LFRCO_IF_NEGEDGEIF_SHIFT               _LFRCO_IF_NEGEDGE_SHIFT
88 #define _LFRCO_IF_NEGEDGEIF_MASK                _LFRCO_IF_NEGEDGE_MASK
89 #define _LFRCO_IF_NEGEDGEIF_DEFAULT             _LFRCO_IF_NEGEDGE_DEFAULT
90 #define LFRCO_IF_NEGEDGEIF_DEFAULT              LFRCO_IF_NEGEDGE_DEFAULT
91 
92 #define LFRCO_IF_TCDONEIF                       LFRCO_IF_TCDONE
93 #define _LFRCO_IF_TCDONEIF_SHIFT                _LFRCO_IF_TCDONE_SHIFT
94 #define _LFRCO_IF_TCDONEIF_MASK                 _LFRCO_IF_TCDONE_MASK
95 #define _LFRCO_IF_TCDONEIF_DEFAULT              _LFRCO_IF_TCDONE_DEFAULT
96 #define LFRCO_IF_TCDONEIF_DEFAULT               LFRCO_IF_TCDONE_DEFAULT
97 
98 #define LFRCO_IF_CALDONEIF                      LFRCO_IF_CALDONE
99 #define _LFRCO_IF_CALDONEIF_SHIFT               _LFRCO_IF_CALDONE_SHIFT
100 #define _LFRCO_IF_CALDONEIF_MASK                _LFRCO_IF_CALDONE_MASK
101 #define _LFRCO_IF_CALDONEIF_DEFAULT             _LFRCO_IF_CALDONE_DEFAULT
102 #define LFRCO_IF_CALDONEIF_DEFAULT              LFRCO_IF_CALDONE_DEFAULT
103 
104 #define LFRCO_IF_TEMPCHANGEIF                   LFRCO_IF_TEMPCHANGE
105 #define _LFRCO_IF_TEMPCHANGEIF_SHIFT            _LFRCO_IF_TEMPCHANGE_SHIFT
106 #define _LFRCO_IF_TEMPCHANGEIF_MASK             _LFRCO_IF_TEMPCHANGE_MASK
107 #define _LFRCO_IF_TEMPCHANGEIF_DEFAULT          _LFRCO_IF_TEMPCHANGE_DEFAULT
108 #define LFRCO_IF_TEMPCHANGEIF_DEFAULT           LFRCO_IF_TEMPCHANGE_DEFAULT
109 
110 #define LFRCO_IF_SCHEDERRIF                     LFRCO_IF_SCHEDERR
111 #define _LFRCO_IF_SCHEDERRIF_SHIFT              _LFRCO_IF_SCHEDERR_SHIFT
112 #define _LFRCO_IF_SCHEDERRIF_MASK               _LFRCO_IF_SCHEDERR_MASK
113 #define _LFRCO_IF_SCHEDERRIF_DEFAULT            _LFRCO_IF_SCHEDERR_DEFAULT
114 #define LFRCO_IF_SCHEDERRIF_DEFAULT             LFRCO_IF_SCHEDERR_DEFAULT
115 
116 #define LFRCO_IF_TCOORIF                        LFRCO_IF_TCOOR
117 #define _LFRCO_IF_TCOORIF_SHIFT                 _LFRCO_IF_TCOOR_SHIFT
118 #define _LFRCO_IF_TCOORIF_MASK                  _LFRCO_IF_TCOOR_MASK
119 #define _LFRCO_IF_TCOORIF_DEFAULT               _LFRCO_IF_TCOOR_DEFAULT
120 #define LFRCO_IF_TCOORIF_DEFAULT                LFRCO_IF_TCOOR_DEFAULT
121 
122 #define LFRCO_IF_CALOORIF                       LFRCO_IF_CALOOR
123 #define _LFRCO_IF_CALOORIF_SHIFT                _LFRCO_IF_CALOOR_SHIFT
124 #define _LFRCO_IF_CALOORIF_MASK                 _LFRCO_IF_CALOOR_MASK
125 #define _LFRCO_IF_CALOORIF_DEFAULT              _LFRCO_IF_CALOOR_DEFAULT
126 #define LFRCO_IF_CALOORIF_DEFAULT               LFRCO_IF_CALOOR_DEFAULT
127 
128 #define LFRCO_IEN_RDYIEN                        LFRCO_IEN_RDY
129 #define _LFRCO_IEN_RDYIEN_SHIFT                 _LFRCO_IEN_RDY_SHIFT
130 #define _LFRCO_IEN_RDYIEN_MASK                  _LFRCO_IEN_RDY_MASK
131 #define _LFRCO_IEN_RDYIEN_DEFAULT               _LFRCO_IEN_RDY_DEFAULT
132 #define LFRCO_IEN_RDYIEN_DEFAULT                LFRCO_IEN_RDY_DEFAULT
133 
134 #define LFRCO_IEN_POSEDGEIEN                    LFRCO_IEN_POSEDGE
135 #define _LFRCO_IEN_POSEDGEIEN_SHIFT             _LFRCO_IEN_POSEDGE_SHIFT
136 #define _LFRCO_IEN_POSEDGEIEN_MASK              _LFRCO_IEN_POSEDGE_MASK
137 #define _LFRCO_IEN_POSEDGEIEN_DEFAULT           _LFRCO_IEN_POSEDGE_DEFAULT
138 #define LFRCO_IEN_POSEDGEIEN_DEFAULT            LFRCO_IEN_POSEDGE_DEFAULT
139 
140 #define LFRCO_IEN_NEGEDGEIEN                    LFRCO_IEN_NEGEDGE
141 #define _LFRCO_IEN_NEGEDGEIEN_SHIFT             _LFRCO_IEN_NEGEDGE_SHIFT
142 #define _LFRCO_IEN_NEGEDGEIEN_MASK              _LFRCO_IEN_NEGEDGE_MASK
143 #define _LFRCO_IEN_NEGEDGEIEN_DEFAULT           _LFRCO_IEN_NEGEDGE_DEFAULT
144 #define LFRCO_IEN_NEGEDGEIEN_DEFAULT            LFRCO_IEN_NEGEDGE_DEFAULT
145 
146 #define LFRCO_IEN_TCDONEIEN                     LFRCO_IEN_TCDONE
147 #define _LFRCO_IEN_TCDONEIEN_SHIFT              _LFRCO_IEN_TCDONE_SHIFT
148 #define _LFRCO_IEN_TCDONEIEN_MASK               _LFRCO_IEN_TCDONE_MASK
149 #define _LFRCO_IEN_TCDONEIEN_DEFAULT            _LFRCO_IEN_TCDONE_DEFAULT
150 #define LFRCO_IEN_TCDONEIEN_DEFAULT             LFRCO_IEN_TCDONE_DEFAULT
151 
152 #define LFRCO_IEN_CALDONEIEN                    LFRCO_IEN_CALDONE
153 #define _LFRCO_IEN_CALDONEIEN_SHIFT             _LFRCO_IEN_CALDONE_SHIFT
154 #define _LFRCO_IEN_CALDONEIEN_MASK              _LFRCO_IEN_CALDONE_MASK
155 #define _LFRCO_IEN_CALDONEIEN_DEFAULT           _LFRCO_IEN_CALDONE_DEFAULT
156 #define LFRCO_IEN_CALDONEIEN_DEFAULT            LFRCO_IEN_CALDONE_DEFAULT
157 
158 #define LFRCO_IEN_TEMPCHANGEIEN                 LFRCO_IEN_TEMPCHANGE
159 #define _LFRCO_IEN_TEMPCHANGEIEN_SHIFT          _LFRCO_IEN_TEMPCHANGE_SHIFT
160 #define _LFRCO_IEN_TEMPCHANGEIEN_MASK           _LFRCO_IEN_TEMPCHANGE_MASK
161 #define _LFRCO_IEN_TEMPCHANGEIEN_DEFAULT        _LFRCO_IEN_TEMPCHANGE_DEFAULT
162 #define LFRCO_IEN_TEMPCHANGEIEN_DEFAULT         LFRCO_IEN_TEMPCHANGE_DEFAULT
163 
164 #define LFRCO_IEN_SCHEDERRIEN                   LFRCO_IEN_SCHEDERR
165 #define _LFRCO_IEN_SCHEDERRIEN_SHIFT            _LFRCO_IEN_SCHEDERR_SHIFT
166 #define _LFRCO_IEN_SCHEDERRIEN_MASK             _LFRCO_IEN_SCHEDERR_MASK
167 #define _LFRCO_IEN_SCHEDERRIEN_DEFAULT          _LFRCO_IEN_SCHEDERR_DEFAULT
168 #define LFRCO_IEN_SCHEDERRIEN_DEFAULT           LFRCO_IEN_SCHEDERR_DEFAULT
169 
170 #define LFRCO_IEN_TCOORIEN                      LFRCO_IEN_TCOOR
171 #define _LFRCO_IEN_TCOORIEN_SHIFT               _LFRCO_IEN_TCOOR_SHIFT
172 #define _LFRCO_IEN_TCOORIEN_MASK                _LFRCO_IEN_TCOOR_MASK
173 #define _LFRCO_IEN_TCOORIEN_DEFAULT             _LFRCO_IEN_TCOOR_DEFAULT
174 #define LFRCO_IEN_TCOORIEN_DEFAULT              LFRCO_IEN_TCOOR_DEFAULT
175 
176 #define LFRCO_IEN_CALOORIEN                     LFRCO_IEN_CALOOR
177 #define _LFRCO_IEN_CALOORIEN_SHIFT              _LFRCO_IEN_CALOOR_SHIFT
178 #define _LFRCO_IEN_CALOORIEN_MASK               _LFRCO_IEN_CALOOR_MASK
179 #define _LFRCO_IEN_CALOORIEN_DEFAULT            _LFRCO_IEN_CALOOR_DEFAULT
180 #define LFRCO_IEN_CALOORIEN_DEFAULT             LFRCO_IEN_CALOOR_DEFAULT
181 
182 #endif /* _SILICON_LABS_32B_SERIES_2_CONFIG_2 */
183 
184 #endif
185