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/board.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_ca828fa6c7b8f5e58ad88cad4394b679.html">evk-mimxrt1170</a></li> </ul> 44</div> 45</div><!-- top --> 46<div class="header"> 47 <div class="headertitle"> 48<div class="title">board.h</div> </div> 49</div><!--header--> 50<div class="contents"> 51<a href="a04220.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 2018 NXP</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * All rights reserved.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * SPDX-License-Identifier: BSD-3-Clause</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#ifndef _BOARD_H_</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#define _BOARD_H_</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include "<a class="code" href="a04334.html">clock_config.h</a>"</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include "fsl_common.h"</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include "fsl_gpio.h"</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "fsl_clock.h"</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * Definitions</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> ******************************************************************************/</span><span class="comment"></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment">/*! @brief The board name */</span></div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="a04220.html#a02581754b212d533d96cde56c8145c9b"> 20</a></span> <span class="preprocessor">#define BOARD_NAME "MIMXRT1170-EVK"</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#ifndef DEBUG_CONSOLE_UART_INDEX</span></div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="a04220.html#ab7ac40f190238eecd73c5e1cd1bada67"> 22</a></span> <span class="preprocessor">#define DEBUG_CONSOLE_UART_INDEX 1</span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="comment">/* The UART to use for debug messages. */</span></div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="a04220.html#a1c5d72bb4c3165f9fe3a91144de2071d"> 26</a></span> <span class="preprocessor">#define BOARD_DEBUG_UART_TYPE kSerialPort_Uart</span></div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="a04220.html#a1edec5fed9dc97a37f9ddf9c8409f6b2"> 27</a></span> <span class="preprocessor">#define BOARD_DEBUG_UART_CLK_FREQ 24000000</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="preprocessor">#if DEBUG_CONSOLE_UART_INDEX == 1</span></div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="a04220.html#aa57459420fa9e4f0a5f3fc5f57f1b9e8"> 30</a></span> <span class="preprocessor">#define BOARD_DEBUG_UART_BASEADDR (uint32_t) LPUART1</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="a04220.html#a24f7b00ed593b882e135c601f710383b"> 31</a></span> <span class="preprocessor">#define BOARD_DEBUG_UART_INSTANCE 1U</span></div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="a04220.html#a66aae8dca2a3ed9516953924c8d10021"> 32</a></span> <span class="preprocessor">#define BOARD_UART_IRQ LPUART1_IRQn</span></div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="a04220.html#ab18f02e5df161de4fb61d2d6a735fd62"> 33</a></span> <span class="preprocessor">#define BOARD_UART_IRQ_HANDLER LPUART1_IRQHandler</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="preprocessor">#elif DEBUG_CONSOLE_UART_INDEX == 2</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="preprocessor">#define BOARD_DEBUG_UART_BASEADDR (uint32_t) LPUART2</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#define BOARD_DEBUG_UART_INSTANCE 2U</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="preprocessor">#define BOARD_UART_IRQ LPUART2_IRQn</span></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#define BOARD_UART_IRQ_HANDLER LPUART2_IRQHandler</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="preprocessor">#elif DEBUG_CONSOLE_UART_INDEX == 12</span></div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#define BOARD_DEBUG_UART_BASEADDR (uint32_t) LPUART12</span></div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#define BOARD_DEBUG_UART_INSTANCE 12U</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="preprocessor">#define BOARD_UART_IRQ LPUART12_IRQn</span></div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor">#define BOARD_UART_IRQ_HANDLER LPUART12_IRQHandler</span></div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#error "Unsupported UART"</span></div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="preprocessor">#ifndef BOARD_DEBUG_UART_BAUDRATE</span></div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="a04220.html#a7bae38ce2df969e54e7d59ceb9de9195"> 49</a></span> <span class="preprocessor">#define BOARD_DEBUG_UART_BAUDRATE (115200U)</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="preprocessor">#endif </span><span class="comment">/* BOARD_DEBUG_UART_BAUDRATE */</span><span class="preprocessor"></span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment">/* Definitions for eRPC MU transport layer */</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="preprocessor">#if defined(FSL_FEATURE_MU_SIDE_A)</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor">#define MU_BASE MUA</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="preprocessor">#define MU_IRQ MUA_IRQn</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="preprocessor">#define MU_IRQ_HANDLER MUA_IRQHandler</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor">#if defined(FSL_FEATURE_MU_SIDE_B)</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> <span class="preprocessor">#define MU_BASE MUB</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="preprocessor">#define MU_IRQ MUB_IRQn</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="preprocessor">#define MU_IRQ_HANDLER MUB_IRQHandler</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="a04220.html#a3dd993e0c11ef2c6ec81fd16928835ee"> 63</a></span> <span class="preprocessor">#define MU_IRQ_PRIORITY (2)</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="comment"></span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="comment">/*! @brief The USER_LED used for board */</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="a04220.html#a35debbdea17327b517abe5d7bdd52d19"> 66</a></span> <span class="preprocessor">#define LOGIC_LED_ON (0U)</span></div><div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="a04220.html#a2d9c87b853b6bd36832b9f6e5cee8ad1"> 67</a></span> <span class="preprocessor">#define LOGIC_LED_OFF (1U)</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor">#ifndef BOARD_USER_LED_GPIO</span></div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="a04220.html#acffa02c3f685f6293b20e155a41f4d09"> 69</a></span> <span class="preprocessor">#define BOARD_USER_LED_GPIO GPIO9</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span> <span class="preprocessor">#ifndef BOARD_USER_LED_GPIO_PIN</span></div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="a04220.html#a3bcd8d17b222573af133b7c7e4b80094"> 72</a></span> <span class="preprocessor">#define BOARD_USER_LED_GPIO_PIN (3U)</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span> </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="a04220.html#acb0e3a4da5345d60cbf19ff03aac1446"> 75</a></span> <span class="preprocessor">#define USER_LED_INIT(output) \</span></div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="preprocessor"> GPIO_PinWrite(BOARD_USER_LED_GPIO, BOARD_USER_LED_GPIO_PIN, output); \</span></div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="preprocessor"> BOARD_USER_LED_GPIO->GDIR |= (1U << BOARD_USER_LED_GPIO_PIN) </span><span class="comment">/*!< Enable target USER_LED */</span><span class="preprocessor"></span></div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="preprocessor">#define USER_LED_OFF() \</span></div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> <span class="preprocessor"> GPIO_PortClear(BOARD_USER_LED_GPIO, 1U << BOARD_USER_LED_GPIO_PIN) </span><span class="comment">/*!< Turn off target USER_LED */</span><span class="preprocessor"></span></div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="a04220.html#aa893018bca575af91628f6d5195ac1b8"> 80</a></span> <span class="preprocessor">#define USER_LED_ON() GPIO_PortSet(BOARD_USER_LED_GPIO, 1U << BOARD_USER_LED_GPIO_PIN) </span><span class="comment">/*!<Turn on target USER_LED*/</span><span class="preprocessor"></span></div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <span class="preprocessor">#define USER_LED_TOGGLE() \</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> <span class="preprocessor"> GPIO_PinWrite(BOARD_USER_LED_GPIO, BOARD_USER_LED_GPIO_PIN, \</span></div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="a04220.html#a498d623e9d34dd73509fdb723bef98cd"> 83</a></span> <span class="preprocessor"> 0x1 ^ GPIO_PinRead(BOARD_USER_LED_GPIO, BOARD_USER_LED_GPIO_PIN)) </span><span class="comment">/*!< Toggle target USER_LED */</span><span class="preprocessor"></span></div><div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="a04220.html#a6a640806e6e6fd492c1930d6f56fda6e"> 84</a></span> <span class="comment"></span></div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> <span class="comment">/*! @brief Define the port interrupt number for the board switches */</span></div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> <span class="preprocessor">#ifndef BOARD_USER_BUTTON_GPIO</span></div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span> <span class="preprocessor">#define BOARD_USER_BUTTON_GPIO GPIO13</span></div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> <span class="preprocessor">#ifndef BOARD_USER_BUTTON_GPIO_PIN</span></div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor">#define BOARD_USER_BUTTON_GPIO_PIN (0U)</span></div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00092"></a><span class="lineno"><a class="line" href="a04220.html#a101bcce846f5628a835633824543fe63"> 92</a></span> <span class="preprocessor">#define BOARD_USER_BUTTON_IRQ GPIO13_Combined_0_31_IRQn</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="preprocessor">#define BOARD_USER_BUTTON_IRQ_HANDLER GPIO13_Combined_0_31_IRQHandler</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#define BOARD_USER_BUTTON_NAME "SW7"</span></div><div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="a04220.html#a4b427913a207dd3b67f24920beec92e1"> 95</a></span> <span class="comment"></span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment">/*! @brief The board flash size */</span></div><div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="a04220.html#aa52e9b86e73094dc866074aca368839b"> 97</a></span> <span class="preprocessor">#define BOARD_FLASH_SIZE (0x1000000U)</span></div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="a04220.html#a3513334cf2add80c410ed5fe34d53255"> 98</a></span> </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="a04220.html#a4789cc87942dd3056a2a2422b957630c"> 99</a></span> <span class="comment">/* SKIP_SEMC_INIT can also be defined independently */</span></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> <span class="preprocessor">#ifdef USE_SDRAM</span></div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="preprocessor">#define SKIP_SEMC_INIT</span></div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="a04220.html#a37ce0771e9e1a4e88201ce9118d78308"> 102</a></span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> <span class="comment"></span></div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment">/*! @brief The ENET PHY address. */</span></div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="preprocessor">#define BOARD_ENET0_PHY_ADDRESS (0x02U) </span><span class="comment">/* Phy address of enet port 0. */</span><span class="preprocessor"></span></div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span> </div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span> <span class="comment">/* @brief The EMVSIM SMARTCARD PHY configuration. */</span></div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> <span class="preprocessor">#define BOARD_SMARTCARD_MODULE (EMVSIM1) </span><span class="comment">/*!< SMARTCARD communicational module instance */</span><span class="preprocessor"></span></div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span> <span class="preprocessor">#define BOARD_SMARTCARD_MODULE_IRQ (EMVSIM1_IRQn) </span><span class="comment">/*!< SMARTCARD communicational module IRQ handler */</span><span class="preprocessor"></span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="a04220.html#a016c762b0732cd92fa67916788735433"> 110</a></span> <span class="preprocessor">#define BOARD_SMARTCARD_CLOCK_MODULE_CLK_FREQ (CLOCK_GetRootClockFreq(kCLOCK_Root_Emv1))</span></div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="preprocessor">#define BOARD_SMARTCARD_CLOCK_VALUE (4000000U) </span><span class="comment">/*!< SMARTCARD clock frequency */</span><span class="preprocessor"></span></div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"><a class="line" href="a04220.html#aef88f3def918c8646b4bc29039d17f97"> 113</a></span> <span class="comment">/* USB PHY condfiguration */</span></div><div class="line"><a name="l00114"></a><span class="lineno"><a class="line" href="a04220.html#a10b9d1daf7e1f63c9fa69c286b91d2e2"> 114</a></span> <span class="preprocessor">#define BOARD_USB_PHY_D_CAL (0x0CU)</span></div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="a04220.html#a5b64dba139fb3d7c89f9dd998fbfc060"> 115</a></span> <span class="preprocessor">#define BOARD_USB_PHY_TXCAL45DP (0x06U)</span></div><div class="line"><a name="l00116"></a><span class="lineno"><a class="line" href="a04220.html#afbe4c4c876e631b01e6cffc77f7c837c"> 116</a></span> <span class="preprocessor">#define BOARD_USB_PHY_TXCAL45DM (0x06U)</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="preprocessor">#define BOARD_ARDUINO_INT_IRQ (GPIO1_INT3_IRQn)</span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="a04220.html#a4563e34c80b063a9865d29c190b68d2a"> 119</a></span> <span class="preprocessor">#define BOARD_ARDUINO_I2C_IRQ (LPI2C1_IRQn)</span></div><div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="a04220.html#acee9ff3cef2995c1f603be17122d2522"> 120</a></span> <span class="preprocessor">#define BOARD_ARDUINO_I2C_INDEX (1)</span></div><div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="a04220.html#a9096b84c649231d732bcfdd7de6fe9a4"> 121</a></span> <span class="preprocessor">#define BOARD_USDHC1_BASEADDR USDHC1</span></div><div class="line"><a name="l00122"></a><span class="lineno"> 122</span> <span class="preprocessor">#define BOARD_USDHC2_BASEADDR USDHC2</span></div><div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="a04220.html#a634b52ed121297e06be2646084d6c2a2"> 123</a></span> <span class="preprocessor">#define BOARD_USDHC_CD_GPIO_BASE GPIO9</span></div><div class="line"><a name="l00124"></a><span class="lineno"><a class="line" href="a04220.html#a77ea36f9c8756251ae3b0963dcffb064"> 124</a></span> <span class="preprocessor">#define BOARD_USDHC_CD_GPIO_PIN 2</span></div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="a04220.html#a44a062868824c956529e07f31671cddb"> 125</a></span> <span class="preprocessor">#define BOARD_USDHC_CD_PORT_IRQ GPIO2_Combined_16_31_IRQn</span></div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="a04220.html#a93a69834fe21c4b3eaef09ce56f013d8"> 126</a></span> <span class="preprocessor">#define BOARD_USDHC_CD_PORT_IRQ_HANDLER GPIO2_Combined_16_31_IRQHandler</span></div><div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="a04220.html#abb335d949d72da46f27154eb8a6edbf9"> 127</a></span> </div><div class="line"><a name="l00128"></a><span class="lineno"><a class="line" href="a04220.html#accc9977771a7d50ae083c618f9cdd978"> 128</a></span> <span class="preprocessor">#define BOARD_USDHC_CD_STATUS() (GPIO_PinRead(BOARD_USDHC_CD_GPIO_BASE, BOARD_USDHC_CD_GPIO_PIN))</span></div><div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="a04220.html#ac0188c26f78e52cb5fd5ced7a3e49320"> 129</a></span> </div><div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="a04220.html#a5af80b42d5bb5dbd22610ab3e9a80776"> 130</a></span> <span class="preprocessor">#define BOARD_USDHC_CD_INTERRUPT_STATUS() (GPIO_PortGetInterruptFlags(BOARD_USDHC_CD_GPIO_BASE))</span></div><div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="a04220.html#a02d230271dc8dc1bd969830bc56fcef9"> 131</a></span> <span class="preprocessor">#define BOARD_USDHC_CD_CLEAR_INTERRUPT(flag) (GPIO_PortClearInterruptFlags(BOARD_USDHC_CD_GPIO_BASE, flag))</span></div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="a04220.html#a729f66384cdc548c84a4a362895aabcb"> 133</a></span> <span class="preprocessor">#define BOARD_USDHC_CD_GPIO_INIT() \</span></div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="preprocessor"> { \</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="a04220.html#a3cb0ebc249082a7faaae4b2107fa0533"> 135</a></span> <span class="preprocessor"> gpio_pin_config_t sw_config = { \</span></div><div class="line"><a name="l00136"></a><span class="lineno"><a class="line" href="a04220.html#a9b9e6aaaa1923d411effbae3adb63f49"> 136</a></span> <span class="preprocessor"> kGPIO_DigitalInput, \</span></div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span> <span class="preprocessor"> 0, \</span></div><div class="line"><a name="l00138"></a><span class="lineno"><a class="line" href="a04220.html#a50cdfba240dca8673129486f6e0bbbd4"> 138</a></span> <span class="preprocessor"> kGPIO_IntRisingOrFallingEdge, \</span></div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> <span class="preprocessor"> }; \</span></div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> <span class="preprocessor"> GPIO_PinInit(BOARD_USDHC_CD_GPIO_BASE, BOARD_USDHC_CD_GPIO_PIN, &sw_config); \</span></div><div class="line"><a name="l00141"></a><span class="lineno"> 141</span> <span class="preprocessor"> GPIO_PortEnableInterrupts(BOARD_USDHC_CD_GPIO_BASE, 1U << BOARD_USDHC_CD_GPIO_PIN); \</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> <span class="preprocessor"> GPIO_PortClearInterruptFlags(BOARD_USDHC_CD_GPIO_BASE, ~0); \</span></div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor"> }</span></div><div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="preprocessor">#define BOARD_HAS_SDCARD (1U)</span></div><div class="line"><a name="l00145"></a><span class="lineno"> 145</span> <span class="preprocessor">#define BOARD_SD_POWER_RESET_GPIO (GPIO9)</span></div><div class="line"><a name="l00146"></a><span class="lineno"> 146</span> <span class="preprocessor">#define BOARD_SD_POWER_RESET_GPIO_PIN (14U)</span></div><div class="line"><a name="l00147"></a><span class="lineno"> 147</span> </div><div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="preprocessor">#define BOARD_USDHC_CARD_INSERT_CD_LEVEL (0U)</span></div><div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="a04220.html#af32678d88b67f77e8a4102c982e34dc0"> 149</a></span> </div><div class="line"><a name="l00150"></a><span class="lineno"><a class="line" href="a04220.html#ab5c8feb5232515434e285109cc04bb4f"> 150</a></span> <span class="preprocessor">#define BOARD_USDHC_MMCCARD_POWER_CONTROL(state)</span></div><div class="line"><a name="l00151"></a><span class="lineno"><a class="line" href="a04220.html#a782665b60914d5fd3125b0bc49cb33c9"> 151</a></span> </div><div class="line"><a name="l00152"></a><span class="lineno"> 152</span> <span class="preprocessor">#define BOARD_USDHC_MMCCARD_POWER_CONTROL_INIT() \</span></div><div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="a04220.html#a66ea0aa6c910271a7c09dc40ec32621f"> 153</a></span> <span class="preprocessor"> { \</span></div><div class="line"><a name="l00154"></a><span class="lineno"> 154</span> <span class="preprocessor"> gpio_pin_config_t sw_config = { \</span></div><div class="line"><a name="l00155"></a><span class="lineno"><a class="line" href="a04220.html#a35b6d59c09b01ff14389efd10ee4ccad"> 155</a></span> <span class="preprocessor"> kGPIO_DigitalOutput, \</span></div><div class="line"><a name="l00156"></a><span class="lineno"> 156</span> <span class="preprocessor"> 0, \</span></div><div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="a04220.html#abfb334022d2e347323296822863c3d53"> 157</a></span> <span class="preprocessor"> kGPIO_NoIntmode, \</span></div><div class="line"><a name="l00158"></a><span class="lineno"> 158</span> <span class="preprocessor"> }; \</span></div><div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="preprocessor"> GPIO_PinInit(BOARD_SD_POWER_RESET_GPIO, BOARD_SD_POWER_RESET_GPIO_PIN, &sw_config); \</span></div><div class="line"><a name="l00160"></a><span class="lineno"> 160</span> <span class="preprocessor"> GPIO_PinWrite(BOARD_SD_POWER_RESET_GPIO, BOARD_SD_POWER_RESET_GPIO_PIN, true); \</span></div><div class="line"><a name="l00161"></a><span class="lineno"> 161</span> <span class="preprocessor"> }</span></div><div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div><div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="preprocessor">#define BOARD_USDHC_SDCARD_POWER_CONTROL_INIT() \</span></div><div class="line"><a name="l00164"></a><span class="lineno"> 164</span> <span class="preprocessor"> { \</span></div><div class="line"><a name="l00165"></a><span class="lineno"> 165</span> <span class="preprocessor"> gpio_pin_config_t sw_config = { \</span></div><div class="line"><a name="l00166"></a><span class="lineno"> 166</span> <span class="preprocessor"> kGPIO_DigitalOutput, \</span></div><div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="preprocessor"> 0, \</span></div><div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="a04220.html#a3c5423072dab367e6467ca34c8547247"> 168</a></span> <span class="preprocessor"> kGPIO_NoIntmode, \</span></div><div class="line"><a name="l00169"></a><span class="lineno"> 169</span> <span class="preprocessor"> }; \</span></div><div class="line"><a name="l00170"></a><span class="lineno"> 170</span> <span class="preprocessor"> GPIO_PinInit(BOARD_SD_POWER_RESET_GPIO, BOARD_SD_POWER_RESET_GPIO_PIN, &sw_config); \</span></div><div class="line"><a name="l00171"></a><span class="lineno"> 171</span> <span class="preprocessor"> }</span></div><div class="line"><a name="l00172"></a><span class="lineno"> 172</span> </div><div class="line"><a name="l00173"></a><span class="lineno"> 173</span> <span class="preprocessor">#define BOARD_USDHC_SDCARD_POWER_CONTROL(state) \</span></div><div class="line"><a name="l00174"></a><span class="lineno"> 174</span> <span class="preprocessor"> (GPIO_PinWrite(BOARD_SD_POWER_RESET_GPIO, BOARD_SD_POWER_RESET_GPIO_PIN, state == true ? false : true))</span></div><div class="line"><a name="l00175"></a><span class="lineno"> 175</span> </div><div class="line"><a name="l00176"></a><span class="lineno"> 176</span> <span class="preprocessor">#define BOARD_USDHC1_CLK_FREQ 400000000U</span></div><div class="line"><a name="l00177"></a><span class="lineno"> 177</span> <span class="preprocessor">#define BOARD_USDHC2_CLK_FREQ (CLOCK_GetSysPfdFreq(kCLOCK_Pfd0) / (CLOCK_GetDiv(kCLOCK_Usdhc2Div) + 1U))</span></div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="a04220.html#a6e1f4930c310ac3c304c188e426efa45"> 178</a></span> </div><div class="line"><a name="l00179"></a><span class="lineno"> 179</span> <span class="preprocessor">#define BOARD_SD_HOST_BASEADDR BOARD_USDHC1_BASEADDR</span></div><div class="line"><a name="l00180"></a><span class="lineno"> 180</span> <span class="preprocessor">#define BOARD_SD_HOST_CLK_FREQ BOARD_USDHC1_CLK_FREQ</span></div><div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="a04220.html#a093f6716157a8b59c3bed1c0552f89a9"> 181</a></span> <span class="preprocessor">#define BOARD_SD_HOST_IRQ USDHC1_IRQn</span></div><div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="a04220.html#a3ee03dda5f5fdfdabb00066b9496d778"> 182</a></span> </div><div class="line"><a name="l00183"></a><span class="lineno"> 183</span> <span class="preprocessor">#define BOARD_MMC_HOST_BASEADDR BOARD_USDHC2_BASEADDR</span></div><div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="a04220.html#a19115347cc6ad141a84c3ae37cd78fbe"> 184</a></span> <span class="preprocessor">#define BOARD_MMC_HOST_CLK_FREQ BOARD_USDHC2_CLK_FREQ</span></div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="a04220.html#ae963cf61dfdc4011fe0317149bec4ff2"> 185</a></span> <span class="preprocessor">#define BOARD_MMC_HOST_IRQ USDHC2_IRQn</span></div><div class="line"><a name="l00186"></a><span class="lineno"><a class="line" href="a04220.html#a571391a9487984a597cbcf99520ff105"> 186</a></span> <span class="preprocessor">#define BOARD_MMC_VCCQ_SUPPLY kMMC_VoltageWindow170to195</span></div><div class="line"><a name="l00187"></a><span class="lineno"> 187</span> <span class="preprocessor">#define BOARD_MMC_VCC_SUPPLY kMMC_VoltageWindows270to360</span></div><div class="line"><a name="l00188"></a><span class="lineno"><a class="line" href="a04220.html#ac566af2f16dd3b3a7b96416c8499aafd"> 188</a></span> <span class="comment">/* we are using the BB SD socket to DEMO the MMC example,but the</span></div><div class="line"><a name="l00189"></a><span class="lineno"><a class="line" href="a04220.html#ae28266f19009337d55798e12b8dcf1e6"> 189</a></span> <span class="comment"> * SD socket provide 4bit bus only, so we define this macro to avoid</span></div><div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="a04220.html#a3faed5b6caf22b31cd60de0485296119"> 190</a></span> <span class="comment"> * 8bit data bus test</span></div><div class="line"><a name="l00191"></a><span class="lineno"><a class="line" href="a04220.html#a4c529840879912954e405e421848ff78"> 191</a></span> <span class="comment"> */</span></div><div class="line"><a name="l00192"></a><span class="lineno"><a class="line" href="a04220.html#a82bdfff6767e05a6c902d95779c81e07"> 192</a></span> <span class="preprocessor">#define BOARD_MMC_SUPPORT_8BIT_BUS (1U)</span></div><div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div><div class="line"><a name="l00194"></a><span class="lineno"> 194</span> <span class="preprocessor">#define BOARD_SD_HOST_SUPPORT_SDR104_FREQ (200000000U)</span></div><div class="line"><a name="l00195"></a><span class="lineno"> 195</span> <span class="preprocessor">#define BOARD_SD_HOST_SUPPORT_HS200_FREQ (180000000U)</span></div><div class="line"><a name="l00196"></a><span class="lineno"> 196</span> <span class="comment"></span></div><div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="a04220.html#a097900bc9c1297fc1b7a2ad4bc98d15b"> 197</a></span> <span class="comment">/*! @brief The WIFI-QCA shield pin. */</span></div><div class="line"><a name="l00198"></a><span class="lineno"> 198</span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_PWRON_GPIO GPIO1 </span><span class="comment">/*!< GPIO device name: GPIO */</span><span class="preprocessor"></span></div><div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="a04220.html#a4452ed88c4611e21664b7e7c40fe9f3f"> 199</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_PWRON_PORT 1U </span><span class="comment">/*!< PORT device index: 1 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="a04220.html#a6b781d940d20f27323d258e7a0c73edd"> 200</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_PWRON_GPIO_PIN 3U </span><span class="comment">/*!< PIO4 pin index: 3 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00201"></a><span class="lineno"> 201</span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_PWRON_PIN_NAME GPIO1_3 </span><span class="comment">/*!< Pin name */</span><span class="preprocessor"></span></div><div class="line"><a name="l00202"></a><span class="lineno"> 202</span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_PWRON_LABEL "PWRON" </span><span class="comment">/*!< Label */</span><span class="preprocessor"></span></div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="a04220.html#adf37dfba9eb365762fdc6ecf5e2cf347"> 203</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_PWRON_NAME "PWRON" </span><span class="comment">/*!< Identifier name */</span><span class="preprocessor"></span></div><div class="line"><a name="l00204"></a><span class="lineno"><a class="line" href="a04220.html#ab8289956fde6413d284114fe776b6e1d"> 204</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_PWRON_DIRECTION kGPIO_DigitalOutput </span><span class="comment">/*!< Direction */</span><span class="preprocessor"></span></div><div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="a04220.html#a5c796b8cb69686466970b2f93a82b20a"> 205</a></span> </div><div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="a04220.html#ac2c38ca1bafea5b3a3e5791833b25595"> 206</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_IRQ_GPIO GPIO1 </span><span class="comment">/*!< GPIO device name: GPIO */</span><span class="preprocessor"></span></div><div class="line"><a name="l00207"></a><span class="lineno"><a class="line" href="a04220.html#af1877a84231b3b793403626db75f4762"> 207</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_IRQ_PORT 1U </span><span class="comment">/*!< PORT device index: 1 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="a04220.html#aad2b355c4dbf28f928c8816f96192eae"> 208</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_IRQ_GPIO_PIN 19U </span><span class="comment">/*!< PIO1 pin index: 19 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="a04220.html#a360a63624629a7571e5548ddcbabb601"> 209</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_IRQ_PIN_NAME GPIO1_19 </span><span class="comment">/*!< Pin name */</span><span class="preprocessor"></span></div><div class="line"><a name="l00210"></a><span class="lineno"> 210</span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_IRQ_LABEL "IRQ" </span><span class="comment">/*!< Label */</span><span class="preprocessor"></span></div><div class="line"><a name="l00211"></a><span class="lineno"><a class="line" href="a04220.html#abe5d0c63c50102e464e4bd0dfc95af72"> 211</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_IRQ_NAME "IRQ" </span><span class="comment">/*!< Identifier name */</span><span class="preprocessor"></span></div><div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="a04220.html#ad3b8d32bdab0c88f733fdd868ca27af9"> 212</a></span> <span class="preprocessor">#define BOARD_INITGT202SHIELD_IRQ_DIRECTION kGPIO_DigitalInput </span><span class="comment">/*!< Direction */</span><span class="preprocessor"></span></div><div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="a04220.html#a77acb7bfbdc42a1904ab8e688df431c7"> 213</a></span> </div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="a04220.html#a108766482aeb0e8ac711dbdf8035cb86"> 214</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_PWRON_GPIO GPIO1 </span><span class="comment">/*!< GPIO device name: GPIO */</span><span class="preprocessor"></span></div><div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="a04220.html#af801af71544ef5b963a67a2e3ab78d12"> 215</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_PWRON_PORT 1U </span><span class="comment">/*!< PORT device index: 1 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00216"></a><span class="lineno"><a class="line" href="a04220.html#a0a106303ef6964d227a266020b3e75e5"> 216</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_PWRON_GPIO_PIN 9U </span><span class="comment">/*!< PIO4 pin index: 9 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="a04220.html#a3e12439773c2dbd152f65f880cf9ee38"> 217</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_PWRON_PIN_NAME GPIO1_9 </span><span class="comment">/*!< Pin name */</span><span class="preprocessor"></span></div><div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_PWRON_LABEL "PWRON" </span><span class="comment">/*!< Label */</span><span class="preprocessor"></span></div><div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="a04220.html#a80c90bd880050980a13cb5767dfad2d6"> 219</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_PWRON_NAME "PWRON" </span><span class="comment">/*!< Identifier name */</span><span class="preprocessor"></span></div><div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="a04220.html#a855ffc5795d37f9ab65635b3214fa944"> 220</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_PWRON_DIRECTION kGPIO_DigitalOutput </span><span class="comment">/*!< Direction */</span><span class="preprocessor"></span></div><div class="line"><a name="l00221"></a><span class="lineno"><a class="line" href="a04220.html#a4044877d53af93245fdcef044c89d1e1"> 221</a></span> </div><div class="line"><a name="l00222"></a><span class="lineno"><a class="line" href="a04220.html#a850bd5cd95a12229fe43efaaa2ca6cf7"> 222</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_IRQ_GPIO GPIO1 </span><span class="comment">/*!< GPIO device name: GPIO */</span><span class="preprocessor"></span></div><div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="a04220.html#a656542cbd1b1a0a7dfe7062aac11560c"> 223</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_IRQ_PORT 1U </span><span class="comment">/*!< PORT device index: 1 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00224"></a><span class="lineno"><a class="line" href="a04220.html#aa2569153b7a4263487101c714dad7aeb"> 224</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_IRQ_GPIO_PIN 11U </span><span class="comment">/*!< PIO1 pin index: 11 */</span><span class="preprocessor"></span></div><div class="line"><a name="l00225"></a><span class="lineno"><a class="line" href="a04220.html#aa6d7a2ad84b787b2405ac80d7abc8bb3"> 225</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_IRQ_PIN_NAME GPIO1_11 </span><span class="comment">/*!< Pin name */</span><span class="preprocessor"></span></div><div class="line"><a name="l00226"></a><span class="lineno"> 226</span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_IRQ_LABEL "IRQ" </span><span class="comment">/*!< Label */</span><span class="preprocessor"></span></div><div class="line"><a name="l00227"></a><span class="lineno"><a class="line" href="a04220.html#aaf0150cfa900af573e2553a79a865c6f"> 227</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_IRQ_NAME "IRQ" </span><span class="comment">/*!< Identifier name */</span><span class="preprocessor"></span></div><div class="line"><a name="l00228"></a><span class="lineno"><a class="line" href="a04220.html#a6f68c00d9cb0af7ae99f5af37aae779c"> 228</a></span> <span class="preprocessor">#define BOARD_INITSILEX2401SHIELD_IRQ_DIRECTION kGPIO_DigitalInput </span><span class="comment">/*!< Direction */</span><span class="preprocessor"></span></div><div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="a04220.html#a94b33e4ef459338af0239c40f7f755b3"> 229</a></span> </div><div class="line"><a name="l00230"></a><span class="lineno"><a class="line" href="a04220.html#a958a4f1f037834cf6b9eea4795178bf1"> 230</a></span> <span class="comment">/* @Brief Board accelerator sensor configuration */</span></div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="a04220.html#a9c06038e82b18e6a3dcac728e53c1991"> 231</a></span> <span class="preprocessor">#define BOARD_ACCEL_I2C_BASEADDR LPI2C5</span></div><div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="a04220.html#a6b8ab45518e4d134f9c9ea63aca37108"> 232</a></span> <span class="comment">/* Clock divider for LPI2C clock source */</span></div><div class="line"><a name="l00233"></a><span class="lineno"><a class="line" href="a04220.html#ae97adfc5e5b2d08463624e97b80eef44"> 233</a></span> <span class="preprocessor">#define BOARD_ACCEL_I2C_CLOCK_FREQ (CLOCK_GetRootClockFreq(kCLOCK_Root_Lpi2c5))</span></div><div class="line"><a name="l00234"></a><span class="lineno"> 234</span> </div><div class="line"><a name="l00235"></a><span class="lineno"> 235</span> <span class="preprocessor">#define BOARD_CODEC_I2C_BASEADDR LPI2C5</span></div><div class="line"><a name="l00236"></a><span class="lineno"><a class="line" href="a04220.html#ada304f1b6373656dee973d00b3561b90"> 236</a></span> <span class="preprocessor">#define BOARD_CODEC_I2C_INSTANCE 5U</span></div><div class="line"><a name="l00237"></a><span class="lineno"> 237</span> <span class="preprocessor">#define BOARD_CODEC_I2C_CLOCK_SOURCE_SELECT (0U)</span></div><div class="line"><a name="l00238"></a><span class="lineno"><a class="line" href="a04220.html#a5b58e4e8f8a04626aea1cff37e08091a"> 238</a></span> <span class="preprocessor">#define BOARD_CODEC_I2C_CLOCK_SOURCE_DIVIDER (5U)</span></div><div class="line"><a name="l00239"></a><span class="lineno"> 239</span> <span class="preprocessor">#define BOARD_CODEC_I2C_CLOCK_FREQ (24000000U)</span></div><div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="a04220.html#a8a53a748ee6d212885b2dc7830281d36"> 240</a></span> </div><div class="line"><a name="l00241"></a><span class="lineno"><a class="line" href="a04220.html#afd07e503e21d51372c8f688ab5e0cfaf"> 241</a></span> <span class="comment">/* @Brief Board CAMERA configuration */</span></div><div class="line"><a name="l00242"></a><span class="lineno"><a class="line" href="a04220.html#affd3d114cf802d974445771297d4995f"> 242</a></span> <span class="preprocessor">#define BOARD_CAMERA_I2C_BASEADDR LPI2C6</span></div><div class="line"><a name="l00243"></a><span class="lineno"><a class="line" href="a04220.html#adda6a50d1c1bdeb98e0950f1f5055d12"> 243</a></span> <span class="preprocessor">#define BOARD_CAMERA_I2C_CLOCK_ROOT kCLOCK_Root_Lpi2c6</span></div><div class="line"><a name="l00244"></a><span class="lineno"><a class="line" href="a04220.html#ac8bfbb579406408641c16c5d30ec97d1"> 244</a></span> <span class="preprocessor">#define BOARD_CAMERA_I2C_CLOCK_SOURCE (1U) </span><span class="comment">/* OSC24M. */</span><span class="preprocessor"></span></div><div class="line"><a name="l00245"></a><span class="lineno"> 245</span> <span class="preprocessor">#define BOARD_CAMERA_I2C_CLOCK_DIVIDER (11U) </span><span class="comment">/* Divider = 12, LPI2C clock frequency 2M. */</span><span class="preprocessor"></span></div><div class="line"><a name="l00246"></a><span class="lineno"> 246</span> <span class="comment"></span></div><div class="line"><a name="l00247"></a><span class="lineno"><a class="line" href="a04220.html#a5889ccc058a26d8c30ed782774e519dd"> 247</a></span> <span class="comment">/*! @brief The MIPI panel pins. */</span></div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="a04220.html#af01399261d9b2e8b8b75e16bac977912"> 248</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_RST_GPIO GPIO9</span></div><div class="line"><a name="l00249"></a><span class="lineno"><a class="line" href="a04220.html#a65c7fa9fe90ef768f0b75be7aaa9e0f9"> 249</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_RST_PIN 1</span></div><div class="line"><a name="l00250"></a><span class="lineno"><a class="line" href="a04220.html#ae5d3b0604aaa454de498b61ed1adc7b2"> 250</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_POWER_GPIO GPIO11</span></div><div class="line"><a name="l00251"></a><span class="lineno"> 251</span> <span class="preprocessor">#define BOARD_MIPI_PANEL_POWER_PIN 16</span></div><div class="line"><a name="l00252"></a><span class="lineno"> 252</span> <span class="comment">/* Back light pin. */</span></div><div class="line"><a name="l00253"></a><span class="lineno"><a class="line" href="a04220.html#ad752c783b03aa8b8bf742a74337ef04a"> 253</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_BL_GPIO GPIO9</span></div><div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="a04220.html#acbec63475a10c2e04806e20f2a15b8b5"> 254</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_BL_PIN 29</span></div><div class="line"><a name="l00255"></a><span class="lineno"><a class="line" href="a04220.html#a6f1058964f74d58bbc0f6b5a19493f52"> 255</a></span> </div><div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="a04220.html#a956a8434cdad66ffdbfc9b540c25921b"> 256</a></span> <span class="comment">/* Touch panel. */</span></div><div class="line"><a name="l00257"></a><span class="lineno"> 257</span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_I2C_BASEADDR LPI2C5</span></div><div class="line"><a name="l00258"></a><span class="lineno"><a class="line" href="a04220.html#ad78cccd5b965702cc959022d21cec3da"> 258</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_I2C_CLOCK_ROOT kCLOCK_Root_Lpi2c5</span></div><div class="line"><a name="l00259"></a><span class="lineno"><a class="line" href="a04220.html#a22627158eca72d65154fb873fa9c2c37"> 259</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_I2C_CLOCK_SOURCE (1U) </span><span class="comment">/* OSC24M. */</span><span class="preprocessor"></span></div><div class="line"><a name="l00260"></a><span class="lineno"> 260</span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_I2C_CLOCK_DIVIDER (11U) </span><span class="comment">/* Divider = 12, LPI2C clock frequency 2M. */</span><span class="preprocessor"></span></div><div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_I2C_CLOCK_FREQ CLOCK_GetRootClockFreq(BOARD_MIPI_PANEL_TOUCH_I2C_CLOCK_ROOT)</span></div><div class="line"><a name="l00262"></a><span class="lineno"><a class="line" href="a04220.html#a2c652d44e02aa79abf0583c5b2f3bef4"> 262</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_RST_GPIO GPIO9</span></div><div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="a04220.html#aa47b28ebcb8c4da118f40331f9707e31"> 263</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_RST_PIN 0</span></div><div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="a04220.html#a39152a278f469b433ea09fa6fa27c2f6"> 264</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_INT_GPIO GPIO8</span></div><div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="a04220.html#af14385a35c8925181cce355154e5134a"> 265</a></span> <span class="preprocessor">#define BOARD_MIPI_PANEL_TOUCH_INT_PIN 31</span></div><div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="a04220.html#aa7656a8e9c6e353c1aad8131c2405ed8"> 266</a></span> <span class="comment"></span></div><div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="a04220.html#aae152505a91a281fa56c052036c8e39e"> 267</a></span> <span class="comment">/*! @brief The camera pins. */</span></div><div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="a04220.html#aeb98dd24e85d6513e34eb5e5f0a31bdf"> 268</a></span> <span class="preprocessor">#define BOARD_CAMERA_PWDN_GPIO GPIO9</span></div><div class="line"><a name="l00269"></a><span class="lineno"><a class="line" href="a04220.html#ac3d493355ff090476b8a55df043e15f5"> 269</a></span> <span class="preprocessor">#define BOARD_CAMERA_PWDN_PIN 25</span></div><div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="a04220.html#a2833938fbc53bfbe2e7ac193e86406c7"> 270</a></span> <span class="preprocessor">#define BOARD_CAMERA_RST_GPIO GPIO11</span></div><div class="line"><a name="l00271"></a><span class="lineno"> 271</span> <span class="preprocessor">#define BOARD_CAMERA_RST_PIN 15</span></div><div class="line"><a name="l00272"></a><span class="lineno"> 272</span> </div><div class="line"><a name="l00273"></a><span class="lineno"><a class="line" href="a04220.html#ad9ee1130e64a0517e01551b70632a7fd"> 273</a></span> <span class="comment">/* SD card detection method when using wifi module. */</span></div><div class="line"><a name="l00274"></a><span class="lineno"><a class="line" href="a04220.html#add7e9ab8e2ab8abc044efbd47023bc19"> 274</a></span> <span class="preprocessor">#define BOARD_WIFI_SD_DETECT_TYPE kSDMMCHOST_DetectCardByHostDATA3</span></div><div class="line"><a name="l00275"></a><span class="lineno"><a class="line" href="a04220.html#a283cef9f5295372fa81d88d2941558e3"> 275</a></span> </div><div class="line"><a name="l00276"></a><span class="lineno"><a class="line" href="a04220.html#aa05e042edd9cbf29753480e0a9b561bd"> 276</a></span> <span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00277"></a><span class="lineno"> 277</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> {</div><div class="line"><a name="l00278"></a><span class="lineno"> 278</span> <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div><div class="line"><a name="l00279"></a><span class="lineno"><a class="line" href="a04220.html#a72e613d13512cb6d61f4fc959962081f"> 279</a></span> </div><div class="line"><a name="l00280"></a><span class="lineno"> 280</span> <span class="comment">/*******************************************************************************</span></div><div class="line"><a name="l00281"></a><span class="lineno"> 281</span> <span class="comment"> * API</span></div><div class="line"><a name="l00282"></a><span class="lineno"> 282</span> <span class="comment"> ******************************************************************************/</span></div><div class="line"><a name="l00283"></a><span class="lineno"> 283</span> uint32_t <a class="code" href="a04196.html#a921b59b97132dd599e078cf5f24be833">BOARD_DebugConsoleSrcFreq</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00284"></a><span class="lineno"> 284</span> </div><div class="line"><a name="l00285"></a><span class="lineno"> 285</span> <span class="keywordtype">void</span> <a class="code" href="a04166.html#a4c84ccb952cb083367d7040cf9de3db8">BOARD_InitDebugConsole</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00286"></a><span class="lineno"> 286</span> </div><div class="line"><a name="l00287"></a><span class="lineno"> 287</span> <span class="keywordtype">void</span> <a class="code" href="a04196.html#a95d305e837a32f1c6801f5fc55f65dcb">BOARD_ConfigMPU</a>(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00288"></a><span class="lineno"> 288</span> <span class="preprocessor">#if defined(SDK_I2C_BASED_COMPONENT_USED) && SDK_I2C_BASED_COMPONENT_USED</span></div><div class="line"><a name="l00289"></a><span class="lineno"> 289</span> <span class="keywordtype">void</span> BOARD_LPI2C_Init(LPI2C_Type *base, uint32_t clkSrc_Hz);</div><div class="line"><a name="l00290"></a><span class="lineno"> 290</span> status_t BOARD_LPI2C_Send(LPI2C_Type *base,</div><div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  uint8_t deviceAddress,</div><div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  uint32_t subAddress,</div><div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  uint8_t subaddressSize,</div><div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  uint8_t *txBuff,</div><div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  uint8_t txBuffSize);</div><div class="line"><a name="l00296"></a><span class="lineno"> 296</span> status_t BOARD_LPI2C_Receive(LPI2C_Type *base,</div><div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  uint8_t deviceAddress,</div><div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  uint32_t subAddress,</div><div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  uint8_t subaddressSize,</div><div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  uint8_t *rxBuff,</div><div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  uint8_t rxBuffSize);</div><div class="line"><a name="l00302"></a><span class="lineno"> 302</span> status_t BOARD_LPI2C_SendSCCB(LPI2C_Type *base,</div><div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  uint8_t deviceAddress,</div><div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  uint32_t subAddress,</div><div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  uint8_t subaddressSize,</div><div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  uint8_t *txBuff,</div><div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  uint8_t txBuffSize);</div><div class="line"><a name="l00308"></a><span class="lineno"> 308</span> status_t BOARD_LPI2C_ReceiveSCCB(LPI2C_Type *base,</div><div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  uint8_t deviceAddress,</div><div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  uint32_t subAddress,</div><div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  uint8_t subaddressSize,</div><div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  uint8_t *rxBuff,</div><div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  uint8_t rxBuffSize);</div><div class="line"><a name="l00314"></a><span class="lineno"> 314</span> <span class="keywordtype">void</span> BOARD_Accel_I2C_Init(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00315"></a><span class="lineno"> 315</span> status_t BOARD_Accel_I2C_Send(uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint32_t txBuff);</div><div class="line"><a name="l00316"></a><span class="lineno"> 316</span> status_t BOARD_Accel_I2C_Receive(</div><div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subaddressSize, uint8_t *rxBuff, uint8_t rxBuffSize);</div><div class="line"><a name="l00318"></a><span class="lineno"> 318</span> <span class="keywordtype">void</span> BOARD_Codec_I2C_Init(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00319"></a><span class="lineno"> 319</span> status_t BOARD_Codec_I2C_Send(</div><div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subAddressSize, <span class="keyword">const</span> uint8_t *txBuff, uint8_t txBuffSize);</div><div class="line"><a name="l00321"></a><span class="lineno"> 321</span> status_t BOARD_Codec_I2C_Receive(</div><div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subAddressSize, uint8_t *rxBuff, uint8_t rxBuffSize);</div><div class="line"><a name="l00323"></a><span class="lineno"> 323</span> <span class="keywordtype">void</span> BOARD_Camera_I2C_Init(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00324"></a><span class="lineno"> 324</span> status_t BOARD_Camera_I2C_Send(</div><div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subAddressSize, <span class="keyword">const</span> uint8_t *txBuff, uint8_t txBuffSize);</div><div class="line"><a name="l00326"></a><span class="lineno"> 326</span> status_t BOARD_Camera_I2C_Receive(</div><div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subAddressSize, uint8_t *rxBuff, uint8_t rxBuffSize);</div><div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div><div class="line"><a name="l00329"></a><span class="lineno"> 329</span> status_t BOARD_Camera_I2C_SendSCCB(</div><div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subAddressSize, <span class="keyword">const</span> uint8_t *txBuff, uint8_t txBuffSize);</div><div class="line"><a name="l00331"></a><span class="lineno"> 331</span> status_t BOARD_Camera_I2C_ReceiveSCCB(</div><div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subAddressSize, uint8_t *rxBuff, uint8_t rxBuffSize);</div><div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div><div class="line"><a name="l00334"></a><span class="lineno"> 334</span> <span class="keywordtype">void</span> BOARD_MIPIPanelTouch_I2C_Init(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00335"></a><span class="lineno"> 335</span> status_t BOARD_MIPIPanelTouch_I2C_Send(</div><div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subAddressSize, <span class="keyword">const</span> uint8_t *txBuff, uint8_t txBuffSize);</div><div class="line"><a name="l00337"></a><span class="lineno"> 337</span> status_t BOARD_MIPIPanelTouch_I2C_Receive(</div><div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  uint8_t deviceAddress, uint32_t subAddress, uint8_t subAddressSize, uint8_t *rxBuff, uint8_t rxBuffSize);</div><div class="line"><a name="l00339"></a><span class="lineno"> 339</span> <span class="preprocessor">#endif </span><span class="comment">/* SDK_I2C_BASED_COMPONENT_USED */</span><span class="preprocessor"></span></div><div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div><div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="keywordtype">void</span> <a class="code" href="a04205.html#a1ca0d94fd07f315956d62aa99285b9c9">BOARD_SD_Pin_Config</a>(uint32_t speed, uint32_t strength);</div><div class="line"><a name="l00342"></a><span class="lineno"> 342</span> <span class="keywordtype">void</span> <a class="code" href="a04205.html#ab901757d66f88616871354ecd03250f1">BOARD_MMC_Pin_Config</a>(uint32_t speed, uint32_t strength);</div><div class="line"><a name="l00343"></a><span class="lineno"> 343</span> </div><div class="line"><a name="l00344"></a><span class="lineno"> 344</span> <span class="preprocessor">#if defined(__cplusplus)</span></div><div class="line"><a name="l00345"></a><span class="lineno"> 345</span> }</div><div class="line"><a name="l00346"></a><span class="lineno"> 346</span> <span class="preprocessor">#endif </span><span class="comment">/* __cplusplus */</span><span class="preprocessor"></span></div><div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div><div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="preprocessor">#endif </span><span class="comment">/* _BOARD_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="a04196_html_a921b59b97132dd599e078cf5f24be833"><div class="ttname"><a href="a04196.html#a921b59b97132dd599e078cf5f24be833">BOARD_DebugConsoleSrcFreq</a></div><div class="ttdeci">uint32_t BOARD_DebugConsoleSrcFreq(void)</div><div class="ttdef"><b>Definition:</b> <a href="a04139_source.html#l00025">board.c:25</a></div></div> 52<div class="ttc" id="a04166_html_a4c84ccb952cb083367d7040cf9de3db8"><div class="ttname"><a href="a04166.html#a4c84ccb952cb083367d7040cf9de3db8">BOARD_InitDebugConsole</a></div><div class="ttdeci">void BOARD_InitDebugConsole(void)</div><div class="ttdef"><b>Definition:</b> <a href="a04109_source.html#l00015">board.c:15</a></div></div> 53<div class="ttc" id="a04205_html_a1ca0d94fd07f315956d62aa99285b9c9"><div class="ttname"><a href="a04205.html#a1ca0d94fd07f315956d62aa99285b9c9">BOARD_SD_Pin_Config</a></div><div class="ttdeci">void BOARD_SD_Pin_Config(uint32_t speed, uint32_t strength)</div><div class="ttdef"><b>Definition:</b> <a href="a04148_source.html#l00051">board.c:51</a></div></div> 54<div class="ttc" id="a04334_html"><div class="ttname"><a href="a04334.html">clock_config.h</a></div></div> 55<div class="ttc" id="a04196_html_a95d305e837a32f1c6801f5fc55f65dcb"><div class="ttname"><a href="a04196.html#a95d305e837a32f1c6801f5fc55f65dcb">BOARD_ConfigMPU</a></div><div class="ttdeci">void BOARD_ConfigMPU(void)</div><div class="ttdef"><b>Definition:</b> <a href="a04139_source.html#l00052">board.c:52</a></div></div> 56<div class="ttc" id="a04205_html_ab901757d66f88616871354ecd03250f1"><div class="ttname"><a href="a04205.html#ab901757d66f88616871354ecd03250f1">BOARD_MMC_Pin_Config</a></div><div class="ttdeci">void BOARD_MMC_Pin_Config(uint32_t speed, uint32_t strength)</div><div class="ttdef"><b>Definition:</b> <a href="a04148_source.html#l00084">board.c:84</a></div></div> 57</div><!-- fragment --></div><!-- contents --> 58 59<hr class="footer"/><address class="footer"><small> 60© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 61</small></address> 62</body> 63</html> 64