1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5<meta http-equiv="X-UA-Compatible" content="IE=9"/>
6<meta name="generator" content="Doxygen 1.8.13"/>
7<meta name="viewport" content="width=device-width, initial-scale=1"/>
8<title>ISSDK: boardkit/evk-mimxrt1170/clock_config.c File Reference</title>
9<link href="tabs.css" rel="stylesheet" type="text/css"/>
10<script type="text/javascript" src="jquery.js"></script>
11<script type="text/javascript" src="dynsections.js"></script>
12<link href="issdk_stylesheet.css" rel="stylesheet" type="text/css" />
13</head>
14<body>
15<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
16<div id="titlearea">
17<table cellspacing="0" cellpadding="0">
18 <tbody>
19 <tr style="height: 56px;">
20  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
21  <td id="projectalign" style="padding-left: 0.5em;">
22   <div id="projectname">ISSDK
23   &#160;<span id="projectnumber">1.8</span>
24   </div>
25   <div id="projectbrief">IoT Sensing Software Development Kit</div>
26  </td>
27 </tr>
28 </tbody>
29</table>
30</div>
31<!-- end header part -->
32<!-- Generated by Doxygen 1.8.13 -->
33<script type="text/javascript" src="menudata.js"></script>
34<script type="text/javascript" src="menu.js"></script>
35<script type="text/javascript">
36$(function() {
37  initMenu('',false,false,'search.php','Search');
38});
39</script>
40<div id="main-nav"></div>
41<div id="nav-path" class="navpath">
42  <ul>
43<li class="navelem"><a class="el" href="dir_6994211064bad48d3d63a6227f5100d6.html">boardkit</a></li><li class="navelem"><a class="el" href="dir_ca828fa6c7b8f5e58ad88cad4394b679.html">evk-mimxrt1170</a></li>  </ul>
44</div>
45</div><!-- top -->
46<div class="header">
47  <div class="summary">
48<a href="#define-members">Macros</a> &#124;
49<a href="#func-members">Functions</a> &#124;
50<a href="#var-members">Variables</a>  </div>
51  <div class="headertitle">
52<div class="title">clock_config.c File Reference</div>  </div>
53</div><!--header-->
54<div class="contents">
55<div class="textblock"><code>#include &quot;<a class="el" href="a04334_source.html">clock_config.h</a>&quot;</code><br />
56<code>#include &quot;fsl_iomuxc.h&quot;</code><br />
57<code>#include &quot;<a class="el" href="a04220_source.html">board.h</a>&quot;</code><br />
58</div><div class="textblock"><div class="dynheader">
59Include dependency graph for clock_config.c:</div>
60<div class="dyncontent">
61<div class="center"><img src="a04278.png" border="0" usemap="#boardkit_2evk-mimxrt1170_2clock__config_8c" alt=""/></div>
62<map name="boardkit_2evk-mimxrt1170_2clock__config_8c" id="boardkit_2evk-mimxrt1170_2clock__config_8c">
63<area shape="rect" id="node2" href="a04334.html" title="clock_config.h" alt="" coords="43,169,149,196"/>
64<area shape="rect" id="node4" href="a04220.html" title="board.h" alt="" coords="158,95,223,121"/>
65</map>
66</div>
67</div>
68<p><a href="a04277_source.html">Go to the source code of this file.</a></p>
69<table class="memberdecls">
70<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
71Macros</h2></td></tr>
72<tr class="memitem:a73505f88754d8809c9db588cde6c9416"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a04277.html#a73505f88754d8809c9db588cde6c9416">DCDC_TARGET_VOLTAGE_1V</a>&#160;&#160;&#160;1000</td></tr>
73<tr class="separator:a73505f88754d8809c9db588cde6c9416"><td class="memSeparator" colspan="2">&#160;</td></tr>
74<tr class="memitem:aa4a2780b4a33ac56ad2e5e12076c98f6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a04277.html#aa4a2780b4a33ac56ad2e5e12076c98f6">DCDC_TARGET_VOLTAGE_1P15V</a>&#160;&#160;&#160;1150</td></tr>
75<tr class="separator:aa4a2780b4a33ac56ad2e5e12076c98f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
76<tr class="memitem:ae6c0543ffbbb6479e876557d123e96bf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a04277.html#ae6c0543ffbbb6479e876557d123e96bf">DCDC_TARGET_VOLTAGE</a>&#160;&#160;&#160;<a class="el" href="a04277.html#aa4a2780b4a33ac56ad2e5e12076c98f6">DCDC_TARGET_VOLTAGE_1P15V</a></td></tr>
77<tr class="separator:ae6c0543ffbbb6479e876557d123e96bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
78</table><table class="memberdecls">
79<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
80Functions</h2></td></tr>
81<tr class="memitem:a09a9a2026d4c394534e528d519370d3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a04277.html#a09a9a2026d4c394534e528d519370d3e">BOARD_InitBootClocks</a> (void)</td></tr>
82<tr class="memdesc:a09a9a2026d4c394534e528d519370d3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function executes default configuration of clocks.  <a href="#a09a9a2026d4c394534e528d519370d3e">More...</a><br /></td></tr>
83<tr class="separator:a09a9a2026d4c394534e528d519370d3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
84<tr class="memitem:ad999d0f6aa6d3bf4eb8c552405627a8e"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a04277.html#ad999d0f6aa6d3bf4eb8c552405627a8e">dcdc_get_target_voltage</a> ()</td></tr>
85<tr class="separator:ad999d0f6aa6d3bf4eb8c552405627a8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
86<tr class="memitem:a3b8a770edc6a20e84d489efb685d61d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a04277.html#a3b8a770edc6a20e84d489efb685d61d2">dcdc_trim_target_1p0</a> (uint32_t target_voltage)</td></tr>
87<tr class="separator:a3b8a770edc6a20e84d489efb685d61d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
88<tr class="memitem:a5e69c4eff0fd5236bbb0ff4e1d5a7a7e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a04277.html#a5e69c4eff0fd5236bbb0ff4e1d5a7a7e">BOARD_BootClockRUN</a> (void)</td></tr>
89<tr class="memdesc:a5e69c4eff0fd5236bbb0ff4e1d5a7a7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function executes configuration of clocks.  <a href="#a5e69c4eff0fd5236bbb0ff4e1d5a7a7e">More...</a><br /></td></tr>
90<tr class="separator:a5e69c4eff0fd5236bbb0ff4e1d5a7a7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
91</table><table class="memberdecls">
92<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
93Variables</h2></td></tr>
94<tr class="memitem:aa3cd3e43291e81e795d642b79b6088e6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a04277.html#aa3cd3e43291e81e795d642b79b6088e6">SystemCoreClock</a></td></tr>
95<tr class="separator:aa3cd3e43291e81e795d642b79b6088e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
96</table>
97<h2 class="groupheader">Macro Definition Documentation</h2>
98<a id="ae6c0543ffbbb6479e876557d123e96bf"></a>
99<h2 class="memtitle"><span class="permalink"><a href="#ae6c0543ffbbb6479e876557d123e96bf">&#9670;&nbsp;</a></span>DCDC_TARGET_VOLTAGE</h2>
100
101<div class="memitem">
102<div class="memproto">
103      <table class="memname">
104        <tr>
105          <td class="memname">#define DCDC_TARGET_VOLTAGE&#160;&#160;&#160;<a class="el" href="a04277.html#aa4a2780b4a33ac56ad2e5e12076c98f6">DCDC_TARGET_VOLTAGE_1P15V</a></td>
106        </tr>
107      </table>
108</div><div class="memdoc">
109
110<p class="definition">Definition at line <a class="el" href="a04277_source.html#l00046">46</a> of file <a class="el" href="a04277_source.html">clock_config.c</a>.</p>
111
112<p class="reference">Referenced by <a class="el" href="a04277_source.html#l00087">BOARD_BootClockRUN()</a>.</p>
113
114</div>
115</div>
116<a id="aa4a2780b4a33ac56ad2e5e12076c98f6"></a>
117<h2 class="memtitle"><span class="permalink"><a href="#aa4a2780b4a33ac56ad2e5e12076c98f6">&#9670;&nbsp;</a></span>DCDC_TARGET_VOLTAGE_1P15V</h2>
118
119<div class="memitem">
120<div class="memproto">
121      <table class="memname">
122        <tr>
123          <td class="memname">#define DCDC_TARGET_VOLTAGE_1P15V&#160;&#160;&#160;1150</td>
124        </tr>
125      </table>
126</div><div class="memdoc">
127
128<p class="definition">Definition at line <a class="el" href="a04277_source.html#l00043">43</a> of file <a class="el" href="a04277_source.html">clock_config.c</a>.</p>
129
130</div>
131</div>
132<a id="a73505f88754d8809c9db588cde6c9416"></a>
133<h2 class="memtitle"><span class="permalink"><a href="#a73505f88754d8809c9db588cde6c9416">&#9670;&nbsp;</a></span>DCDC_TARGET_VOLTAGE_1V</h2>
134
135<div class="memitem">
136<div class="memproto">
137      <table class="memname">
138        <tr>
139          <td class="memname">#define DCDC_TARGET_VOLTAGE_1V&#160;&#160;&#160;1000</td>
140        </tr>
141      </table>
142</div><div class="memdoc">
143
144<p class="definition">Definition at line <a class="el" href="a04277_source.html#l00041">41</a> of file <a class="el" href="a04277_source.html">clock_config.c</a>.</p>
145
146</div>
147</div>
148<h2 class="groupheader">Function Documentation</h2>
149<a id="a5e69c4eff0fd5236bbb0ff4e1d5a7a7e"></a>
150<h2 class="memtitle"><span class="permalink"><a href="#a5e69c4eff0fd5236bbb0ff4e1d5a7a7e">&#9670;&nbsp;</a></span>BOARD_BootClockRUN()</h2>
151
152<div class="memitem">
153<div class="memproto">
154      <table class="memname">
155        <tr>
156          <td class="memname">void BOARD_BootClockRUN </td>
157          <td>(</td>
158          <td class="paramtype">void&#160;</td>
159          <td class="paramname"></td><td>)</td>
160          <td></td>
161        </tr>
162      </table>
163</div><div class="memdoc">
164
165<p>This function executes configuration of clocks. </p>
166<p>This function executes configuration of clocks.</p>
167<dl class="params"><dt>Parameters</dt><dd>
168  <table class="params">
169    <tr><td class="paramname">void</td><td></td></tr>
170  </table>
171  </dd>
172</dl>
173<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>
174
175<p class="definition">Definition at line <a class="el" href="a04277_source.html#l00087">87</a> of file <a class="el" href="a04277_source.html">clock_config.c</a>.</p>
176
177<p class="reference">References <a class="el" href="a04265_source.html#l00015">armPllConfig</a>, <a class="el" href="a04277_source.html#l00046">DCDC_TARGET_VOLTAGE</a>, <a class="el" href="a04277_source.html#l00067">dcdc_trim_target_1p0()</a>, <a class="el" href="a04223_source.html#l00131">mcgConfig_BOARD_BootClockRUN</a>, <a class="el" href="a04223_source.html#l00154">oscConfig_BOARD_BootClockRUN</a>, <a class="el" href="a04265_source.html#l00019">sysPllConfig</a>, and <a class="el" href="a04223.html#aa3cd3e43291e81e795d642b79b6088e6">SystemCoreClock</a>.</p>
178<div class="dynheader">
179Here is the call graph for this function:</div>
180<div class="dyncontent">
181<div class="center"><img src="a04277_a5e69c4eff0fd5236bbb0ff4e1d5a7a7e_cgraph.png" border="0" usemap="#a04277_a5e69c4eff0fd5236bbb0ff4e1d5a7a7e_cgraph" alt=""/></div>
182<map name="a04277_a5e69c4eff0fd5236bbb0ff4e1d5a7a7e_cgraph" id="a04277_a5e69c4eff0fd5236bbb0ff4e1d5a7a7e_cgraph">
183<area shape="rect" id="node2" href="a04277.html#a3b8a770edc6a20e84d489efb685d61d2" title="dcdc_trim_target_1p0" alt="" coords="216,5,363,32"/>
184</map>
185</div>
186
187</div>
188</div>
189<a id="a09a9a2026d4c394534e528d519370d3e"></a>
190<h2 class="memtitle"><span class="permalink"><a href="#a09a9a2026d4c394534e528d519370d3e">&#9670;&nbsp;</a></span>BOARD_InitBootClocks()</h2>
191
192<div class="memitem">
193<div class="memproto">
194      <table class="memname">
195        <tr>
196          <td class="memname">void BOARD_InitBootClocks </td>
197          <td>(</td>
198          <td class="paramtype">void&#160;</td>
199          <td class="paramname"></td><td>)</td>
200          <td></td>
201        </tr>
202      </table>
203</div><div class="memdoc">
204
205<p>This function executes default configuration of clocks. </p>
206
207<p class="definition">Definition at line <a class="el" href="a04277_source.html#l00025">25</a> of file <a class="el" href="a04277_source.html">clock_config.c</a>.</p>
208
209<p class="reference">References <a class="el" href="a04235_source.html#l00142">BOARD_BootClockFROHF96M()</a>, and <a class="el" href="a04223_source.html#l00168">BOARD_BootClockRUN()</a>.</p>
210<div class="dynheader">
211Here is the call graph for this function:</div>
212<div class="dyncontent">
213<div class="center"><img src="a04277_a09a9a2026d4c394534e528d519370d3e_cgraph.png" border="0" usemap="#a04277_a09a9a2026d4c394534e528d519370d3e_cgraph" alt=""/></div>
214<map name="a04277_a09a9a2026d4c394534e528d519370d3e_cgraph" id="a04277_a09a9a2026d4c394534e528d519370d3e_cgraph">
215<area shape="rect" id="node2" href="a04235.html#a245da4f80747dadd943a8891f2d6592d" title="This function executes configuration of clocks. " alt="" coords="212,5,416,32"/>
216<area shape="rect" id="node3" href="a04223.html#a5e69c4eff0fd5236bbb0ff4e1d5a7a7e" title="This function executes configuration of clocks. " alt="" coords="233,56,395,83"/>
217</map>
218</div>
219
220</div>
221</div>
222<a id="ad999d0f6aa6d3bf4eb8c552405627a8e"></a>
223<h2 class="memtitle"><span class="permalink"><a href="#ad999d0f6aa6d3bf4eb8c552405627a8e">&#9670;&nbsp;</a></span>dcdc_get_target_voltage()</h2>
224
225<div class="memitem">
226<div class="memproto">
227      <table class="memname">
228        <tr>
229          <td class="memname">uint32_t dcdc_get_target_voltage </td>
230          <td>(</td>
231          <td class="paramname"></td><td>)</td>
232          <td></td>
233        </tr>
234      </table>
235</div><div class="memdoc">
236
237<p class="definition">Definition at line <a class="el" href="a04277_source.html#l00057">57</a> of file <a class="el" href="a04277_source.html">clock_config.c</a>.</p>
238
239</div>
240</div>
241<a id="a3b8a770edc6a20e84d489efb685d61d2"></a>
242<h2 class="memtitle"><span class="permalink"><a href="#a3b8a770edc6a20e84d489efb685d61d2">&#9670;&nbsp;</a></span>dcdc_trim_target_1p0()</h2>
243
244<div class="memitem">
245<div class="memproto">
246      <table class="memname">
247        <tr>
248          <td class="memname">void dcdc_trim_target_1p0 </td>
249          <td>(</td>
250          <td class="paramtype">uint32_t&#160;</td>
251          <td class="paramname"><em>target_voltage</em></td><td>)</td>
252          <td></td>
253        </tr>
254      </table>
255</div><div class="memdoc">
256
257<p class="definition">Definition at line <a class="el" href="a04277_source.html#l00067">67</a> of file <a class="el" href="a04277_source.html">clock_config.c</a>.</p>
258
259<p class="reference">Referenced by <a class="el" href="a04277_source.html#l00087">BOARD_BootClockRUN()</a>.</p>
260<div class="dynheader">
261Here is the caller graph for this function:</div>
262<div class="dyncontent">
263<div class="center"><img src="a04277_a3b8a770edc6a20e84d489efb685d61d2_icgraph.png" border="0" usemap="#a04277_a3b8a770edc6a20e84d489efb685d61d2_icgraph" alt=""/></div>
264<map name="a04277_a3b8a770edc6a20e84d489efb685d61d2_icgraph" id="a04277_a3b8a770edc6a20e84d489efb685d61d2_icgraph">
265<area shape="rect" id="node2" href="a04277.html#a5e69c4eff0fd5236bbb0ff4e1d5a7a7e" title="This function executes configuration of clocks. " alt="" coords="200,5,363,32"/>
266</map>
267</div>
268
269</div>
270</div>
271<h2 class="groupheader">Variable Documentation</h2>
272<a id="aa3cd3e43291e81e795d642b79b6088e6"></a>
273<h2 class="memtitle"><span class="permalink"><a href="#aa3cd3e43291e81e795d642b79b6088e6">&#9670;&nbsp;</a></span>SystemCoreClock</h2>
274
275<div class="memitem">
276<div class="memproto">
277      <table class="memname">
278        <tr>
279          <td class="memname">uint32_t SystemCoreClock</td>
280        </tr>
281      </table>
282</div><div class="memdoc">
283
284</div>
285</div>
286</div><!-- contents -->
287
288<hr class="footer"/><address class="footer"><small>
289&copy; Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause
290</small></address>
291</body>
292</html>
293