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/evkmimxrt1170.h Source File</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="headertitle">
48<div class="title">evkmimxrt1170.h</div>  </div>
49</div><!--header-->
50<div class="contents">
51<a href="a00752.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright 2020 NXP</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"></span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">/**</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * @file evkmimxrt1170.h</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * @brief The evkmimxrt1170.h file defines GPIO pin mappings for evkmimxrt1170 board</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef EVKBIMX1170_H_</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#define EVKBIMX1170_H_</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="a04658.html">pin_mux.h</a>&quot;</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="a04220.html">board.h</a>&quot;</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">//#include &quot;fsl_msmc.h&quot;</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="a04727.html">RTE_Device.h</a>&quot;</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &quot;gpio_driver.h&quot;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &quot;MIMXRT1176_cm7.h&quot;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">// I2C_S1: Pin mapping and driver information for default I2C brought to shield</span></div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="a00752.html#ac20db32b6dce4784f120ee4744bf5047">   25</a></span>&#160;<span class="preprocessor">#define I2C_S1_SCL_PIN      IOMUXC_GPIO_LPSR_05_LPI2C5_SCL</span></div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="a00752.html#a7805d6b2f29ddeea8f531d253013d0ee">   26</a></span>&#160;<span class="preprocessor">#define I2C_S1_SDA_PIN      IOMUXC_GPIO_LPSR_04_LPI2C5_SDA</span></div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="a00752.html#a2eca6eeb6669462eb49b726a107007d7">   27</a></span>&#160;<span class="preprocessor">#define I2C_S1_DRIVER       Driver_I2C5</span></div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="a00752.html#a443b7fa870a185d189dcc6b8ec5b6747">   28</a></span>&#160;<span class="preprocessor">#define I2C_S1_DEVICE_INDEX I2C5_INDEX</span></div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="a00752.html#af2fbfb76ce822d073231ed1693143df2">   29</a></span>&#160;<span class="preprocessor">#define I2C_S1_SIGNAL_EVENT I2C5_SignalEvent_t</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">// I2C_S2: Pin mapping and driver information for alternate I2C bus on shield</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a00752.html#a9a7614c406d1ed4b0a80d9b6cb6e8dbd">   32</a></span>&#160;<span class="preprocessor">#define I2C_S2_SCL_PIN      IOMUXC_GPIO_AD_08_LPI2C1_SCL</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="a00752.html#af41b8b12c634e27a8d6f2d9623a91914">   33</a></span>&#160;<span class="preprocessor">#define I2C_S2_SDA_PIN      IOMUXC_GPIO_AD_09_LPI2C1_SDA</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="a00752.html#acd880e8c30d3d43b0bb1db7311a3c9dd">   34</a></span>&#160;<span class="preprocessor">#define I2C_S2_DRIVER       Driver_I2C1</span></div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="a00752.html#a97686bfd2e77f3f9930f53227b333320">   35</a></span>&#160;<span class="preprocessor">#define I2C_S2_DEVICE_INDEX I2C1_INDEX</span></div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="a00752.html#a0761c12eef891aaca900e688034ff8cb">   36</a></span>&#160;<span class="preprocessor">#define I2C_S2_SIGNAL_EVENT I2C1_SignalEvent_t</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">// UART: Driver information for default UART to communicate with HOST PC.</span></div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="a00752.html#a8d15df9aa13a779003e27e835a001f60">   39</a></span>&#160;<span class="preprocessor">#define HOST_S_DRIVER       Driver_USART1</span></div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="a00752.html#a1a6866b34518a8b261ac338c52f597be">   40</a></span>&#160;<span class="preprocessor">#define HOST_S_SIGNAL_EVENT HOST_SignalEvent_t</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">/* @brief  Ask use input to resume after specified samples have been processed. */</span></div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="a00752.html#a310a9c2b58f7f1751bd46553b0deef4f">   43</a></span>&#160;<span class="preprocessor">#define ASK_USER_TO_RESUME(x)                                                          \</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">    static volatile bool askResume   = true;                                           \</span></div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">    static uint16_t samplesToProcess = x - 1;                                          \</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">    if (askResume &amp;&amp; !samplesToProcess--)                                              \</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">    {                                                                                  \</span></div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">        PRINTF(&quot;\r\n Specified samples processed, press any key to continue... \r\n&quot;); \</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor">        GETCHAR();                                                                     \</span></div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">        askResume = false;                                                             \</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="preprocessor">    }</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">/* Compatability definitions for evkmimxrt11170 */</span></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="a00752.html#ab45d257574da6fe1f091cc45b7eda6cc">   54</a></span>&#160;<span class="preprocessor">#define I2C1 LPI2C1</span></div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="a00752.html#aaf4433adb76728ab4fef92f284690e2f">   55</a></span>&#160;<span class="preprocessor">#define I2C_Type LPI2C_Type</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="a00752.html#aee17f364d6d1712b62774e6c33dea554">   56</a></span>&#160;<span class="preprocessor">#define I2C_BASE_PTRS LPI2C_BASE_PTRS</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="a00752.html#ad483be344a28ac800be8f03654a9612f">   57</a></span>&#160;<span class="preprocessor">#define SPI1 LPSPI1</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="a00752.html#af10ad3d64aba430c50c084a6e1b21634">   58</a></span>&#160;<span class="preprocessor">#define SPI_Type LPSPI_Type</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="a00752.html#a3a16fecfe27c2052ab60e014be3f66f6">   59</a></span>&#160;<span class="preprocessor">#define SPI_BASE_PTRS LPSPI_BASE_PTRS</span></div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;<span class="comment">/* @brief dummy arguement to Power Mode Wait Wrapper. */</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="a00752.html#a6667e81e5b32250febd3d46511d9309d">   62</a></span>&#160;<span class="preprocessor">#define SMC NULL</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="comment">/* @brief Kinetis style Wrapper API for Power Mode Wait (Wait for Interrupt). */</span></div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;status_t <a class="code" href="a00752.html#ad10b73cc55f3147cc7bef394b5fbd75c">SMC_SetPowerModeWait</a>(<span class="keywordtype">void</span> *);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;<span class="comment">/* @brief Kinetis style Wrapper API for Power Mode VLPR (Wait for Interrupt). */</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;status_t <a class="code" href="a00752.html#ac03fa2b41d4f2b858f0824b49339f850">SMC_SetPowerModeVlpr</a>(<span class="keywordtype">void</span> *);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* EVKBIMX1170_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="a00752_html_ad10b73cc55f3147cc7bef394b5fbd75c"><div class="ttname"><a href="a00752.html#ad10b73cc55f3147cc7bef394b5fbd75c">SMC_SetPowerModeWait</a></div><div class="ttdeci">status_t SMC_SetPowerModeWait(void *)</div><div class="ttdoc">Configures the system to WAIT power mode. API name used from Kinetis family to maintain compatibility...</div><div class="ttdef"><b>Definition:</b> <a href="a00638_source.html#l00155">lpc54114.c:155</a></div></div>
52<div class="ttc" id="a04727_html"><div class="ttname"><a href="a04727.html">RTE_Device.h</a></div></div>
53<div class="ttc" id="a04658_html"><div class="ttname"><a href="a04658.html">pin_mux.h</a></div></div>
54<div class="ttc" id="a04220_html"><div class="ttname"><a href="a04220.html">board.h</a></div></div>
55<div class="ttc" id="a00752_html_ac03fa2b41d4f2b858f0824b49339f850"><div class="ttname"><a href="a00752.html#ac03fa2b41d4f2b858f0824b49339f850">SMC_SetPowerModeVlpr</a></div><div class="ttdeci">status_t SMC_SetPowerModeVlpr(void *)</div><div class="ttdoc">Configures the system to VLPR power mode. API name used from Kinetis family to maintain compatibility...</div><div class="ttdef"><b>Definition:</b> <a href="a00638_source.html#l00169">lpc54114.c:169</a></div></div>
56</div><!-- fragment --></div><!-- contents -->
57
58<hr class="footer"/><address class="footer"><small>
59&copy; Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause
60</small></address>
61</body>
62</html>
63