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/frdm-k64f/frdm-fxs-mult2-b/issdk_hal.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  <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_3614a3810f3c4eeaffe2259fdfef6294.html">frdm-k64f</a></li><li class="navelem"><a class="el" href="dir_7c065f7c1c3c4ee35c11b063655269b3.html">frdm-fxs-mult2-b</a></li> </ul> 44</div> 45</div><!-- top --> 46<div class="header"> 47 <div class="headertitle"> 48<div class="title">issdk_hal.h</div> </div> 49</div><!--header--> 50<div class="contents"> 51<a href="a04343.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Copyright (c) 2016, Freescale Semiconductor, Inc.</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright 2016-2017 NXP</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> *</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> */</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">/**</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * @file issdk_hal.h</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * @brief Wrapper for Hardware Abstraction Layer (HAL)</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> This file simply provides one level of indirection for the developer</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> to select the particular Hardware Abstraction Layer they would like to use.</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">*/</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __ISSDK_HAL_H__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __ISSDK_HAL_H__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "fsl_i2c_cmsis.h"</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "fsl_dspi_cmsis.h"</span></div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "fsl_uart_cmsis.h"</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include "<a class="code" href="a00578.html">frdm_k64f.h</a>"</span> <span class="comment">//Include appropriate MCU board header file</span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include "<a class="code" href="a04337.html">frdm_fxs_mult2b_shield.h</a>"</span> <span class="comment">//Include appropriate sensor shield board header file</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="comment">// Pin mapping and driver information for default I2C brought to shield</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="comment">// By default, we use I2C_S1 defined in the FRDM_K64F.h file.</span></div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">// Other options: I2C_S2.</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// S1 is on A5:4. S2 is on D15:14.</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="a04343.html#a056129f2401373c6de6789620b159a50"> 31</a></span> <span class="preprocessor">#define I2C_S_SCL_PIN I2C_S1_SCL_PIN</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a04343.html#a7678def03f836f34694c88f6ce75ac84"> 32</a></span> <span class="preprocessor">#define I2C_S_SDA_PIN I2C_S1_SDA_PIN</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="a04343.html#ad6a14737695a4218d07182b86b21f570"> 33</a></span> <span class="preprocessor">#define I2C_S_DRIVER I2C_S1_DRIVER</span></div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="a04343.html#a60ac2e3bb32ae33e2fd542f607a58ac4"> 34</a></span> <span class="preprocessor">#define I2C_S_SIGNAL_EVENT I2C_S1_SIGNAL_EVENT</span></div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="a04343.html#ab0c7969a7fffaabe78d43db2b12ad840"> 35</a></span> <span class="preprocessor">#define I2C_S_DEVICE_INDEX I2C_S1_DEVICE_INDEX</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> </div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#endif // __ISSDK_HAL_H__</span></div><div class="ttc" id="a00578_html"><div class="ttname"><a href="a00578.html">frdm_k64f.h</a></div><div class="ttdoc">The frdm_k64f.h file defines GPIO pin mappings for FRDM-K64F board. </div></div> 52<div class="ttc" id="a04337_html"><div class="ttname"><a href="a04337.html">frdm_fxs_mult2b_shield.h</a></div></div> 53</div><!-- fragment --></div><!-- contents --> 54 55<hr class="footer"/><address class="footer"><small> 56© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 57</small></address> 58</body> 59</html> 60