1<?xml version="1.0" encoding="utf-8"?>
2
3
4<!--****************************************************************************
5* \file sysclock.cypersonality
6* \version 3.0
7*
8* \brief
9* SysClocks personality description file. It supports CAT1A, CAT1B, CAT1C and
10* CAT1D devices.
11*
12********************************************************************************
13* \copyright
14* Copyright (c) 2022, Cypress Semiconductor Corporation (an Infineon company) or
15* an affiliate of Cypress Semiconductor Corporation.
16* SPDX-License-Identifier: Apache-2.0
17*
18* Licensed under the Apache License, Version 2.0 (the "License");
19* you may not use this file except in compliance with the License.
20* You may obtain a copy of the License at
21*
22*     http://www.apache.org/licenses/LICENSE-2.0
23*
24* Unless required by applicable law or agreed to in writing, software
25* distributed under the License is distributed on an "AS IS" BASIS,
26* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
27* See the License for the specific language governing permissions and
28* limitations under the License.
29*****************************************************************************-->
30
31<Personality id="sysclocks" name="SysClocks" version="3.0" xmlns="http://cypress.com/xsd/cyhwpersonality_v7">
32  <Dependencies>
33    <IpBlock name="mxs40srss,mxs40ssrss,mxs40srss_ver3,mxs22srss" />
34    <Resource name="srss\.clock" />
35  </Dependencies>
36  <ExposedMembers>
37    <ExposedMember key="frequency" paramId="frequency" />
38  </ExposedMembers>
39  <Parameters>
40    <ParamString id="description" name="" group="About" default="This personality has no configuration options. It is used to generate an overall configuration function for setting all the system clock options. The code preview shows what will be generated based on the current configuration. The generated code will be located in GeneratedSource/cycfg_system.c" visible="true" editable="false" desc="" />
41    <ParamString id="longIndent" name="Long Indent" group="Internal" default="&#9;&#9;&#9;" visible="false" editable="false" desc="Long indent for structure generation." />
42    <ParamBool id="is40srssAvailable" name="is40srssAvailable" group="" default="`${(&quot;mxs40srss&quot; eq getIpBlockName())}`" visible="false" editable="false" desc="" />
43    <ParamBool id="is40ssrssAvailable" name="is40ssrssAvailable" group="" default="`${(&quot;mxs40ssrss&quot; eq getIpBlockName())}`" visible="false" editable="false" desc="" />
44    <ParamBool id="is40srss_ver3Available" name="is40srss_ver3Available" group="" default="`${(&quot;mxs40srss_ver3&quot; eq getIpBlockName())}`" visible="false" editable="false" desc="" />
45    <ParamBool id="is22srssAvailable" name="is22srssAvailable" group="" default="`${(&quot;mxs22srss&quot; eq getIpBlockName())}`" visible="false" editable="false" desc="" />
46  </Parameters>
47  <DRCs>
48    <DRC type="ERROR" text="CLK_HF0 is not enabled." condition="`${!isBlockUsed(&quot;srss[0].clock[0].hfclk[0]&quot;) &amp;&amp; (is40ssrssAvailable || is40srss_ver3Available || is22srssAvailable)}`" >
49      <FixIt action="ENABLE_BLOCK" target="`${&quot;srss[0].clock[0].hfclk[0]&quot;}`" value="" valid="true" />
50    </DRC>
51  </DRCs>
52  <ConfigFirmware>
53    <ConfigInclude value="cy_sysclk.h" include="true" />
54    <ConfigInclude value="cy_pra.h" include="`${is40srssAvailable}`" />
55    <ConfigInclude value="cy_pra_cfg.h" include="`${is40srssAvailable}`" />
56    <ConfigInclude value="cy_wdt.h" include="`${is40srss_ver3Available || is22srssAvailable}`" />
57    <ConfigInclude value="cy_ble_clk.h" include="`${hasBlock(&quot;bless[0]&quot;)}`" />
58
59
60    <ConfigDefine name="CY_CFG_SYSCLK_ECO_ERROR"   value="1" public="false" include="true" />
61    <ConfigDefine name="CY_CFG_SYSCLK_ALTHF_ERROR" value="2" public="false" include="true" />
62    <ConfigDefine name="CY_CFG_SYSCLK_PLL_ERROR"   value="3" public="false" include="`${is40srss_ver3Available || is40srssAvailable || is22srssAvailable}`" />
63    <ConfigDefine name="CY_CFG_SYSCLK_FLL_ERROR"   value="4" public="false" include="`${is40srss_ver3Available || is40srssAvailable || is40ssrssAvailable}`" />
64    <ConfigDefine name="CY_CFG_SYSCLK_WCO_ERROR"   value="5" public="false" include="true" />
65
66    <ConfigStruct name="`${INST_NAME . &quot;_secureConfig&quot;}`" type="cy_stc_pra_system_config_t" const="false" public="false" include="`${is40srssAvailable}`" guard="defined (CY_DEVICE_SECURE)" >
67    </ConfigStruct>
68
69    <ConfigFunction signature="__WEAK void __NO_RETURN cycfg_ClockStartupError(uint32_t error)" body="    (void)error; /* Suppress the compiler warning */&#xA;    while(1);" public="false" include="`${is40srssAvailable}`" />
70    <ConfigFunction signature="__WEAK void cycfg_ClockStartupError(uint32_t error)" body="    (void)error; /* Suppress the compiler warning */&#xA;    while(1);" public="false" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
71
72    <ConfigFunction signature="__STATIC_INLINE void Cy_SysClk_Ilo0DeInit()" body="    if(Cy_SysPm_IsBgRefCtrl())&#xA;    {&#xA;        Cy_SysPm_BgRefCtrl(false);&#xA;        Cy_WDT_Unlock();&#xA;        Cy_SysClk_IloSrcDisable(0);&#xA;        Cy_SysClk_IloSrcHibernateOn(0, false);&#xA;        Cy_WDT_Lock();&#xA;        Cy_SysPm_BgRefCtrl(true);&#xA;    }&#xA;    else&#xA;    {&#xA;        Cy_WDT_Unlock();&#xA;        Cy_SysClk_IloSrcDisable(0);&#xA;        Cy_SysClk_IloSrcHibernateOn(0, false);&#xA;        Cy_WDT_Lock();&#xA;    }" public="false" include="`${is40srss_ver3Available}`" guard="!defined (CY_CFG_SYSCLK_ILO0_ENABLED)"/>
73    <ConfigFunction signature="__STATIC_INLINE void Cy_SysClk_Ilo1DeInit()" body="    Cy_SysClk_IloSrcDisable(1);&#xA;    Cy_SysClk_IloSrcHibernateOn(1, false);" public="false" include="`${is40srss_ver3Available}`" guard="!defined (CY_CFG_SYSCLK_ILO1_ENABLED)"/>
74
75    <ConfigFunction signature="__STATIC_INLINE void Cy_SysClk_FllDeInit()" body="    Cy_SysClk_FllDisable();" public="false" include="`${is40srss_ver3Available || is40srssAvailable || is40ssrssAvailable}`" guard="(!defined(CY_DEVICE_SECURE))"/>
76
77    <ConfigFunction signature="void init_cycfg_secure_struct(cy_stc_pra_system_config_t * secure_config)" body="
78   #ifdef CY_CFG_PWR_ENABLED&#xA;
79       secure_config->powerEnable = CY_CFG_PWR_ENABLED;&#xA;
80   #endif /* CY_CFG_PWR_ENABLED */&#xA;
81&#xA;
82   #ifdef CY_CFG_PWR_USING_LDO&#xA;
83       secure_config->ldoEnable = CY_CFG_PWR_USING_LDO;&#xA;
84   #endif /* CY_CFG_PWR_USING_LDO */&#xA;
85&#xA;
86   #ifdef CY_CFG_PWR_USING_PMIC&#xA;
87       secure_config->pmicEnable = CY_CFG_PWR_USING_PMIC;&#xA;
88   #endif /* CY_CFG_PWR_USING_PMIC */&#xA;
89&#xA;
90   #ifdef CY_CFG_PWR_VBACKUP_USING_VDDD&#xA;
91       secure_config->vBackupVDDDEnable = CY_CFG_PWR_VBACKUP_USING_VDDD;&#xA;
92   #endif /* CY_CFG_PWR_VBACKUP_USING_VDDD */&#xA;
93&#xA;
94   #ifdef CY_CFG_PWR_USING_ULP&#xA;
95       secure_config->ulpEnable = CY_CFG_PWR_USING_ULP;&#xA;
96   #endif /* CY_CFG_PWR_USING_ULP */&#xA;
97&#xA;
98   #ifdef CY_CFG_SYSCLK_ECO_ENABLED&#xA;
99       secure_config->ecoEnable = CY_CFG_SYSCLK_ECO_ENABLED;&#xA;
100   #endif /* CY_CFG_SYSCLK_ECO_ENABLED */&#xA;
101&#xA;
102   #ifdef CY_CFG_SYSCLK_EXTCLK_ENABLED&#xA;
103       secure_config->extClkEnable = CY_CFG_SYSCLK_EXTCLK_ENABLED;&#xA;
104   #endif /* CY_CFG_SYSCLK_EXTCLK_ENABLED */&#xA;
105&#xA;
106   #ifdef CY_CFG_SYSCLK_ILO_ENABLED&#xA;
107       secure_config->iloEnable = CY_CFG_SYSCLK_ILO_ENABLED;&#xA;
108   #endif /* CY_CFG_SYSCLK_ILO_ENABLED */&#xA;
109&#xA;
110   #ifdef CY_CFG_SYSCLK_WCO_ENABLED&#xA;
111       secure_config->wcoEnable = CY_CFG_SYSCLK_WCO_ENABLED;&#xA;
112   #endif /* CY_CFG_SYSCLK_WCO_ENABLED */&#xA;
113&#xA;
114   #ifdef CY_CFG_SYSCLK_FLL_ENABLED&#xA;
115       secure_config->fllEnable = CY_CFG_SYSCLK_FLL_ENABLED;&#xA;
116   #endif /* CY_CFG_SYSCLK_FLL_ENABLED */&#xA;
117&#xA;
118   #ifdef CY_CFG_SYSCLK_PLL0_ENABLED&#xA;
119       secure_config->pll0Enable = CY_CFG_SYSCLK_PLL0_ENABLED;&#xA;
120   #endif /* CY_CFG_SYSCLK_PLL0_ENABLED */&#xA;
121&#xA;
122   #ifdef CY_CFG_SYSCLK_PLL1_ENABLED&#xA;
123       secure_config->pll1Enable = CY_CFG_SYSCLK_PLL1_ENABLED;&#xA;
124   #endif /* CY_CFG_SYSCLK_PLL1_ENABLED */&#xA;
125&#xA;
126   #ifdef CY_CFG_SYSCLK_CLKPATH0_ENABLED&#xA;
127       secure_config->path0Enable = CY_CFG_SYSCLK_CLKPATH0_ENABLED;&#xA;
128   #endif /* CY_CFG_SYSCLK_CLKPATH0_ENABLED */&#xA;
129&#xA;
130   #ifdef CY_CFG_SYSCLK_CLKPATH1_ENABLED&#xA;
131       secure_config->path1Enable = CY_CFG_SYSCLK_CLKPATH1_ENABLED;&#xA;
132   #endif /* CY_CFG_SYSCLK_CLKPATH1_ENABLED */&#xA;
133&#xA;
134   #ifdef CY_CFG_SYSCLK_CLKPATH2_ENABLED&#xA;
135       secure_config->path2Enable = CY_CFG_SYSCLK_CLKPATH2_ENABLED;&#xA;
136   #endif /* CY_CFG_SYSCLK_CLKPATH2_ENABLED */&#xA;
137&#xA;
138   #ifdef CY_CFG_SYSCLK_CLKPATH3_ENABLED&#xA;
139       secure_config->path3Enable = CY_CFG_SYSCLK_CLKPATH3_ENABLED;&#xA;
140   #endif /* CY_CFG_SYSCLK_CLKPATH3_ENABLED */&#xA;
141&#xA;
142   #ifdef CY_CFG_SYSCLK_CLKPATH4_ENABLED&#xA;
143       secure_config->path4Enable = CY_CFG_SYSCLK_CLKPATH4_ENABLED;&#xA;
144   #endif /* CY_CFG_SYSCLK_CLKPATH4_ENABLED */&#xA;
145&#xA;
146   #ifdef CY_CFG_SYSCLK_CLKPATH5_ENABLED&#xA;
147       secure_config->path5Enable = CY_CFG_SYSCLK_CLKPATH5_ENABLED;&#xA;
148   #endif /* CY_CFG_SYSCLK_CLKPATH5_ENABLED */&#xA;
149&#xA;
150   #ifdef CY_CFG_SYSCLK_CLKFAST_ENABLED&#xA;
151       secure_config->clkFastEnable = CY_CFG_SYSCLK_CLKFAST_ENABLED;&#xA;
152   #endif /* CY_CFG_SYSCLK_CLKFAST_ENABLED */&#xA;
153&#xA;
154   #ifdef CY_CFG_SYSCLK_CLKPERI_ENABLED&#xA;
155       secure_config->clkPeriEnable = CY_CFG_SYSCLK_CLKPERI_ENABLED;&#xA;
156   #endif /* CY_CFG_SYSCLK_CLKPERI_ENABLED */&#xA;
157&#xA;
158   #ifdef CY_CFG_SYSCLK_CLKSLOW_ENABLED&#xA;
159       secure_config->clkSlowEnable = CY_CFG_SYSCLK_CLKSLOW_ENABLED;&#xA;
160   #endif /* CY_CFG_SYSCLK_CLKSLOW_ENABLED */&#xA;
161&#xA;
162   #ifdef CY_CFG_SYSCLK_CLKHF0_ENABLED&#xA;
163       secure_config->clkHF0Enable = CY_CFG_SYSCLK_CLKHF0_ENABLED;&#xA;
164   #endif /* CY_CFG_SYSCLK_CLKHF0_ENABLED */&#xA;
165&#xA;
166   #ifdef CY_CFG_SYSCLK_CLKHF1_ENABLED&#xA;
167       secure_config->clkHF1Enable = CY_CFG_SYSCLK_CLKHF1_ENABLED;&#xA;
168   #endif /* CY_CFG_SYSCLK_CLKHF1_ENABLED */&#xA;
169&#xA;
170   #ifdef CY_CFG_SYSCLK_CLKHF2_ENABLED&#xA;
171       secure_config->clkHF2Enable = CY_CFG_SYSCLK_CLKHF2_ENABLED;&#xA;
172   #endif /* CY_CFG_SYSCLK_CLKHF2_ENABLED */&#xA;
173&#xA;
174   #ifdef CY_CFG_SYSCLK_CLKHF3_ENABLED&#xA;
175       secure_config->clkHF3Enable = CY_CFG_SYSCLK_CLKHF3_ENABLED;&#xA;
176   #endif /* CY_CFG_SYSCLK_CLKHF3_ENABLED */&#xA;
177&#xA;
178   #ifdef CY_CFG_SYSCLK_CLKHF4_ENABLED&#xA;
179       secure_config->clkHF4Enable = CY_CFG_SYSCLK_CLKHF4_ENABLED;&#xA;
180   #endif /* CY_CFG_SYSCLK_CLKHF4_ENABLED */&#xA;
181&#xA;
182   #ifdef CY_CFG_SYSCLK_CLKHF5_ENABLED&#xA;
183       secure_config->clkHF5Enable = CY_CFG_SYSCLK_CLKHF5_ENABLED;&#xA;
184   #endif /* CY_CFG_SYSCLK_CLKHF5_ENABLED */&#xA;
185&#xA;
186   #ifdef CY_CFG_SYSCLK_CLKPUMP_ENABLED&#xA;
187       secure_config->clkPumpEnable = CY_CFG_SYSCLK_CLKPUMP_ENABLED;&#xA;
188   #endif /* CY_CFG_SYSCLK_CLKPUMP_ENABLED */&#xA;
189&#xA;
190   #ifdef CY_CFG_SYSCLK_CLKLF_ENABLED&#xA;
191       secure_config->clkLFEnable = CY_CFG_SYSCLK_CLKLF_ENABLED;&#xA;
192   #endif /* CY_CFG_SYSCLK_CLKLF_ENABLED */&#xA;
193&#xA;
194   #ifdef CY_CFG_SYSCLK_CLKBAK_ENABLED&#xA;
195       secure_config->clkBakEnable = CY_CFG_SYSCLK_CLKBAK_ENABLED;&#xA;
196   #endif /* CY_CFG_SYSCLK_CLKBAK_ENABLED */&#xA;
197&#xA;
198   #ifdef CY_CFG_SYSCLK_CLKTIMER_ENABLED&#xA;
199       secure_config->clkTimerEnable = CY_CFG_SYSCLK_CLKTIMER_ENABLED;&#xA;
200   #endif /* CY_CFG_SYSCLK_CLKTIMER_ENABLED */&#xA;
201&#xA;
202   #ifdef CY_CFG_SYSCLK_CLKALTSYSTICK_ENABLED&#xA;
203       #error Configuration Error : ALT SYSTICK cannot be enabled for Secure devices. &#xA;
204   #endif /* CY_CFG_SYSCLK_CLKALTSYSTICK_ENABLED */&#xA;
205&#xA;
206   #ifdef CY_CFG_SYSCLK_PILO_ENABLED&#xA;
207       secure_config->piloEnable = CY_CFG_SYSCLK_PILO_ENABLED;&#xA;
208   #endif /* CY_CFG_SYSCLK_PILO_ENABLED */&#xA;
209&#xA;
210   #ifdef CY_CFG_SYSCLK_ALTHF_ENABLED&#xA;
211       secure_config->clkAltHfEnable = CY_CFG_SYSCLK_ALTHF_ENABLED;&#xA;
212   #endif /* CY_CFG_SYSCLK_ALTHF_ENABLED */&#xA;
213&#xA;
214   #ifdef CY_CFG_PWR_LDO_VOLTAGE&#xA;
215       secure_config->ldoVoltage = CY_CFG_PWR_LDO_VOLTAGE;&#xA;
216   #endif /* CY_CFG_PWR_LDO_VOLTAGE */&#xA;
217&#xA;
218   #ifdef CY_CFG_PWR_REGULATOR_MODE_MIN&#xA;
219       secure_config->pwrCurrentModeMin = CY_CFG_PWR_REGULATOR_MODE_MIN;&#xA;
220   #endif /* CY_CFG_PWR_REGULATOR_MODE_MIN */&#xA;
221&#xA;
222   #ifdef CY_CFG_PWR_BUCK_VOLTAGE&#xA;
223       secure_config->buckVoltage = CY_CFG_PWR_BUCK_VOLTAGE;&#xA;
224   #endif /* CY_CFG_PWR_BUCK_VOLTAGE */&#xA;
225&#xA;
226   #ifdef CY_CFG_SYSCLK_ECO_FREQ&#xA;
227       secure_config->ecoFreqHz = CY_CFG_SYSCLK_ECO_FREQ;&#xA;
228   #endif /* CY_CFG_SYSCLK_ECO_FREQ */&#xA;
229&#xA;
230   #ifdef CY_CFG_SYSCLK_ECO_CLOAD&#xA;
231       secure_config->ecoLoad = CY_CFG_SYSCLK_ECO_CLOAD;&#xA;
232   #endif /* CY_CFG_SYSCLK_ECO_CLOAD */&#xA;
233&#xA;
234   #ifdef CY_CFG_SYSCLK_ECO_ESR&#xA;
235       secure_config->ecoEsr = CY_CFG_SYSCLK_ECO_ESR;&#xA;
236   #endif /* CY_CFG_SYSCLK_ECO_ESR */&#xA;
237&#xA;
238   #ifdef CY_CFG_SYSCLK_ECO_DRIVE_LEVEL&#xA;
239       secure_config->ecoDriveLevel = CY_CFG_SYSCLK_ECO_DRIVE_LEVEL;&#xA;
240   #endif /* CY_CFG_SYSCLK_ECO_DRIVE_LEVEL */&#xA;
241&#xA;
242   #ifdef CY_CFG_SYSCLK_ECO_GPIO_IN_PRT&#xA;
243       secure_config->ecoInPort = CY_CFG_SYSCLK_ECO_GPIO_IN_PRT;&#xA;
244   #endif /* CY_CFG_SYSCLK_ECO_GPIO_IN_PRT */&#xA;
245&#xA;
246   #ifdef CY_CFG_SYSCLK_ECO_GPIO_OUT_PRT&#xA;
247       secure_config->ecoOutPort = CY_CFG_SYSCLK_ECO_GPIO_OUT_PRT;&#xA;
248   #endif /* CY_CFG_SYSCLK_ECO_GPIO_OUT_PRT */&#xA;
249&#xA;
250   #ifdef CY_CFG_SYSCLK_ECO_GPIO_IN_PIN&#xA;
251       secure_config->ecoInPinNum = CY_CFG_SYSCLK_ECO_GPIO_IN_PIN;&#xA;
252   #endif /* CY_CFG_SYSCLK_ECO_GPIO_IN_PIN */&#xA;
253&#xA;
254   #ifdef CY_CFG_SYSCLK_ECO_GPIO_OUT_PIN&#xA;
255       secure_config->ecoOutPinNum = CY_CFG_SYSCLK_ECO_GPIO_OUT_PIN;&#xA;
256   #endif /* CY_CFG_SYSCLK_ECO_GPIO_OUT_PIN */&#xA;
257&#xA;
258   #ifdef CY_CFG_SYSCLK_EXTCLK_FREQ&#xA;
259       secure_config->extClkFreqHz = CY_CFG_SYSCLK_EXTCLK_FREQ;&#xA;
260   #endif /* CY_CFG_SYSCLK_EXTCLK_FREQ */&#xA;
261&#xA;
262   #ifdef CY_CFG_SYSCLK_EXTCLK_GPIO_PRT&#xA;
263       secure_config->extClkPort = CY_CFG_SYSCLK_EXTCLK_GPIO_PRT;&#xA;
264   #endif /* CY_CFG_SYSCLK_EXTCLK_GPIO_PRT */&#xA;
265&#xA;
266   #ifdef CY_CFG_SYSCLK_EXTCLK_GPIO_PIN&#xA;
267       secure_config->extClkPinNum = CY_CFG_SYSCLK_EXTCLK_GPIO_PIN;&#xA;
268   #endif /* CY_CFG_SYSCLK_EXTCLK_GPIO_PIN */&#xA;
269&#xA;
270   #ifdef CY_CFG_SYSCLK_EXTCLK_GPIO_HSIOM&#xA;
271       secure_config->extClkHsiom = CY_CFG_SYSCLK_EXTCLK_GPIO_HSIOM;&#xA;
272   #endif /* CY_CFG_SYSCLK_EXTCLK_GPIO_HSIOM */&#xA;
273&#xA;
274   #ifdef CY_CFG_SYSCLK_ILO_HIBERNATE&#xA;
275       secure_config->iloHibernateON = CY_CFG_SYSCLK_ILO_HIBERNATE;&#xA;
276   #endif /* CY_CFG_SYSCLK_ILO_HIBERNATE */&#xA;
277&#xA;
278   #ifdef CY_CFG_SYSCLK_WCO_BYPASS&#xA;
279       secure_config->bypassEnable = CY_CFG_SYSCLK_WCO_BYPASS;&#xA;
280   #endif /* CY_CFG_SYSCLK_WCO_BYPASS */&#xA;
281&#xA;
282   #ifdef CY_CFG_SYSCLK_WCO_IN_PRT&#xA;
283       secure_config->wcoInPort = CY_CFG_SYSCLK_WCO_IN_PRT;&#xA;
284   #endif /* CY_CFG_SYSCLK_WCO_IN_PRT */&#xA;
285&#xA;
286   #ifdef CY_CFG_SYSCLK_WCO_OUT_PRT&#xA;
287       secure_config->wcoOutPort = CY_CFG_SYSCLK_WCO_OUT_PRT;&#xA;
288   #endif /* CY_CFG_SYSCLK_WCO_OUT_PRT */&#xA;
289&#xA;
290   #ifdef CY_CFG_SYSCLK_WCO_IN_PIN&#xA;
291       secure_config->wcoInPinNum = CY_CFG_SYSCLK_WCO_IN_PIN;&#xA;
292   #endif /* CY_CFG_SYSCLK_WCO_IN_PIN */&#xA;
293&#xA;
294   #ifdef CY_CFG_SYSCLK_WCO_OUT_PIN&#xA;
295       secure_config->wcoOutPinNum = CY_CFG_SYSCLK_WCO_OUT_PIN;&#xA;
296   #endif /* CY_CFG_SYSCLK_WCO_OUT_PIN */&#xA;
297&#xA;
298   #ifdef CY_CFG_SYSCLK_FLL_OUT_FREQ&#xA;
299       secure_config->fllOutFreqHz = CY_CFG_SYSCLK_FLL_OUT_FREQ;&#xA;
300   #endif /* CY_CFG_SYSCLK_FLL_OUT_FREQ */&#xA;
301&#xA;
302   #ifdef CY_CFG_SYSCLK_FLL_MULT&#xA;
303       secure_config->fllMult = CY_CFG_SYSCLK_FLL_MULT;&#xA;
304   #endif /* CY_CFG_SYSCLK_FLL_MULT */&#xA;
305&#xA;
306   #ifdef CY_CFG_SYSCLK_FLL_REFDIV&#xA;
307       secure_config->fllRefDiv = CY_CFG_SYSCLK_FLL_REFDIV;&#xA;
308   #endif /* CY_CFG_SYSCLK_FLL_REFDIV */&#xA;
309&#xA;
310   #ifdef CY_CFG_SYSCLK_FLL_CCO_RANGE&#xA;
311       secure_config->fllCcoRange = CY_CFG_SYSCLK_FLL_CCO_RANGE;&#xA;
312   #endif /* CY_CFG_SYSCLK_FLL_CCO_RANGE */&#xA;
313&#xA;
314   #ifdef CY_CFG_SYSCLK_FLL_ENABLE_OUTDIV&#xA;
315       secure_config->enableOutputDiv = CY_CFG_SYSCLK_FLL_ENABLE_OUTDIV;&#xA;
316   #endif /* CY_CFG_SYSCLK_FLL_ENABLE_OUTDIV */&#xA;
317&#xA;
318   #ifdef CY_CFG_SYSCLK_FLL_LOCK_TOLERANCE&#xA;
319       secure_config->lockTolerance = CY_CFG_SYSCLK_FLL_LOCK_TOLERANCE;&#xA;
320   #endif /* CY_CFG_SYSCLK_FLL_LOCK_TOLERANCE */&#xA;
321&#xA;
322   #ifdef CY_CFG_SYSCLK_FLL_IGAIN&#xA;
323       secure_config->igain = CY_CFG_SYSCLK_FLL_IGAIN;&#xA;
324   #endif /* CY_CFG_SYSCLK_FLL_IGAIN */&#xA;
325&#xA;
326   #ifdef CY_CFG_SYSCLK_FLL_PGAIN&#xA;
327       secure_config->pgain = CY_CFG_SYSCLK_FLL_PGAIN;&#xA;
328   #endif /* CY_CFG_SYSCLK_FLL_PGAIN */&#xA;
329&#xA;
330   #ifdef CY_CFG_SYSCLK_FLL_SETTLING_COUNT&#xA;
331       secure_config->settlingCount = CY_CFG_SYSCLK_FLL_SETTLING_COUNT;&#xA;
332   #endif /* CY_CFG_SYSCLK_FLL_SETTLING_COUNT */&#xA;
333&#xA;
334   #ifdef CY_CFG_SYSCLK_FLL_OUTPUT_MODE&#xA;
335       secure_config->outputMode = CY_CFG_SYSCLK_FLL_OUTPUT_MODE;&#xA;
336   #endif /* CY_CFG_SYSCLK_FLL_OUTPUT_MODE */&#xA;
337&#xA;
338   #ifdef CY_CFG_SYSCLK_FLL_CCO_FREQ&#xA;
339       secure_config->ccoFreq = CY_CFG_SYSCLK_FLL_CCO_FREQ;&#xA;
340   #endif /* CY_CFG_SYSCLK_FLL_CCO_FREQ */&#xA;
341&#xA;
342   #ifdef CY_CFG_SYSCLK_PLL0_FEEDBACK_DIV&#xA;
343       secure_config->pll0FeedbackDiv = CY_CFG_SYSCLK_PLL0_FEEDBACK_DIV;&#xA;
344   #endif /* CY_CFG_SYSCLK_PLL0_FEEDBACK_DIV */&#xA;
345&#xA;
346   #ifdef CY_CFG_SYSCLK_PLL0_REFERENCE_DIV&#xA;
347       secure_config->pll0ReferenceDiv = CY_CFG_SYSCLK_PLL0_REFERENCE_DIV;&#xA;
348   #endif /* CY_CFG_SYSCLK_PLL0_REFERENCE_DIV */&#xA;
349&#xA;
350   #ifdef CY_CFG_SYSCLK_PLL0_OUTPUT_DIV&#xA;
351       secure_config->pll0OutputDiv = CY_CFG_SYSCLK_PLL0_OUTPUT_DIV;&#xA;
352   #endif /* CY_CFG_SYSCLK_PLL0_OUTPUT_DIV */&#xA;
353&#xA;
354   #ifdef CY_CFG_SYSCLK_PLL0_LF_MODE&#xA;
355       secure_config->pll0LfMode = CY_CFG_SYSCLK_PLL0_LF_MODE;&#xA;
356   #endif /* CY_CFG_SYSCLK_PLL0_LF_MODE */&#xA;
357&#xA;
358   #ifdef CY_CFG_SYSCLK_PLL0_OUTPUT_MODE&#xA;
359       secure_config->pll0OutputMode = CY_CFG_SYSCLK_PLL0_OUTPUT_MODE;&#xA;
360   #endif /* CY_CFG_SYSCLK_PLL0_OUTPUT_MODE */&#xA;
361&#xA;
362   #ifdef CY_CFG_SYSCLK_PLL0_OUTPUT_FREQ&#xA;
363       secure_config->pll0OutFreqHz = CY_CFG_SYSCLK_PLL0_OUTPUT_FREQ;&#xA;
364   #endif /* CY_CFG_SYSCLK_PLL0_OUTPUT_FREQ */&#xA;
365&#xA;
366   #ifdef CY_CFG_SYSCLK_PLL1_FEEDBACK_DIV&#xA;
367       secure_config->pll1FeedbackDiv = CY_CFG_SYSCLK_PLL1_FEEDBACK_DIV;&#xA;
368   #endif /* CY_CFG_SYSCLK_PLL1_FEEDBACK_DIV */&#xA;
369&#xA;
370   #ifdef CY_CFG_SYSCLK_PLL1_REFERENCE_DIV&#xA;
371       secure_config->pll1ReferenceDiv = CY_CFG_SYSCLK_PLL1_REFERENCE_DIV;&#xA;
372   #endif /* CY_CFG_SYSCLK_PLL1_REFERENCE_DIV */&#xA;
373&#xA;
374   #ifdef CY_CFG_SYSCLK_PLL1_OUTPUT_DIV&#xA;
375       secure_config->pll1OutputDiv = CY_CFG_SYSCLK_PLL1_OUTPUT_DIV;&#xA;
376   #endif /* CY_CFG_SYSCLK_PLL1_OUTPUT_DIV */&#xA;
377&#xA;
378   #ifdef CY_CFG_SYSCLK_PLL1_LF_MODE&#xA;
379       secure_config->pll1LfMode = CY_CFG_SYSCLK_PLL1_LF_MODE;&#xA;
380   #endif /* CY_CFG_SYSCLK_PLL1_LF_MODE */&#xA;
381&#xA;
382   #ifdef CY_CFG_SYSCLK_PLL1_OUTPUT_MODE&#xA;
383       secure_config->pll1OutputMode = CY_CFG_SYSCLK_PLL1_OUTPUT_MODE;&#xA;
384   #endif /* CY_CFG_SYSCLK_PLL1_OUTPUT_MODE */&#xA;
385&#xA;
386   #ifdef CY_CFG_SYSCLK_PLL1_OUTPUT_FREQ&#xA;
387       secure_config->pll1OutFreqHz = CY_CFG_SYSCLK_PLL1_OUTPUT_FREQ;&#xA;
388   #endif /* CY_CFG_SYSCLK_PLL1_OUTPUT_FREQ */&#xA;
389&#xA;
390   #ifdef CY_CFG_SYSCLK_CLKPATH0_SOURCE&#xA;
391       secure_config->path0Src = CY_CFG_SYSCLK_CLKPATH0_SOURCE;&#xA;
392   #endif /* CY_CFG_SYSCLK_CLKPATH0_SOURCE */&#xA;
393&#xA;
394   #ifdef CY_CFG_SYSCLK_CLKPATH1_SOURCE&#xA;
395       secure_config->path1Src = CY_CFG_SYSCLK_CLKPATH1_SOURCE;&#xA;
396   #endif /* CY_CFG_SYSCLK_CLKPATH1_SOURCE */&#xA;
397&#xA;
398   #ifdef CY_CFG_SYSCLK_CLKPATH2_SOURCE&#xA;
399       secure_config->path2Src = CY_CFG_SYSCLK_CLKPATH2_SOURCE;&#xA;
400   #endif /* CY_CFG_SYSCLK_CLKPATH2_SOURCE */&#xA;
401&#xA;
402   #ifdef CY_CFG_SYSCLK_CLKPATH3_SOURCE&#xA;
403       secure_config->path3Src = CY_CFG_SYSCLK_CLKPATH3_SOURCE;&#xA;
404   #endif /* CY_CFG_SYSCLK_CLKPATH3_SOURCE */&#xA;
405&#xA;
406   #ifdef CY_CFG_SYSCLK_CLKPATH4_SOURCE&#xA;
407       secure_config->path4Src = CY_CFG_SYSCLK_CLKPATH4_SOURCE;&#xA;
408   #endif /* CY_CFG_SYSCLK_CLKPATH4_SOURCE */&#xA;
409&#xA;
410   #ifdef CY_CFG_SYSCLK_CLKPATH5_SOURCE&#xA;
411       secure_config->path5Src = CY_CFG_SYSCLK_CLKPATH5_SOURCE;&#xA;
412   #endif /* CY_CFG_SYSCLK_CLKPATH5_SOURCE */&#xA;
413&#xA;
414   #ifdef CY_CFG_SYSCLK_CLKFAST_DIVIDER&#xA;
415       secure_config->clkFastDiv = CY_CFG_SYSCLK_CLKFAST_DIVIDER;&#xA;
416   #endif /* CY_CFG_SYSCLK_CLKFAST_DIVIDER */&#xA;
417&#xA;
418   #ifdef CY_CFG_SYSCLK_CLKPERI_DIVIDER&#xA;
419       secure_config->clkPeriDiv = CY_CFG_SYSCLK_CLKPERI_DIVIDER;&#xA;
420   #endif /* CY_CFG_SYSCLK_CLKPERI_DIVIDER */&#xA;
421&#xA;
422   #ifdef CY_CFG_SYSCLK_CLKSLOW_DIVIDER&#xA;
423       secure_config->clkSlowDiv = CY_CFG_SYSCLK_CLKSLOW_DIVIDER;&#xA;
424   #endif /* CY_CFG_SYSCLK_CLKSLOW_DIVIDER */&#xA;
425&#xA;
426   #ifdef CY_CFG_SYSCLK_CLKHF0_CLKPATH&#xA;
427       secure_config->hf0Source = CY_CFG_SYSCLK_CLKHF0_CLKPATH;&#xA;
428   #endif /* CY_CFG_SYSCLK_CLKHF0_CLKPATH */&#xA;
429&#xA;
430   #ifdef CY_CFG_SYSCLK_CLKHF0_DIVIDER&#xA;
431       secure_config->hf0Divider = CY_CFG_SYSCLK_CLKHF0_DIVIDER;&#xA;
432   #endif /* CY_CFG_SYSCLK_CLKHF0_DIVIDER */&#xA;
433&#xA;
434   #ifdef CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ&#xA;
435       secure_config->hf0OutFreqMHz = CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ;&#xA;
436   #endif /* CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ */&#xA;
437&#xA;
438   #ifdef CY_CFG_SYSCLK_CLKHF1_CLKPATH&#xA;
439       secure_config->hf1Source = CY_CFG_SYSCLK_CLKHF1_CLKPATH;&#xA;
440   #endif /* CY_CFG_SYSCLK_CLKHF1_CLKPATH */&#xA;
441&#xA;
442   #ifdef CY_CFG_SYSCLK_CLKHF1_DIVIDER&#xA;
443       secure_config->hf1Divider = CY_CFG_SYSCLK_CLKHF1_DIVIDER;&#xA;
444   #endif /* CY_CFG_SYSCLK_CLKHF1_DIVIDER */&#xA;
445&#xA;
446   #ifdef CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ&#xA;
447       secure_config->hf1OutFreqMHz = CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ;&#xA;
448   #endif /* CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ */&#xA;
449&#xA;
450   #ifdef CY_CFG_SYSCLK_CLKHF2_CLKPATH&#xA;
451       secure_config->hf2Source = CY_CFG_SYSCLK_CLKHF2_CLKPATH;&#xA;
452   #endif /* CY_CFG_SYSCLK_CLKHF2_CLKPATH */&#xA;
453&#xA;
454   #ifdef CY_CFG_SYSCLK_CLKHF2_DIVIDER&#xA;
455       secure_config->hf2Divider = CY_CFG_SYSCLK_CLKHF2_DIVIDER;&#xA;
456   #endif /* CY_CFG_SYSCLK_CLKHF2_DIVIDER */&#xA;
457&#xA;
458   #ifdef CY_CFG_SYSCLK_CLKHF2_FREQ_MHZ&#xA;
459       secure_config->hf2OutFreqMHz = CY_CFG_SYSCLK_CLKHF2_FREQ_MHZ;&#xA;
460   #endif /* CY_CFG_SYSCLK_CLKHF2_FREQ_MHZ */&#xA;
461&#xA;
462   #ifdef CY_CFG_SYSCLK_CLKHF3_CLKPATH&#xA;
463       secure_config->hf3Source = CY_CFG_SYSCLK_CLKHF3_CLKPATH;&#xA;
464   #endif /* CY_CFG_SYSCLK_CLKHF3_CLKPATH */&#xA;
465&#xA;
466   #ifdef CY_CFG_SYSCLK_CLKHF3_DIVIDER&#xA;
467       secure_config->hf3Divider = CY_CFG_SYSCLK_CLKHF3_DIVIDER;&#xA;
468   #endif /* CY_CFG_SYSCLK_CLKHF3_DIVIDER */&#xA;
469&#xA;
470   #ifdef CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ&#xA;
471       secure_config->hf3OutFreqMHz = CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ;&#xA;
472   #endif /* CY_CFG_SYSCLK_CLKHF3_FREQ_MHZ */&#xA;
473&#xA;
474   #ifdef CY_CFG_SYSCLK_CLKHF4_CLKPATH&#xA;
475       secure_config->hf4Source = CY_CFG_SYSCLK_CLKHF4_CLKPATH;&#xA;
476   #endif /* CY_CFG_SYSCLK_CLKHF4_CLKPATH */&#xA;
477&#xA;
478   #ifdef CY_CFG_SYSCLK_CLKHF4_DIVIDER&#xA;
479       secure_config->hf4Divider = CY_CFG_SYSCLK_CLKHF4_DIVIDER;&#xA;
480   #endif /* CY_CFG_SYSCLK_CLKHF4_DIVIDER */&#xA;
481&#xA;
482   #ifdef CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ&#xA;
483       secure_config->hf4OutFreqMHz = CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ;&#xA;
484   #endif /* CY_CFG_SYSCLK_CLKHF4_FREQ_MHZ */&#xA;
485&#xA;
486   #ifdef CY_CFG_SYSCLK_CLKHF5_CLKPATH&#xA;
487       secure_config->hf5Source = CY_CFG_SYSCLK_CLKHF5_CLKPATH;&#xA;
488   #endif /* CY_CFG_SYSCLK_CLKHF5_CLKPATH */&#xA;
489&#xA;
490   #ifdef CY_CFG_SYSCLK_CLKHF5_DIVIDER&#xA;
491       secure_config->hf5Divider = CY_CFG_SYSCLK_CLKHF5_DIVIDER;&#xA;
492   #endif /* CY_CFG_SYSCLK_CLKHF5_DIVIDER */&#xA;
493&#xA;
494   #ifdef CY_CFG_SYSCLK_CLKHF5_FREQ_MHZ&#xA;
495       secure_config->hf5OutFreqMHz = CY_CFG_SYSCLK_CLKHF5_FREQ_MHZ;&#xA;
496   #endif /* CY_CFG_SYSCLK_CLKHF5_FREQ_MHZ */&#xA;
497&#xA;
498   #ifdef CY_CFG_SYSCLK_CLKPUMP_SOURCE&#xA;
499       secure_config->pumpSource = CY_CFG_SYSCLK_CLKPUMP_SOURCE;&#xA;
500   #endif /* CY_CFG_SYSCLK_CLKPUMP_SOURCE */&#xA;
501&#xA;
502   #ifdef CY_CFG_SYSCLK_CLKPUMP_DIVIDER&#xA;
503       secure_config->pumpDivider = CY_CFG_SYSCLK_CLKPUMP_DIVIDER;&#xA;
504   #endif /* CY_CFG_SYSCLK_CLKPUMP_DIVIDER */&#xA;
505&#xA;
506   #ifdef CY_CFG_SYSCLK_CLKLF_SOURCE&#xA;
507       secure_config->clkLfSource = CY_CFG_SYSCLK_CLKLF_SOURCE;&#xA;
508   #endif /* CY_CFG_SYSCLK_CLKLF_SOURCE */&#xA;
509&#xA;
510   #ifdef CY_CFG_SYSCLK_CLKBAK_SOURCE&#xA;
511       secure_config->clkBakSource = CY_CFG_SYSCLK_CLKBAK_SOURCE;&#xA;
512   #endif /* CY_CFG_SYSCLK_CLKBAK_SOURCE */&#xA;
513&#xA;
514   #ifdef CY_CFG_SYSCLK_CLKTIMER_SOURCE&#xA;
515       secure_config->clkTimerSource = CY_CFG_SYSCLK_CLKTIMER_SOURCE;&#xA;
516   #endif /* CY_CFG_SYSCLK_CLKTIMER_SOURCE */&#xA;
517&#xA;
518   #ifdef CY_CFG_SYSCLK_CLKTIMER_DIVIDER&#xA;
519       secure_config->clkTimerDivider = CY_CFG_SYSCLK_CLKTIMER_DIVIDER;&#xA;
520   #endif /* CY_CFG_SYSCLK_CLKTIMER_DIVIDER */&#xA;
521&#xA;
522   #ifdef CY_CFG_SYSCLK_CLKALTSYSTICK_SOURCE&#xA;
523       secure_config->clkSrcAltSysTick = CY_CFG_SYSCLK_CLKALTSYSTICK_SOURCE;&#xA;
524   #endif /* CY_CFG_SYSCLK_CLKALTSYSTICK_SOURCE */&#xA;
525&#xA;
526   #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLOAD&#xA;
527       secure_config->altHFcLoad = CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLOAD;&#xA;
528   #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLOAD */&#xA;
529&#xA;
530   #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_TIME&#xA;
531       secure_config->altHFxtalStartUpTime = CY_CFG_SYSCLK_ALTHF_BLE_ECO_TIME;&#xA;
532   #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_TIME */&#xA;
533&#xA;
534   #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_FREQ&#xA;
535       secure_config->altHFclkFreq = CY_CFG_SYSCLK_ALTHF_BLE_ECO_FREQ;&#xA;
536   #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_FREQ */&#xA;
537&#xA;
538   #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLK_DIV&#xA;
539       secure_config->altHFsysClkDiv = CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLK_DIV;&#xA;
540   #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_CLK_DIV */&#xA;
541&#xA;
542   #ifdef CY_CFG_SYSCLK_ALTHF_BLE_ECO_VOL_REGULATOR&#xA;
543       secure_config->altHFvoltageReg = CY_CFG_SYSCLK_ALTHF_BLE_ECO_VOL_REGULATOR;&#xA;
544   #endif /* CY_CFG_SYSCLK_ALTHF_BLE_ECO_VOL_REGULATOR */&#xA;"
545    public="false" include="`${is40srssAvailable}`" guard="defined (CY_DEVICE_SECURE)"/>
546
547
548    <!-- Configure Secure options -->
549    <ConfigInstruction value="#if defined(CY_DEVICE_SECURE)" include="`${is40srssAvailable}`"  />
550    <ConfigInstruction value="    cy_en_pra_status_t configStatus;" include="`${is40srssAvailable}`"  />
551    <ConfigInstruction value="    init_cycfg_secure_struct(&amp;`${INST_NAME . &quot;_secureConfig&quot;}`);" include="`${is40srssAvailable}`"  />
552    <ConfigInstruction value="    #if (((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM &gt;= 3UL) &amp;&amp; (CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM &lt;= 5UL))  &amp;&amp; (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 0UL))" include="`${is40srssAvailable}`"  />
553    <ConfigInstruction value="        #error Configuration Error : ALTHF, ILO, PILO cannot drive HF0." include="`${is40srssAvailable}`"  />
554    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
555    <ConfigInstruction value="    #if (((CY_CFG_SYSCLK_CLKPATH1_SOURCE_NUM &gt;= 3UL) &amp;&amp; (CY_CFG_SYSCLK_CLKPATH1_SOURCE_NUM &lt;= 5UL)) &amp;&amp; (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 1UL))" include="`${is40srssAvailable}`"  />
556    <ConfigInstruction value="        #error Configuration Error : ALTHF, ILO, PILO cannot drive HF0." include="`${is40srssAvailable}`"  />
557    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
558    <ConfigInstruction value="    #if (((CY_CFG_SYSCLK_CLKPATH2_SOURCE_NUM &gt;= 3UL) &amp;&amp; (CY_CFG_SYSCLK_CLKPATH2_SOURCE_NUM &lt;= 5UL)) &amp;&amp; (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 2UL))" include="`${is40srssAvailable}`"  />
559    <ConfigInstruction value="        #error Configuration Error : ALTHF, ILO, PILO cannot drive HF0." include="`${is40srssAvailable}`"  />
560    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
561    <ConfigInstruction value="    #if (((CY_CFG_SYSCLK_CLKPATH3_SOURCE_NUM &gt;= 3UL) &amp;&amp; (CY_CFG_SYSCLK_CLKPATH3_SOURCE_NUM &lt;= 5UL)) &amp;&amp; (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 3UL))" include="`${is40srssAvailable}`"  />
562    <ConfigInstruction value="        #error Configuration Error : ALTHF, ILO, PILO cannot drive HF0." include="`${is40srssAvailable}`"  />
563    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
564    <ConfigInstruction value="    #if (((CY_CFG_SYSCLK_CLKPATH4_SOURCE_NUM &gt;= 3UL) &amp;&amp; (CY_CFG_SYSCLK_CLKPATH4_SOURCE_NUM &lt;= 5UL)) &amp;&amp; (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 4UL))" include="`${is40srssAvailable}`"  />
565    <ConfigInstruction value="        #error Configuration Error : ALTHF, ILO, PILO cannot drive HF0." include="`${is40srssAvailable}`"  />
566    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
567    <ConfigInstruction value="    #if (((CY_CFG_SYSCLK_CLKPATH5_SOURCE_NUM &gt;= 3UL) &amp;&amp; (CY_CFG_SYSCLK_CLKPATH5_SOURCE_NUM &lt;= 5UL)) &amp;&amp; (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 5UL))" include="`${is40srssAvailable}`"  />
568    <ConfigInstruction value="        #error Configuration Error : ALTHF, ILO, PILO cannot drive HF0." include="`${is40srssAvailable}`"  />
569    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
570    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
571    <ConfigInstruction value="    configStatus = CY_PRA_FUNCTION_CALL_RETURN_PARAM(CY_PRA_MSG_TYPE_SYS_CFG_FUNC," include="`${is40srssAvailable}`"  />
572    <ConfigInstruction value="                                CY_PRA_FUNC_INIT_CYCFG_DEVICE," include="`${is40srssAvailable}`"  />
573    <ConfigInstruction value="                                &amp;`${INST_NAME . &quot;_secureConfig&quot;}`);" include="`${is40srssAvailable}`"  />
574    <ConfigInstruction value="    if ( configStatus != CY_PRA_STATUS_SUCCESS )&#xA;        {&#xA;            cycfg_ClockStartupError(configStatus);&#xA;        }&#xA;" include="`${is40srssAvailable}`"  />
575    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_EXTCLK_FREQ" include="`${is40srssAvailable}`"  />
576    <ConfigInstruction value="        Cy_SysClk_ExtClkSetFrequency(CY_CFG_SYSCLK_EXTCLK_FREQ);" include="`${is40srssAvailable}`"  />
577    <ConfigInstruction value="    #endif /* CY_CFG_SYSCLK_EXTCLK_FREQ */" include="`${is40srssAvailable}`"  />
578    <ConfigInstruction value="#else /* defined(CY_DEVICE_SECURE) */" include="`${is40srssAvailable}`"  />
579    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
580
581    <!-- Configure flash wait states -->
582    <ConfigInstruction value="    /* Set worst case memory wait states (! ultra low power, 150 MHz), will update at the end */" include="`${is40srssAvailable || is40srss_ver3Available}`"  />
583    <ConfigInstruction value="    Cy_SysLib_SetWaitStates(false, 150UL);" include="`${is40srssAvailable || is40srss_ver3Available}`"  />
584
585    <!-- Configure power options -->
586    <ConfigInstruction value="#ifdef CY_CFG_PWR_ENABLED" include="true"  />
587    <ConfigInstruction value="    #ifdef CY_CFG_PWR_INIT" include="true"  />
588    <ConfigInstruction value="        init_cycfg_power();" include="true"  />
589    <ConfigInstruction value="    #else" include="true"  />
590    <ConfigInstruction value="        #warning Power system will not be configured. Update power personality to v1.20 or later." include="true"  />
591    <ConfigInstruction value="    #endif /* CY_CFG_PWR_INIT */" include="true"  />
592    <ConfigInstruction value="#endif /* CY_CFG_PWR_ENABLED */" include="true"  />
593    <ConfigInstruction value="" include="true"  />
594
595    <!-- Reset and configure platform clocks -->
596	<ConfigInstruction value="/* Disable FLL */" include="`${is40srss_ver3Available || is40srssAvailable || is40ssrssAvailable}`"  />
597    <ConfigInstruction value="Cy_SysClk_FllDeInit();" include="`${is40srss_ver3Available || is40srssAvailable || is40ssrssAvailable}`" />
598    <ConfigInstruction value="" include="`${is40srss_ver3Available || is40srssAvailable || is40ssrssAvailable}`"  />
599
600    <ConfigInstruction value="    /* Reset the core clock path to default and disable all the FLLs/PLLs */" include="`${is40srssAvailable}`"  />
601    <ConfigInstruction value="    Cy_SysClk_ClkHfSetDivider(0U, CY_SYSCLK_CLKHF_NO_DIVIDE);" include="`${is40srssAvailable}`"  />
602    <ConfigInstruction value="    Cy_SysClk_ClkFastSetDivider(0U);" include="`${is40srssAvailable}`"  />
603    <ConfigInstruction value="    Cy_SysClk_ClkPeriSetDivider(1U);" include="`${is40srssAvailable}`"  />
604    <ConfigInstruction value="    Cy_SysClk_ClkSlowSetDivider(0U);" include="`${is40srssAvailable}`"  />
605    <ConfigInstruction value="    for (uint32_t pll = CY_SRSS_NUM_PLL; pll > 0UL; --pll) /* PLL 1 is the first PLL. 0 is invalid. */" include="`${is40srssAvailable}`"  />
606    <ConfigInstruction value="    {" include="`${is40srssAvailable}`"  />
607    <ConfigInstruction value="        (void)Cy_SysClk_PllDisable(pll);" include="`${is40srssAvailable}`"  />
608    <ConfigInstruction value="    }" include="`${is40srssAvailable}`"  />
609    <ConfigInstruction value="    Cy_SysClk_ClkPathSetSource(CY_SYSCLK_CLKHF_IN_CLKPATH1, CY_SYSCLK_CLKPATH_IN_IMO);" include="`${is40srssAvailable}`"  />
610    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
611    <ConfigInstruction value="    if ((CY_SYSCLK_CLKHF_IN_CLKPATH0 == Cy_SysClk_ClkHfGetSource(0UL)) &amp;&amp;" include="`${is40srssAvailable}`"  />
612    <ConfigInstruction value="        (CY_SYSCLK_CLKPATH_IN_WCO == Cy_SysClk_ClkPathGetSource(CY_SYSCLK_CLKHF_IN_CLKPATH0)))" include="`${is40srssAvailable}`"  />
613    <ConfigInstruction value="    {" include="`${is40srssAvailable}`"  />
614    <ConfigInstruction value="        Cy_SysClk_ClkHfSetSource(0U, CY_SYSCLK_CLKHF_IN_CLKPATH1);" include="`${is40srssAvailable}`"  />
615    <ConfigInstruction value="    }" include="`${is40srssAvailable}`"  />
616    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
617    <ConfigInstruction value="    Cy_SysClk_ClkPathSetSource(CY_SYSCLK_CLKHF_IN_CLKPATH0, CY_SYSCLK_CLKPATH_IN_IMO);" include="`${is40srssAvailable}`"  />
618    <ConfigInstruction value="    Cy_SysClk_ClkHfSetSource(0UL, CY_SYSCLK_CLKHF_IN_CLKPATH0);" include="`${is40srssAvailable}`"  />
619    <ConfigInstruction value="    #ifdef CY_IP_MXBLESS" include="`${is40srssAvailable}`"  />
620    <ConfigInstruction value="        (void)Cy_BLE_EcoReset();" include="`${is40srssAvailable}`"  />
621    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
622    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
623    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
624
625
626    <!-- Enable all source clocks -->
627    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_ILO0_ENABLED" include="`${is40srss_ver3Available}`"  />
628    <ConfigInstruction value="    Cy_SysClk_Ilo0Init();" include="`${is40srss_ver3Available}`"  />
629    <ConfigInstruction value="#else" include="`${is40srss_ver3Available}`"  />
630    <ConfigInstruction value="    Cy_SysClk_Ilo0DeInit();" include="`${is40srss_ver3Available}`"  />
631
632    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available}`"  />
633    <ConfigInstruction value="" include="`${is40srss_ver3Available}`"  />
634
635    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_ILO1_ENABLED" include="`${is40srss_ver3Available}`"  />
636    <ConfigInstruction value="    Cy_SysClk_Ilo1Init();" include="`${is40srss_ver3Available}`"  />
637    <ConfigInstruction value="#else" include="`${is40srss_ver3Available}`"  />
638    <ConfigInstruction value="    Cy_SysClk_Ilo1DeInit();" include="`${is40srss_ver3Available}`"  />
639    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available}`"  />
640    <ConfigInstruction value="" include="`${is40srss_ver3Available}`"  />
641
642    <!-- Enable all source clocks -->
643    <ConfigInstruction value="/* Enable all source clocks */" include="true"  />
644    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PILO_ENABLED" include="true"  />
645    <ConfigInstruction value="    Cy_SysClk_PiloInit();" include="true"  />
646    <ConfigInstruction value="#endif" include="true"  />
647    <ConfigInstruction value="" include="true"  />
648
649    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_WCO_ENABLED" include="true"  />
650    <ConfigInstruction value="    Cy_SysClk_WcoInit();" include="true"  />
651    <ConfigInstruction value="#endif" include="true"  />
652    <ConfigInstruction value="" include="true"  />
653
654    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_ECO_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
655    <ConfigInstruction value="    Cy_SysClk_EcoInit();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
656    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
657    <ConfigInstruction value="" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
658
659    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKLF_ENABLED" include="true"  /> <!--CDT 264793-->
660    <ConfigInstruction value="    Cy_SysClk_ClkLfInit();" include="true"  />
661    <ConfigInstruction value="#endif" include="true"  />
662    <ConfigInstruction value="" include="true"  />
663
664    <ConfigInstruction value="    #if (defined(CY_IP_M4CPUSS) &amp;&amp; CY_CFG_SYSCLK_ALTHF_ENABLED)&#xA;" include="`${is40srssAvailable}`"  />
665    <ConfigInstruction value="        Cy_SysClk_AltHfInit();" include="`${is40srssAvailable}`"  />
666    <ConfigInstruction value="    #endif /* (defined(CY_IP_M4CPUSS) &amp;&amp; CY_CFG_SYSCLK_ALTHF_ENABLED */&#xA;" include="`${is40srssAvailable}`"  />
667    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
668
669    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_ECO_ENABLED" include="`${is40srssAvailable}`"  />
670    <ConfigInstruction value="        Cy_SysClk_EcoInit();" include="`${is40srssAvailable}`"  />
671    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
672    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
673
674    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_EXTCLK_ENABLED" include="true"  />
675    <ConfigInstruction value="    Cy_SysClk_ExtClkInit();" include="true"  />
676    <ConfigInstruction value="#endif" include="true"  />
677    <ConfigInstruction value="" include="true"  />
678
679    <!-- Configure CPU clock dividers -->
680    <ConfigInstruction value="    /* Configure CPU clock dividers */" include="`${is40srssAvailable}`"  />
681    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_CLKFAST_ENABLED" include="`${is40srssAvailable}`"  />
682    <ConfigInstruction value="        Cy_SysClk_ClkFastInit();" include="`${is40srssAvailable}`"  />
683    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
684    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
685
686    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_CLKPERI_ENABLED" include="`${is40srssAvailable}`"  />
687    <ConfigInstruction value="        Cy_SysClk_ClkPeriInit();" include="`${is40srssAvailable}`"  />
688    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
689    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
690
691    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_CLKSLOW_ENABLED" include="`${is40srssAvailable}`"  />
692    <ConfigInstruction value="        Cy_SysClk_ClkSlowInit();" include="`${is40srssAvailable}`"  />
693    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
694    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
695
696    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_IHO_ENABLED" include="`${is40ssrssAvailable}`"  />
697    <ConfigInstruction value="    Cy_SysClk_IhoInit();" include="`${is40ssrssAvailable}`"  />
698    <ConfigInstruction value="#endif" include="`${is40ssrssAvailable}`"  />
699    <ConfigInstruction value="" include="`${is40ssrssAvailable}`"  />
700
701    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_ALTHF_ENABLED" include="`${is40ssrssAvailable || is22srssAvailable}`"  />
702    <ConfigInstruction value="    Cy_SysClk_AltHfInit();" include="`${is40ssrssAvailable || is22srssAvailable}`"  />
703    <ConfigInstruction value="#endif" include="`${is40ssrssAvailable}`"  />
704    <ConfigInstruction value="" include="`${is40ssrssAvailable}`"  />
705
706    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_ALTHF_ENABLED" include="`${is40srss_ver3Available}`"  />
707    <ConfigInstruction value="    Cy_SysClk_AltHfInit();" include="`${is40srss_ver3Available}`"  />
708    <ConfigInstruction value="#endif" include="`${is22srssAvailable || is40srss_ver3Available}`"  />
709    <ConfigInstruction value="" include="`${is22srssAvailable || is40srss_ver3Available}`"  />
710    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_CLKPERI_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
711    <ConfigInstruction value="        Cy_SysClk_ClkPeriInit();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
712    <ConfigInstruction value="    #endif" include="`${is22srssAvailable || is40srss_ver3Available}`"  />
713    <ConfigInstruction value="" include="`${is22srssAvailable || is40srss_ver3Available}`"  />
714
715    <!-- If CLKHF0 clocked from WCO -->
716    <ConfigInstruction value="    #if ((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM == 0x6UL) &amp;&amp; (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 0U))" include="`${is40srssAvailable}`"  />
717    <ConfigInstruction value="        /* Configure HFCLK0 to temporarily run from IMO to initialize other clocks */" include="`${is40srssAvailable}`"  />
718    <ConfigInstruction value="        Cy_SysClk_ClkPathSetSource(1UL, CY_SYSCLK_CLKPATH_IN_IMO);" include="`${is40srssAvailable}`"  />
719    <ConfigInstruction value="        Cy_SysClk_ClkHfSetSource(0UL, CY_SYSCLK_CLKHF_IN_CLKPATH1);" include="`${is40srssAvailable}`"  />
720    <ConfigInstruction value="    #else" include="`${is40srssAvailable}`"  />
721    <ConfigInstruction value="/* Configure Path Clocks */" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
722    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH1_ENABLED" include="true"  />
723    <ConfigInstruction value="    Cy_SysClk_ClkPath1Init();" include="true"  />
724    <ConfigInstruction value="        #endif" include="`${is40srssAvailable}`"  />
725    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
726    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
727
728    <!-- Configure Path Clocks -->
729    <ConfigInstruction value="    /* Configure Path Clocks */" include="`${is40srssAvailable}`"  />
730    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_CLKPATH0_ENABLED" include="`${is40srssAvailable}`"  />
731    <ConfigInstruction value="        Cy_SysClk_ClkPath0Init();" include="`${is40srssAvailable}`"  />
732    <ConfigInstruction value="#endif" include="true"  />
733    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH2_ENABLED" include="true"  />
734    <ConfigInstruction value="    Cy_SysClk_ClkPath2Init();" include="true"  />
735    <ConfigInstruction value="#endif" include="true"  />
736    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH3_ENABLED" include="true"  />
737    <ConfigInstruction value="    Cy_SysClk_ClkPath3Init();" include="true"  />
738    <ConfigInstruction value="#endif" include="true"  />
739    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH4_ENABLED" include="true"  />
740    <ConfigInstruction value="    Cy_SysClk_ClkPath4Init();" include="true"  />
741    <ConfigInstruction value="#endif" include="true"  />
742    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH5_ENABLED" include="true"  />
743    <ConfigInstruction value="    Cy_SysClk_ClkPath5Init();" include="true"  />
744    <ConfigInstruction value="#endif" include="true"  />
745    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH6_ENABLED" include="true"  />
746    <ConfigInstruction value="    Cy_SysClk_ClkPath6Init();" include="true"  />
747    <ConfigInstruction value="#endif" include="true"  />
748    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH7_ENABLED" include="true"  />
749    <ConfigInstruction value="    Cy_SysClk_ClkPath7Init();" include="true"  />
750    <ConfigInstruction value="#endif" include="true"  />
751    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH8_ENABLED" include="true"  />
752    <ConfigInstruction value="    Cy_SysClk_ClkPath8Init();" include="true"  />
753    <ConfigInstruction value="#endif" include="true"  />
754    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH9_ENABLED" include="true"  />
755    <ConfigInstruction value="    Cy_SysClk_ClkPath9Init();" include="true"  />
756    <ConfigInstruction value="#endif" include="true"  />
757    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH10_ENABLED" include="true"  />
758    <ConfigInstruction value="    Cy_SysClk_ClkPath10Init();" include="true"  />
759    <ConfigInstruction value="#endif" include="true"  />
760    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH11_ENABLED" include="true"  />
761    <ConfigInstruction value="    Cy_SysClk_ClkPath11Init();" include="true"  />
762    <ConfigInstruction value="#endif" include="true"  />
763    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH12_ENABLED" include="true"  />
764    <ConfigInstruction value="    Cy_SysClk_ClkPath12Init();" include="true"  />
765    <ConfigInstruction value="#endif" include="true"  />
766    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH13_ENABLED" include="true"  />
767    <ConfigInstruction value="    Cy_SysClk_ClkPath13Init();" include="true"  />
768    <ConfigInstruction value="#endif" include="true"  />
769    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH14_ENABLED" include="true"  />
770    <ConfigInstruction value="    Cy_SysClk_ClkPath14Init();" include="true"  />
771    <ConfigInstruction value="#endif" include="true"  />
772    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH15_ENABLED" include="true"  />
773    <ConfigInstruction value="    Cy_SysClk_ClkPath15Init();" include="true"  />
774    <ConfigInstruction value="#endif" include="true"  />
775    <ConfigInstruction value="" include="true"  />
776
777    <ConfigInstruction value="/* Configure and enable FLL */" include="`${is40srssAvailable}`"  />
778    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_FLL_ENABLED" include="`${is40srssAvailable}`"  />
779    <ConfigInstruction value="    Cy_SysClk_FllInit();" include="`${is40srssAvailable}`"  />
780    <ConfigInstruction value="#endif" include="`${is40srssAvailable}`"  />
781    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
782
783    <ConfigInstruction value="Cy_SysClk_ClkHf0Init();" include="`${is40srssAvailable}`"  />
784    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
785
786    <!-- If CLKHF0 clocked from WCO -->
787    <ConfigInstruction value="#if ((CY_CFG_SYSCLK_CLKPATH0_SOURCE_NUM == 0x6UL) &amp;&amp; (CY_CFG_SYSCLK_CLKHF0_CLKPATH_NUM == 0U))" include="`${is40srssAvailable}`"  />
788    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_CLKPATH1_ENABLED" include="`${is40srssAvailable}`"  />
789    <ConfigInstruction value="        /* Apply the ClkPath1 user setting */" include="`${is40srssAvailable}`"  />
790    <ConfigInstruction value="        Cy_SysClk_ClkPath1Init();" include="`${is40srssAvailable}`"  />
791    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
792    <ConfigInstruction value="#endif" include="`${is40srssAvailable}`"  />
793    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
794
795    <ConfigInstruction value="/* Configure and enable PLLs */" include="`${is40srssAvailable}`"  />
796    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL0_ENABLED" include="`${is40srssAvailable}`"  />
797    <ConfigInstruction value="    Cy_SysClk_Pll0Init();" include="`${is40srssAvailable}`"  />
798    <ConfigInstruction value="#endif" include="`${is40srssAvailable}`"  />
799    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL1_ENABLED" include="`${is40srssAvailable}`"  />
800    <ConfigInstruction value="    Cy_SysClk_Pll1Init();" include="`${is40srssAvailable}`"  />
801    <ConfigInstruction value="#endif" include="`${is40srssAvailable}`"  />
802    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL2_ENABLED" include="`${is40srssAvailable}`"  />
803    <ConfigInstruction value="    Cy_SysClk_Pll2Init();" include="`${is40srssAvailable}`"  />
804    <ConfigInstruction value="#endif" include="`${is40srssAvailable}`"  />
805
806    <ConfigInstruction value="/* Configure and enable PLLs */" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
807    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL0_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
808    <ConfigInstruction value="    Cy_SysClk_Pll0Init();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
809    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
810    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL1_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
811    <ConfigInstruction value="    Cy_SysClk_Pll1Init();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
812    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
813    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL2_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
814    <ConfigInstruction value="    Cy_SysClk_Pll2Init();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
815    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
816    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL3_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable}`"  />
817    <ConfigInstruction value="    Cy_SysClk_Pll3Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable}`"  />
818    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable}`"  />
819    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL4_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable}`"  />
820    <ConfigInstruction value="    Cy_SysClk_Pll4Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable}`"  />
821    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable}`"  />
822    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL5_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
823    <ConfigInstruction value="    Cy_SysClk_Pll5Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
824    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
825    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL6_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
826    <ConfigInstruction value="    Cy_SysClk_Pll6Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
827    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
828    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL7_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
829    <ConfigInstruction value="    Cy_SysClk_Pll7Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
830    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
831    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL8_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
832    <ConfigInstruction value="    Cy_SysClk_Pll8Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
833    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
834    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL9_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
835    <ConfigInstruction value="    Cy_SysClk_Pll9Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
836    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
837    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL10_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
838    <ConfigInstruction value="    Cy_SysClk_Pll10Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
839    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
840    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL11_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
841    <ConfigInstruction value="    Cy_SysClk_Pll11Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
842    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
843    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL12_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
844    <ConfigInstruction value="   Cy_SysClk_Pll12Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
845    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
846    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL13_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
847    <ConfigInstruction value="    Cy_SysClk_Pll13Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
848    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
849    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_PLL14_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
850    <ConfigInstruction value="    Cy_SysClk_Pll14Init();" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
851    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
852    <ConfigInstruction value="" include="`${is40srss_ver3Available || is22srssAvailable || is40srssAvailable || is40srssAvailable}`"  />
853    <!-- Configure HF clocks -->
854    <ConfigInstruction value="/* Configure HF clocks */" include="true"  />
855    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF1_ENABLED" include="true"  />
856    <ConfigInstruction value="    Cy_SysClk_ClkHf1Init();" include="true"  />
857    <ConfigInstruction value="#endif" include="true"  />
858    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF2_ENABLED" include="true"  />
859    <ConfigInstruction value="    Cy_SysClk_ClkHf2Init();" include="true"  />
860    <ConfigInstruction value="#endif" include="true"  />
861    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF3_ENABLED" include="true"  />
862    <ConfigInstruction value="    Cy_SysClk_ClkHf3Init();" include="true"  />
863    <ConfigInstruction value="#endif" include="true"  />
864    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF4_ENABLED" include="true"  />
865    <ConfigInstruction value="    Cy_SysClk_ClkHf4Init();" include="true"  />
866    <ConfigInstruction value="#endif" include="true"  />
867    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF5_ENABLED" include="true"  />
868    <ConfigInstruction value="    Cy_SysClk_ClkHf5Init();" include="true"  />
869    <ConfigInstruction value="#endif" include="true"  />
870    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF6_ENABLED" include="true"  />
871    <ConfigInstruction value="    Cy_SysClk_ClkHf6Init();" include="true"  />
872    <ConfigInstruction value="#endif" include="true"  />
873    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF7_ENABLED" include="true"  />
874    <ConfigInstruction value="    Cy_SysClk_ClkHf7Init();" include="true"  />
875    <ConfigInstruction value="#endif" include="true"  />
876    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF8_ENABLED" include="true"  />
877    <ConfigInstruction value="    Cy_SysClk_ClkHf8Init();" include="true"  />
878    <ConfigInstruction value="#endif" include="true"  />
879    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF9_ENABLED" include="true"  />
880    <ConfigInstruction value="    Cy_SysClk_ClkHf9Init();" include="true"  />
881    <ConfigInstruction value="#endif" include="true"  />
882    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF10_ENABLED" include="true"  />
883    <ConfigInstruction value="    Cy_SysClk_ClkHf10Init();" include="true"  />
884    <ConfigInstruction value="#endif" include="true"  />
885    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF11_ENABLED" include="true"  />
886    <ConfigInstruction value="    Cy_SysClk_ClkHf11Init();" include="true"  />
887    <ConfigInstruction value="#endif" include="true"  />
888    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF12_ENABLED" include="true"  />
889    <ConfigInstruction value="    Cy_SysClk_ClkHf12Init();" include="true"  />
890    <ConfigInstruction value="#endif" include="true"  />
891    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF13_ENABLED" include="true"  />
892    <ConfigInstruction value="    Cy_SysClk_ClkHf13Init();" include="true"  />
893    <ConfigInstruction value="#endif" include="true"  />
894    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF14_ENABLED" include="true"  />
895    <ConfigInstruction value="    Cy_SysClk_ClkHf14Init();" include="true"  />
896    <ConfigInstruction value="#endif" include="true"  />
897    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKHF15_ENABLED" include="true"  />
898    <ConfigInstruction value="    Cy_SysClk_ClkHf15Init();" include="true"  />
899    <ConfigInstruction value="#endif" include="true"  />
900    <ConfigInstruction value="" include="true"  />
901
902    <!-- Configure miscellaneous clocks -->
903    <ConfigInstruction value="/* Configure miscellaneous clocks */" include="`${is40ssrssAvailable || is40srssAvailable}`"  />
904    <ConfigInstruction value="    #ifdef CY_CFG_SYSCLK_CLKTIMER_ENABLED" include="`${is40srssAvailable}`"  />
905    <ConfigInstruction value="        Cy_SysClk_ClkTimerInit();" include="`${is40srssAvailable}`"  />
906    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
907    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
908    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKALTSYSTICK_ENABLED" include="true"  />
909    <ConfigInstruction value="    Cy_SysClk_ClkAltSysTickInit();" include="true"  />
910    <ConfigInstruction value="#endif" include="true"  />
911    <ConfigInstruction value="" include="true"  />
912
913    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPUMP_ENABLED" include="true"  />
914    <ConfigInstruction value="    Cy_SysClk_ClkPumpInit();" include="true"  />
915    <ConfigInstruction value="#endif" include="true"  />
916    <ConfigInstruction value="" include="true"  />
917
918    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKBAK_ENABLED" include="true"  />
919    <ConfigInstruction value="    Cy_SysClk_ClkBakInit();" include="true"  />
920    <ConfigInstruction value="#endif" include="true"  />
921    <ConfigInstruction value="" include="true"  />
922
923    <!-- Configure default enabled clocks -->
924    <ConfigInstruction value="/* Configure default enabled clocks */" include="`${is40ssrssAvailable || is40srss_ver3Available || is40srssAvailable}`"  />
925    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_ILO_ENABLED" include="`${is40ssrssAvailable || is40srss_ver3Available || is40srssAvailable}`"  />
926    <ConfigInstruction value="    Cy_SysClk_IloInit();" include="`${is40ssrssAvailable || is40srss_ver3Available || is40srssAvailable}`"  />
927    <ConfigInstruction value="#endif" include="`${is40ssrssAvailable || is40srss_ver3Available || is40srssAvailable}`"  />
928    <ConfigInstruction value="" include="`${is40ssrssAvailable || is40srss_ver3Available || is40srssAvailable}`"  />
929
930    <ConfigInstruction value="#ifndef CY_CFG_SYSCLK_IMO_ENABLED" include="`${is40ssrssAvailable || is40srss_ver3Available || is40srssAvailable}`"  />
931    <ConfigInstruction value="    #error the IMO must be enabled for proper chip operation" include="`${is40ssrssAvailable || is40srss_ver3Available || is40srssAvailable}`"  />
932    <ConfigInstruction value="#endif" include="`${is40ssrssAvailable || is40srss_ver3Available}`"  />
933    <ConfigInstruction value="" include="`${is40ssrssAvailable || is40srss_ver3Available}`"  />
934    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
935    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
936
937    <ConfigInstruction value="    #ifndef CY_CFG_SYSCLK_CLKHF0_ENABLED" include="`${is40srssAvailable}`"  />
938    <ConfigInstruction value="        #error the CLKHF0 must be enabled for proper chip operation" include="`${is40srssAvailable}`"  />
939    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
940    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
941
942    <ConfigInstruction value="#endif /* defined(CY_DEVICE_SECURE) */" include="`${is40srssAvailable}`"  />
943    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
944
945    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_MFO_ENABLED" include="true"  />
946    <ConfigInstruction value="    Cy_SysClk_MfoInit();" include="true"  />
947    <ConfigInstruction value="#endif" include="true"  />
948    <ConfigInstruction value="" include="true"  />
949
950    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKMF_ENABLED" include="true"  />
951    <ConfigInstruction value="    Cy_SysClk_ClkMfInit();" include="true"  />
952    <ConfigInstruction value="#endif" include="true"  />
953    <ConfigInstruction value="" include="true"  />
954
955    <ConfigInstruction value="#if (!defined(CY_DEVICE_SECURE))" include="`${is40srssAvailable}`"  />
956    <!-- Configure final flash wait states -->
957    <ConfigInstruction value="    /* Set accurate flash wait states */" include="`${is40srssAvailable}`"  />
958    <ConfigInstruction value="    #if (defined (CY_CFG_PWR_ENABLED) &amp;&amp; defined (CY_CFG_SYSCLK_CLKHF0_ENABLED))" include="`${is40srssAvailable}`"  />
959    <ConfigInstruction value="        Cy_SysLib_SetWaitStates(CY_CFG_PWR_USING_ULP != 0, CY_CFG_SYSCLK_CLKHF0_FREQ_MHZ);" include="`${is40srssAvailable}`"  />
960    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
961    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
962
963    <ConfigInstruction value="    /* Set accurate flash wait states */" include="`${is40srss_ver3Available}`"  />
964    <ConfigInstruction value="    #if (defined (CY_CFG_PWR_ENABLED) &amp;&amp; defined (CY_CFG_SYSCLK_CLKHF1_ENABLED))" include="`${is40srss_ver3Available}`"  />
965    <ConfigInstruction value="        Cy_SysLib_SetWaitStates(false, CY_CFG_SYSCLK_CLKHF1_FREQ_MHZ);" include="`${is40srss_ver3Available}`"  />
966    <ConfigInstruction value="    #endif" include="`${is40srss_ver3Available}`"  />
967    <ConfigInstruction value="" include="`${is40srss_ver3Available}`"  />
968
969    <!-- Update System Core Clock values -->
970    <ConfigInstruction value="    /* Update System Core Clock values for correct Cy_SysLib_Delay functioning */" include="`${is40srssAvailable}`"  />
971    <ConfigInstruction value="    SystemCoreClockUpdate();" include="`${is40srssAvailable}`"  />
972
973    <!-- Finish to configure the ILO -->
974    <ConfigInstruction value="    #ifndef CY_CFG_SYSCLK_ILO_ENABLED" include="`${is40srssAvailable}`"  />
975    <ConfigInstruction value="        #ifdef CY_CFG_SYSCLK_CLKLF_ENABLED" include="`${is40srssAvailable}`"  />
976    <ConfigInstruction value="        /* Wait 4 ILO cycles in case of unfinished CLKLF clock source transition */" include="`${is40srssAvailable}`"  />
977    <ConfigInstruction value="        Cy_SysLib_DelayUs(200U);" include="`${is40srssAvailable}`"  /> <!--DRIVERS 3401-->
978    <ConfigInstruction value="        #endif" include="`${is40srssAvailable}`"  />
979    <ConfigInstruction value="    Cy_SysClk_IloDisable();" include="`${is40srssAvailable}`"  />
980    <ConfigInstruction value="    Cy_SysClk_IloHibernateOn(false);" include="`${is40srssAvailable}`"  />
981    <ConfigInstruction value="    #endif" include="`${is40srssAvailable}`"  />
982    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
983
984    <ConfigInstruction value="#endif /* (!defined(CY_DEVICE_SECURE)) */" include="`${is40srssAvailable}`"  />
985    <ConfigInstruction value="" include="`${is40srssAvailable}`"  />
986
987    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKPATH0_ENABLED" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
988    <ConfigInstruction value="    Cy_SysClk_ClkPath0Init();" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
989    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
990
991    <!-- Reset and configure platform clocks -->
992    <ConfigInstruction value="/* Configure and enable FLL */" include="`${is40srss_ver3Available || is40ssrssAvailable}`"  />
993    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_FLL_ENABLED" include="`${is40srss_ver3Available || is40ssrssAvailable}`"  />
994    <ConfigInstruction value="    Cy_SysClk_FllInit();" include="`${is40srss_ver3Available || is40ssrssAvailable}`"  />
995    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is40ssrssAvailable}`"  />
996    <ConfigInstruction value="" include="`${is40srss_ver3Available || is40ssrssAvailable}`"  />
997
998    <ConfigInstruction value="Cy_SysClk_ClkHf0Init();" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
999    <ConfigInstruction value="" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
1000
1001    <ConfigInstruction value="/* Disable Unused Clock Sources */" include="`${is40ssrssAvailable}`"  />
1002    <ConfigInstruction value="#ifndef CY_CFG_SYSCLK_IHO_ENABLED" include="`${is40ssrssAvailable}`"  />
1003    <ConfigInstruction value="    Cy_SysClk_IhoDisable();" include="`${is40ssrssAvailable}`"  />
1004    <ConfigInstruction value="#endif" include="`${is40ssrssAvailable}`"  />
1005
1006    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKFAST_0_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1007    <ConfigInstruction value="    Cy_SysClk_ClkFast_0_Init();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1008    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1009    <ConfigInstruction value="" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1010
1011    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKFAST_1_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1012    <ConfigInstruction value="    Cy_SysClk_ClkFast_1_Init();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1013    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1014    <ConfigInstruction value="" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1015
1016    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKSLOW_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1017    <ConfigInstruction value="    Cy_SysClk_ClkSlowInit();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1018    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1019    <ConfigInstruction value="" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1020
1021    <ConfigInstruction value="#ifdef CY_CFG_SYSCLK_CLKMEM_ENABLED" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1022    <ConfigInstruction value="    Cy_SysClk_ClkMemInit();" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1023    <ConfigInstruction value="#endif" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1024    <ConfigInstruction value="" include="`${is40srss_ver3Available || is22srssAvailable}`"  />
1025
1026    <ConfigInstruction value="    Cy_SysClk_EcoPrescalerInit();" include="true" guard="defined(CY_CFG_SYSCLK_ECO_PRESCALER_ENABLED)" />
1027
1028    <!-- Update System Core Clock values -->
1029    <ConfigInstruction value="/* Update System Core Clock values for correct Cy_SysLib_Delay functioning */" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
1030    <ConfigInstruction value="SystemCoreClockUpdate();" include="`${is40srss_ver3Available || is40ssrssAvailable || is22srssAvailable}`"  />
1031
1032  </ConfigFirmware>
1033</Personality>
1034