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: GENERIC_DRIVER_GPIO Struct 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  <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><!-- top --> 42<div class="header"> 43 <div class="summary"> 44<a href="#pub-attribs">Data Fields</a> </div> 45 <div class="headertitle"> 46<div class="title">GENERIC_DRIVER_GPIO Struct Reference</div> </div> 47</div><!--header--> 48<div class="contents"> 49 50<p>Access structure of the GPIO Driver. 51 <a href="a03903.html#details">More...</a></p> 52 53<p><code>#include <<a class="el" href="a00482_source.html">Driver_GPIO.h</a>></code></p> 54<div class="dynheader"> 55Collaboration diagram for GENERIC_DRIVER_GPIO:</div> 56<div class="dyncontent"> 57<div class="center"><img src="a03901.png" border="0" usemap="#_g_e_n_e_r_i_c___d_r_i_v_e_r___g_p_i_o_coll__map" alt="Collaboration graph"/></div> 58</div> 59<table class="memberdecls"> 60<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a> 61Data Fields</h2></td></tr> 62<tr class="memitem:ac88162316bf5e56b692cf29d85bb306a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00482.html#a7495862c94a8312f1d27be97be4b9931">GENERIC_DRIVER_VERSION</a>(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03903.html#ac88162316bf5e56b692cf29d85bb306a">GetVersion</a> )(void)</td></tr> 63<tr class="separator:ac88162316bf5e56b692cf29d85bb306a"><td class="memSeparator" colspan="2"> </td></tr> 64<tr class="memitem:a0c1e5657ab29e57116a57c7b22f4c630"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03903.html#a0c1e5657ab29e57116a57c7b22f4c630">pin_init</a> )(<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId, <a class="el" href="a00482.html#a16a748419e746f966071ce8bba0d0b62">gpio_direction_t</a> dir, void *apPinConfig, <a class="el" href="a00482.html#a56bff9ec9179f75450e04d2261b1212f">gpio_isr_handler_t</a> aIsrHandler, void *apUserData)</td></tr> 65<tr class="separator:a0c1e5657ab29e57116a57c7b22f4c630"><td class="memSeparator" colspan="2"> </td></tr> 66<tr class="memitem:ac3e094122adb91dc940bc7c033b47baa"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03903.html#ac3e094122adb91dc940bc7c033b47baa">set_pin</a> )(<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId)</td></tr> 67<tr class="separator:ac3e094122adb91dc940bc7c033b47baa"><td class="memSeparator" colspan="2"> </td></tr> 68<tr class="memitem:aa59efe0989ad47737f368819d5dae141"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03903.html#aa59efe0989ad47737f368819d5dae141">clr_pin</a> )(<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId)</td></tr> 69<tr class="separator:aa59efe0989ad47737f368819d5dae141"><td class="memSeparator" colspan="2"> </td></tr> 70<tr class="memitem:a62607faa2025749cb36c8d7e379d45fc"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03903.html#a62607faa2025749cb36c8d7e379d45fc">toggle_pin</a> )(<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId)</td></tr> 71<tr class="separator:a62607faa2025749cb36c8d7e379d45fc"><td class="memSeparator" colspan="2"> </td></tr> 72<tr class="memitem:ace242e6647aeded811d0ad12032944d0"><td class="memItemLeft" align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03903.html#ace242e6647aeded811d0ad12032944d0">write_pin</a> )(<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId, uint8_t aValue)</td></tr> 73<tr class="separator:ace242e6647aeded811d0ad12032944d0"><td class="memSeparator" colspan="2"> </td></tr> 74<tr class="memitem:ae5b6fdc661c7ce3253a767b4ab06436d"><td class="memItemLeft" align="right" valign="top">uint32_t(* </td><td class="memItemRight" valign="bottom"><a class="el" href="a03903.html#ae5b6fdc661c7ce3253a767b4ab06436d">read_pin</a> )(<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId)</td></tr> 75<tr class="separator:ae5b6fdc661c7ce3253a767b4ab06436d"><td class="memSeparator" colspan="2"> </td></tr> 76</table> 77<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> 78<div class="textblock"><p>Access structure of the GPIO Driver. </p> 79 80<p class="definition">Definition at line <a class="el" href="a00482_source.html#l00038">38</a> of file <a class="el" href="a00482_source.html">Driver_GPIO.h</a>.</p> 81</div><h2 class="groupheader">Field Documentation</h2> 82<a id="aa59efe0989ad47737f368819d5dae141"></a> 83<h2 class="memtitle"><span class="permalink"><a href="#aa59efe0989ad47737f368819d5dae141">◆ </a></span>clr_pin</h2> 84 85<div class="memitem"> 86<div class="memproto"> 87 <table class="memname"> 88 <tr> 89 <td class="memname">void(* clr_pin) (<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId)</td> 90 </tr> 91 </table> 92</div><div class="memdoc"> 93<p>Pointer to clear the pin. </p> 94 95<p class="definition">Definition at line <a class="el" href="a00482_source.html#l00047">47</a> of file <a class="el" href="a00482_source.html">Driver_GPIO.h</a>.</p> 96 97<p class="reference">Referenced by <a class="el" href="a00542_source.html#l00596">ADS_InitSPI_DIFF_P()</a>, <a class="el" href="a00542_source.html#l00444">ADS_InitSPI_FXLS8471()</a>, <a class="el" href="a00542_source.html#l00521">ADS_InitSPI_FXLS8962()</a>, <a class="el" href="a00029_source.html#l00065">FXAS21002_SPI_Initialize()</a>, <a class="el" href="a00419_source.html#l00118">fxlc95000_enSensor()</a>, <a class="el" href="a00038_source.html#l00068">FXLC95000_SPI_Initialize()</a>, <a class="el" href="a00047_source.html#l00067">FXLS8471Q_SPI_Initialize()</a>, <a class="el" href="a00056_source.html#l00068">FXLS8962_SPI_Initialize()</a>, <a class="el" href="a00065_source.html#l00067">FXLS896x_SPI_Initialize()</a>, <a class="el" href="a00074_source.html#l00067">FXLS8974_SPI_Initialize()</a>, <a class="el" href="a00083_source.html#l00067">FXOS8700_SPI_Initialize()</a>, <a class="el" href="a00947_source.html#l00161">main()</a>, <a class="el" href="a00152_source.html#l00157">MMA9553_SPI_Initialize()</a>, <a class="el" href="a00401_source.html#l00144">process_host_command()</a>, and <a class="el" href="a00173_source.html#l00149">register_spi_control()</a>.</p> 98 99</div> 100</div> 101<a id="ac88162316bf5e56b692cf29d85bb306a"></a> 102<h2 class="memtitle"><span class="permalink"><a href="#ac88162316bf5e56b692cf29d85bb306a">◆ </a></span>GetVersion</h2> 103 104<div class="memitem"> 105<div class="memproto"> 106 <table class="memname"> 107 <tr> 108 <td class="memname"><a class="el" href="a00482.html#a7495862c94a8312f1d27be97be4b9931">GENERIC_DRIVER_VERSION</a>(* GetVersion) (void)</td> 109 </tr> 110 </table> 111</div><div class="memdoc"> 112<p>Pointer to get driver version. </p> 113 114<p class="definition">Definition at line <a class="el" href="a00482_source.html#l00040">40</a> of file <a class="el" href="a00482_source.html">Driver_GPIO.h</a>.</p> 115 116</div> 117</div> 118<a id="a0c1e5657ab29e57116a57c7b22f4c630"></a> 119<h2 class="memtitle"><span class="permalink"><a href="#a0c1e5657ab29e57116a57c7b22f4c630">◆ </a></span>pin_init</h2> 120 121<div class="memitem"> 122<div class="memproto"> 123 <table class="memname"> 124 <tr> 125 <td class="memname">void(* pin_init) (<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId, <a class="el" href="a00482.html#a16a748419e746f966071ce8bba0d0b62">gpio_direction_t</a> dir, void *apPinConfig, <a class="el" href="a00482.html#a56bff9ec9179f75450e04d2261b1212f">gpio_isr_handler_t</a> aIsrHandler, void *apUserData)</td> 126 </tr> 127 </table> 128</div><div class="memdoc"> 129<p>Pointer to Initialize gpio Interface. </p> 130 131<p class="definition">Definition at line <a class="el" href="a00482_source.html#l00041">41</a> of file <a class="el" href="a00482_source.html">Driver_GPIO.h</a>.</p> 132 133<p class="reference">Referenced by <a class="el" href="a00542_source.html#l00805">ADS_DetectShield()</a>, <a class="el" href="a00542_source.html#l00596">ADS_InitSPI_DIFF_P()</a>, <a class="el" href="a00542_source.html#l00444">ADS_InitSPI_FXLS8471()</a>, <a class="el" href="a00542_source.html#l00521">ADS_InitSPI_FXLS8962()</a>, <a class="el" href="a00029_source.html#l00065">FXAS21002_SPI_Initialize()</a>, <a class="el" href="a00038_source.html#l00068">FXLC95000_SPI_Initialize()</a>, <a class="el" href="a00803_source.html#l00114">FXLS8471Q_Init()</a>, <a class="el" href="a00047_source.html#l00067">FXLS8471Q_SPI_Initialize()</a>, <a class="el" href="a00056_source.html#l00068">FXLS8962_SPI_Initialize()</a>, <a class="el" href="a00065_source.html#l00067">FXLS896x_SPI_Initialize()</a>, <a class="el" href="a00074_source.html#l00067">FXLS8974_SPI_Initialize()</a>, <a class="el" href="a00083_source.html#l00067">FXOS8700_SPI_Initialize()</a>, <a class="el" href="a00929_source.html#l00103">main()</a>, and <a class="el" href="a00152_source.html#l00157">MMA9553_SPI_Initialize()</a>.</p> 134 135</div> 136</div> 137<a id="ae5b6fdc661c7ce3253a767b4ab06436d"></a> 138<h2 class="memtitle"><span class="permalink"><a href="#ae5b6fdc661c7ce3253a767b4ab06436d">◆ </a></span>read_pin</h2> 139 140<div class="memitem"> 141<div class="memproto"> 142 <table class="memname"> 143 <tr> 144 <td class="memname">uint32_t(* read_pin) (<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId)</td> 145 </tr> 146 </table> 147</div><div class="memdoc"> 148<p>< read the pin value. </p> 149 150<p class="definition">Definition at line <a class="el" href="a00482_source.html#l00050">50</a> of file <a class="el" href="a00482_source.html">Driver_GPIO.h</a>.</p> 151 152<p class="reference">Referenced by <a class="el" href="a00452_source.html#l00204">main()</a>.</p> 153 154</div> 155</div> 156<a id="ac3e094122adb91dc940bc7c033b47baa"></a> 157<h2 class="memtitle"><span class="permalink"><a href="#ac3e094122adb91dc940bc7c033b47baa">◆ </a></span>set_pin</h2> 158 159<div class="memitem"> 160<div class="memproto"> 161 <table class="memname"> 162 <tr> 163 <td class="memname">void(* set_pin) (<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId)</td> 164 </tr> 165 </table> 166</div><div class="memdoc"> 167<p>Pointer to set the pin. </p> 168 169<p class="definition">Definition at line <a class="el" href="a00482_source.html#l00046">46</a> of file <a class="el" href="a00482_source.html">Driver_GPIO.h</a>.</p> 170 171<p class="reference">Referenced by <a class="el" href="a00542_source.html#l00805">ADS_DetectShield()</a>, <a class="el" href="a00542_source.html#l00596">ADS_InitSPI_DIFF_P()</a>, <a class="el" href="a00542_source.html#l00444">ADS_InitSPI_FXLS8471()</a>, <a class="el" href="a00542_source.html#l00521">ADS_InitSPI_FXLS8962()</a>, <a class="el" href="a00029_source.html#l00065">FXAS21002_SPI_Initialize()</a>, <a class="el" href="a00419_source.html#l00118">fxlc95000_enSensor()</a>, <a class="el" href="a00038_source.html#l00068">FXLC95000_SPI_Initialize()</a>, <a class="el" href="a00047_source.html#l00067">FXLS8471Q_SPI_Initialize()</a>, <a class="el" href="a00056_source.html#l00068">FXLS8962_SPI_Initialize()</a>, <a class="el" href="a00065_source.html#l00067">FXLS896x_SPI_Initialize()</a>, <a class="el" href="a00074_source.html#l00067">FXLS8974_SPI_Initialize()</a>, <a class="el" href="a00083_source.html#l00067">FXOS8700_SPI_Initialize()</a>, <a class="el" href="a00929_source.html#l00103">main()</a>, <a class="el" href="a00152_source.html#l00157">MMA9553_SPI_Initialize()</a>, <a class="el" href="a00419_source.html#l00154">process_host_command()</a>, and <a class="el" href="a00173_source.html#l00149">register_spi_control()</a>.</p> 172 173</div> 174</div> 175<a id="a62607faa2025749cb36c8d7e379d45fc"></a> 176<h2 class="memtitle"><span class="permalink"><a href="#a62607faa2025749cb36c8d7e379d45fc">◆ </a></span>toggle_pin</h2> 177 178<div class="memitem"> 179<div class="memproto"> 180 <table class="memname"> 181 <tr> 182 <td class="memname">void(* toggle_pin) (<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId)</td> 183 </tr> 184 </table> 185</div><div class="memdoc"> 186<p>Pointer to toggle the pin. </p> 187 188<p class="definition">Definition at line <a class="el" href="a00482_source.html#l00048">48</a> of file <a class="el" href="a00482_source.html">Driver_GPIO.h</a>.</p> 189 190<p class="reference">Referenced by <a class="el" href="a00929_source.html#l00103">main()</a>, and <a class="el" href="a00419_source.html#l00154">process_host_command()</a>.</p> 191 192</div> 193</div> 194<a id="ace242e6647aeded811d0ad12032944d0"></a> 195<h2 class="memtitle"><span class="permalink"><a href="#ace242e6647aeded811d0ad12032944d0">◆ </a></span>write_pin</h2> 196 197<div class="memitem"> 198<div class="memproto"> 199 <table class="memname"> 200 <tr> 201 <td class="memname">void(* write_pin) (<a class="el" href="a00482.html#a127c358e754822722634da3e2cd2388c">pinID_t</a> aPinId, uint8_t aValue)</td> 202 </tr> 203 </table> 204</div><div class="memdoc"> 205<p>< read the pin value. </p> 206 207<p class="definition">Definition at line <a class="el" href="a00482_source.html#l00049">49</a> of file <a class="el" href="a00482_source.html">Driver_GPIO.h</a>.</p> 208 209</div> 210</div> 211<hr/>The documentation for this struct was generated from the following file:<ul> 212<li>drivers/gpio/<a class="el" href="a00482_source.html">Driver_GPIO.h</a></li> 213</ul> 214</div><!-- contents --> 215 216<hr class="footer"/><address class="footer"><small> 217© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 218</small></address> 219</body> 220</html> 221