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: drivers/gpio/qn/gpio_driver.h File Reference</title> 9<link href="tabs.css" rel="stylesheet" type="text/css"/> 10<script type="text/javascript" src="jquery.js"></script> 11<script type="text/javascript" src="dynsections.js"></script> 12<link href="issdk_stylesheet.css" rel="stylesheet" type="text/css" /> 13</head> 14<body> 15<div id="top"><!-- do not remove this div, it is closed by doxygen! --> 16<div id="titlearea"> 17<table cellspacing="0" cellpadding="0"> 18 <tbody> 19 <tr style="height: 56px;"> 20 <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td> 21 <td id="projectalign" style="padding-left: 0.5em;"> 22 <div id="projectname">ISSDK 23  <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_14bc92f4b96c8519b376567118ac28b3.html">drivers</a></li><li class="navelem"><a class="el" href="dir_999ea29f6fe13f1ec5dc080b8071f0d8.html">gpio</a></li><li class="navelem"><a class="el" href="dir_39f4cee135afd1726b397b5722054908.html">qn</a></li> </ul> 44</div> 45</div><!-- top --> 46<div class="header"> 47 <div class="summary"> 48<a href="#nested-classes">Data Structures</a> | 49<a href="#define-members">Macros</a> | 50<a href="#typedef-members">Typedefs</a> | 51<a href="#enum-members">Enumerations</a> | 52<a href="#var-members">Variables</a> </div> 53 <div class="headertitle"> 54<div class="title">gpio_driver.h File Reference</div> </div> 55</div><!--header--> 56<div class="contents"> 57<div class="textblock"><code>#include "Driver_Common.h"</code><br /> 58<code>#include "<a class="el" href="a00482_source.html">Driver_GPIO.h</a>"</code><br /> 59<code>#include "fsl_common.h"</code><br /> 60<code>#include "fsl_iocon.h"</code><br /> 61<code>#include "fsl_gpio.h"</code><br /> 62</div><div class="textblock"><div class="dynheader"> 63Include dependency graph for gpio_driver.h:</div> 64<div class="dyncontent"> 65<div class="center"><img src="a04881.png" border="0" usemap="#drivers_2gpio_2qn_2gpio__driver_8h" alt=""/></div> 66<map name="drivers_2gpio_2qn_2gpio__driver_8h" id="drivers_2gpio_2qn_2gpio__driver_8h"> 67<area shape="rect" id="node3" href="a00482.html" title="The Driver_GPIO.h file contains the definitions for GPIO Driver direction. " alt="" coords="61,95,165,121"/> 68</map> 69</div> 70</div> 71<p><a href="a04880_source.html">Go to the source code of this file.</a></p> 72<table class="memberdecls"> 73<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a> 74Data Structures</h2></td></tr> 75<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a03919.html">gpioConfigKSDK</a></td></tr> 76<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The GPIO Configuration KSDK. <a href="a03919.html#details">More...</a><br /></td></tr> 77<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> 78<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a03923.html">gpioHandleKSDK</a></td></tr> 79<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The GPIO pin handle for KSDK. <a href="a03923.html#details">More...</a><br /></td></tr> 80<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> 81<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="a03915.html">gpioIsrObj</a></td></tr> 82<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">The gpio isr object. <a href="a03915.html#details">More...</a><br /></td></tr> 83<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> 84</table><table class="memberdecls"> 85<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a> 86Macros</h2></td></tr> 87<tr class="memitem:a49510692a7680e766a9d002d15a25461"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#a49510692a7680e766a9d002d15a25461">MAKE_GPIO_HANDLE</a>(PortName, Base, PinNumber, Irq, ClockName, PortNumber)</td></tr> 88<tr class="memdesc:a49510692a7680e766a9d002d15a25461"><td class="mdescLeft"> </td><td class="mdescRight">Macro to create a Gpio handle. <a href="#a49510692a7680e766a9d002d15a25461">More...</a><br /></td></tr> 89<tr class="separator:a49510692a7680e766a9d002d15a25461"><td class="memSeparator" colspan="2"> </td></tr> 90<tr class="memitem:af5be0ed2d4b4ca4220e5095a2cc5a505"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#af5be0ed2d4b4ca4220e5095a2cc5a505">GPIO_PIN_ID</a>(PortName, PinNumber)   &(PortName##PinNumber)</td></tr> 91<tr class="separator:af5be0ed2d4b4ca4220e5095a2cc5a505"><td class="memSeparator" colspan="2"> </td></tr> 92</table><table class="memberdecls"> 93<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a> 94Typedefs</h2></td></tr> 95<tr class="memitem:a99ae455326e5aab598f6f2130150a1b1"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21">port_number</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#a99ae455326e5aab598f6f2130150a1b1">port_number_t</a></td></tr> 96<tr class="memdesc:a99ae455326e5aab598f6f2130150a1b1"><td class="mdescLeft"> </td><td class="mdescRight">GPIO PORT NAMES. <a href="#a99ae455326e5aab598f6f2130150a1b1">More...</a><br /></td></tr> 97<tr class="separator:a99ae455326e5aab598f6f2130150a1b1"><td class="memSeparator" colspan="2"> </td></tr> 98<tr class="memitem:a5891b4581524de4ac401b4319cf2c56e"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="a04880.html#a13d24cc6d1df0b509cea582f67b0932d">_gpio_interrupt</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#a5891b4581524de4ac401b4319cf2c56e">gpio_interrupt_t</a></td></tr> 99<tr class="separator:a5891b4581524de4ac401b4319cf2c56e"><td class="memSeparator" colspan="2"> </td></tr> 100<tr class="memitem:aff5e61b222d2482f93ba7bd7afceedba"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a03919.html">gpioConfigKSDK</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#aff5e61b222d2482f93ba7bd7afceedba">gpioConfigKSDK_t</a></td></tr> 101<tr class="memdesc:aff5e61b222d2482f93ba7bd7afceedba"><td class="mdescLeft"> </td><td class="mdescRight">The GPIO Configuration KSDK. <a href="#aff5e61b222d2482f93ba7bd7afceedba">More...</a><br /></td></tr> 102<tr class="separator:aff5e61b222d2482f93ba7bd7afceedba"><td class="memSeparator" colspan="2"> </td></tr> 103<tr class="memitem:a6104ecccfd91b141644c785f91cc6515"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a03923.html">gpioHandleKSDK</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#a6104ecccfd91b141644c785f91cc6515">gpioHandleKSDK_t</a></td></tr> 104<tr class="memdesc:a6104ecccfd91b141644c785f91cc6515"><td class="mdescLeft"> </td><td class="mdescRight">The GPIO pin handle for KSDK. <a href="#a6104ecccfd91b141644c785f91cc6515">More...</a><br /></td></tr> 105<tr class="separator:a6104ecccfd91b141644c785f91cc6515"><td class="memSeparator" colspan="2"> </td></tr> 106<tr class="memitem:af47127ecfa44411f43900fe356a172bc"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="a03915.html">gpioIsrObj</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#af47127ecfa44411f43900fe356a172bc">gpioIsrObj_t</a></td></tr> 107<tr class="memdesc:af47127ecfa44411f43900fe356a172bc"><td class="mdescLeft"> </td><td class="mdescRight">The gpio isr object. <a href="#af47127ecfa44411f43900fe356a172bc">More...</a><br /></td></tr> 108<tr class="separator:af47127ecfa44411f43900fe356a172bc"><td class="memSeparator" colspan="2"> </td></tr> 109</table><table class="memberdecls"> 110<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a> 111Enumerations</h2></td></tr> 112<tr class="memitem:a60ca43e29822e24fc8281ec5d5125a21"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#a60ca43e29822e24fc8281ec5d5125a21">port_number</a> { <br /> 113  <a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21af6af69a09328ecf2f0a7ae545ee0dc2d">GPIO1_NUM</a> = 0, 114<a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21a90daaaf2b7b2f80652a0bd7bb2806abf">GPIO2_NUM</a> = 1, 115<a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21a2f53b6bb634aa42b545d958df1423d44">GPIO3_NUM</a> = 2, 116<a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21a38601da0fe08bdbb9168418230eb0f96">GPIO4_NUM</a> = 3, 117<br /> 118  <a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21ac29ef6e4e821f1fb8f0aac16d7fc519f">GPIO5_NUM</a> = 4, 119<a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c">TOTAL_NUMBER_PORT</a>, 120<a class="el" href="a04865.html#a60ca43e29822e24fc8281ec5d5125a21af6af69a09328ecf2f0a7ae545ee0dc2d">GPIO1_NUM</a> = 1, 121<a class="el" href="a04865.html#a60ca43e29822e24fc8281ec5d5125a21a90daaaf2b7b2f80652a0bd7bb2806abf">GPIO2_NUM</a> = 2, 122<br /> 123  <a class="el" href="a04865.html#a60ca43e29822e24fc8281ec5d5125a21a2f53b6bb634aa42b545d958df1423d44">GPIO3_NUM</a> = 3, 124<a class="el" href="a04865.html#a60ca43e29822e24fc8281ec5d5125a21a38601da0fe08bdbb9168418230eb0f96">GPIO4_NUM</a> = 4, 125<a class="el" href="a04865.html#a60ca43e29822e24fc8281ec5d5125a21ac29ef6e4e821f1fb8f0aac16d7fc519f">GPIO5_NUM</a> = 5, 126<a class="el" href="a04865.html#a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c">TOTAL_NUMBER_PORT</a>, 127<br /> 128  <a class="el" href="a04868.html#a60ca43e29822e24fc8281ec5d5125a21af6af69a09328ecf2f0a7ae545ee0dc2d">GPIO1_NUM</a> = 0, 129<a class="el" href="a04868.html#a60ca43e29822e24fc8281ec5d5125a21a90daaaf2b7b2f80652a0bd7bb2806abf">GPIO2_NUM</a> = 1, 130<a class="el" href="a04868.html#a60ca43e29822e24fc8281ec5d5125a21a2f53b6bb634aa42b545d958df1423d44">GPIO3_NUM</a> = 2, 131<a class="el" href="a04868.html#a60ca43e29822e24fc8281ec5d5125a21a38601da0fe08bdbb9168418230eb0f96">GPIO4_NUM</a> = 3, 132<br /> 133  <a class="el" href="a04868.html#a60ca43e29822e24fc8281ec5d5125a21ac29ef6e4e821f1fb8f0aac16d7fc519f">GPIO5_NUM</a> = 4, 134<a class="el" href="a04868.html#a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c">TOTAL_NUMBER_PORT</a>, 135<a class="el" href="a04871.html#a60ca43e29822e24fc8281ec5d5125a21a21f829092505f668117b7b68a48f72e4">PORTA_NUM</a> = 0, 136<a class="el" href="a04871.html#a60ca43e29822e24fc8281ec5d5125a21a1ace32c0c630130cd5c0b417137340cd">PORTB_NUM</a> = 1, 137<br /> 138  <a class="el" href="a04871.html#a60ca43e29822e24fc8281ec5d5125a21aaec8d2062f347f08571deab3c5a41700">PORTC_NUM</a> = 2, 139<a class="el" href="a04871.html#a60ca43e29822e24fc8281ec5d5125a21afe0e97e89e3e4838451342d1eced7311">PORTD_NUM</a> = 3, 140<a class="el" href="a04871.html#a60ca43e29822e24fc8281ec5d5125a21a0d7df869e9d97b0fb17d8959a06d71b3">PORTE_NUM</a> = 4, 141<a class="el" href="a04871.html#a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c">TOTAL_NUMBER_PORT</a>, 142<br /> 143  <a class="el" href="a04874.html#a60ca43e29822e24fc8281ec5d5125a21a21f829092505f668117b7b68a48f72e4">PORTA_NUM</a> = 0, 144<a class="el" href="a04874.html#a60ca43e29822e24fc8281ec5d5125a21a1ace32c0c630130cd5c0b417137340cd">PORTB_NUM</a> = 1, 145<a class="el" href="a04874.html#a60ca43e29822e24fc8281ec5d5125a21aaec8d2062f347f08571deab3c5a41700">PORTC_NUM</a> = 2, 146<a class="el" href="a04874.html#a60ca43e29822e24fc8281ec5d5125a21afe0e97e89e3e4838451342d1eced7311">PORTD_NUM</a> = 3, 147<br /> 148  <a class="el" href="a04874.html#a60ca43e29822e24fc8281ec5d5125a21a0d7df869e9d97b0fb17d8959a06d71b3">PORTE_NUM</a> = 4, 149<a class="el" href="a04874.html#a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c">TOTAL_NUMBER_PORT</a>, 150<a class="el" href="a04880.html#a60ca43e29822e24fc8281ec5d5125a21a21f829092505f668117b7b68a48f72e4">PORTA_NUM</a> = 0, 151<a class="el" href="a04880.html#a60ca43e29822e24fc8281ec5d5125a21a1ace32c0c630130cd5c0b417137340cd">PORTB_NUM</a> = 1, 152<br /> 153  <a class="el" href="a04880.html#a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c">TOTAL_NUMBER_PORT</a> 154<br /> 155 }<tr class="memdesc:a60ca43e29822e24fc8281ec5d5125a21"><td class="mdescLeft"> </td><td class="mdescRight">GPIO PORT NAMES. <a href="a04880.html#a60ca43e29822e24fc8281ec5d5125a21">More...</a><br /></td></tr> 156</td></tr> 157<tr class="separator:a60ca43e29822e24fc8281ec5d5125a21"><td class="memSeparator" colspan="2"> </td></tr> 158<tr class="memitem:a13d24cc6d1df0b509cea582f67b0932d"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#a13d24cc6d1df0b509cea582f67b0932d">_gpio_interrupt</a> { <a class="el" href="a04880.html#a13d24cc6d1df0b509cea582f67b0932da3a2cb9aee4c11d5aef3228c42472f2e6">kGPIO_InterruptLogic_0</a> = 0x0U, 159<a class="el" href="a04880.html#a13d24cc6d1df0b509cea582f67b0932da678d36ac3abf6c403f28384989163875">kGPIO_InterruptLogic_1</a> = 0x1U, 160<a class="el" href="a04880.html#a13d24cc6d1df0b509cea582f67b0932da9037ab47c47cbb1b78769e551543d7ab">kGPIO_InterruptRisingEdge</a> = 0x2U, 161<a class="el" href="a04880.html#a13d24cc6d1df0b509cea582f67b0932dafd6a7ce8570cd3a48c665e0e2702f906">kGPIO_InterruptFallingEdge</a> = 0x3U 162 }</td></tr> 163<tr class="separator:a13d24cc6d1df0b509cea582f67b0932d"><td class="memSeparator" colspan="2"> </td></tr> 164</table><table class="memberdecls"> 165<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> 166Variables</h2></td></tr> 167<tr class="memitem:a2c39f234913855fad752a8f96f245b27"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a03903.html">GENERIC_DRIVER_GPIO</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="a04880.html#a2c39f234913855fad752a8f96f245b27">Driver_GPIO_KSDK</a></td></tr> 168<tr class="separator:a2c39f234913855fad752a8f96f245b27"><td class="memSeparator" colspan="2"> </td></tr> 169</table> 170<h2 class="groupheader">Macro Definition Documentation</h2> 171<a id="af5be0ed2d4b4ca4220e5095a2cc5a505"></a> 172<h2 class="memtitle"><span class="permalink"><a href="#af5be0ed2d4b4ca4220e5095a2cc5a505">◆ </a></span>GPIO_PIN_ID</h2> 173 174<div class="memitem"> 175<div class="memproto"> 176 <table class="memname"> 177 <tr> 178 <td class="memname">#define GPIO_PIN_ID</td> 179 <td>(</td> 180 <td class="paramtype"> </td> 181 <td class="paramname">PortName, </td> 182 </tr> 183 <tr> 184 <td class="paramkey"></td> 185 <td></td> 186 <td class="paramtype"> </td> 187 <td class="paramname">PinNumber </td> 188 </tr> 189 <tr> 190 <td></td> 191 <td>)</td> 192 <td></td><td>   &(PortName##PinNumber)</td> 193 </tr> 194 </table> 195</div><div class="memdoc"> 196 197<p class="definition">Definition at line <a class="el" href="a04880_source.html#l00084">84</a> of file <a class="el" href="a04880_source.html">gpio_driver.h</a>.</p> 198 199</div> 200</div> 201<a id="a49510692a7680e766a9d002d15a25461"></a> 202<h2 class="memtitle"><span class="permalink"><a href="#a49510692a7680e766a9d002d15a25461">◆ </a></span>MAKE_GPIO_HANDLE</h2> 203 204<div class="memitem"> 205<div class="memproto"> 206 <table class="memname"> 207 <tr> 208 <td class="memname">#define MAKE_GPIO_HANDLE</td> 209 <td>(</td> 210 <td class="paramtype"> </td> 211 <td class="paramname">PortName, </td> 212 </tr> 213 <tr> 214 <td class="paramkey"></td> 215 <td></td> 216 <td class="paramtype"> </td> 217 <td class="paramname">Base, </td> 218 </tr> 219 <tr> 220 <td class="paramkey"></td> 221 <td></td> 222 <td class="paramtype"> </td> 223 <td class="paramname">PinNumber, </td> 224 </tr> 225 <tr> 226 <td class="paramkey"></td> 227 <td></td> 228 <td class="paramtype"> </td> 229 <td class="paramname">Irq, </td> 230 </tr> 231 <tr> 232 <td class="paramkey"></td> 233 <td></td> 234 <td class="paramtype"> </td> 235 <td class="paramname">ClockName, </td> 236 </tr> 237 <tr> 238 <td class="paramkey"></td> 239 <td></td> 240 <td class="paramtype"> </td> 241 <td class="paramname">PortNumber </td> 242 </tr> 243 <tr> 244 <td></td> 245 <td>)</td> 246 <td></td><td></td> 247 </tr> 248 </table> 249</div><div class="memdoc"> 250<b>Value:</b><div class="fragment"><div class="line"><span class="keyword">static</span> <a class="code" href="a03923.html">gpioHandleKSDK_t</a> PortName##PinNumber = {.<a class="code" href="a03923.html#a7809f27c779965fc1da0bf11663b8877">base</a> = Base, \</div><div class="line"> .pinNumber = PinNumber, \</div><div class="line"> .mask = 1 << (PinNumber), \</div><div class="line"> .irq = Irq, \</div><div class="line"> .clockName = ClockName, \</div><div class="line"> .portNumber = PortNumber};</div><div class="ttc" id="a03923_html"><div class="ttname"><a href="a03923.html">gpioHandleKSDK</a></div><div class="ttdoc">The GPIO pin handle for KSDK. </div><div class="ttdef"><b>Definition:</b> <a href="a04871_source.html#l00049">gpio_driver.h:49</a></div></div> 251<div class="ttc" id="a03923_html_a7809f27c779965fc1da0bf11663b8877"><div class="ttname"><a href="a03923.html#a7809f27c779965fc1da0bf11663b8877">gpioHandleKSDK::base</a></div><div class="ttdeci">GPIO_Type * base</div><div class="ttdef"><b>Definition:</b> <a href="a04871_source.html#l00051">gpio_driver.h:51</a></div></div> 252</div><!-- fragment --> 253<p>Macro to create a Gpio handle. </p> 254 255<p class="definition">Definition at line <a class="el" href="a04880_source.html#l00076">76</a> of file <a class="el" href="a04880_source.html">gpio_driver.h</a>.</p> 256 257</div> 258</div> 259<h2 class="groupheader">Typedef Documentation</h2> 260<a id="a5891b4581524de4ac401b4319cf2c56e"></a> 261<h2 class="memtitle"><span class="permalink"><a href="#a5891b4581524de4ac401b4319cf2c56e">◆ </a></span>gpio_interrupt_t</h2> 262 263<div class="memitem"> 264<div class="memproto"> 265 <table class="memname"> 266 <tr> 267 <td class="memname">typedef enum <a class="el" href="a04880.html#a13d24cc6d1df0b509cea582f67b0932d">_gpio_interrupt</a> <a class="el" href="a04880.html#a5891b4581524de4ac401b4319cf2c56e">gpio_interrupt_t</a></td> 268 </tr> 269 </table> 270</div><div class="memdoc"> 271 272</div> 273</div> 274<a id="aff5e61b222d2482f93ba7bd7afceedba"></a> 275<h2 class="memtitle"><span class="permalink"><a href="#aff5e61b222d2482f93ba7bd7afceedba">◆ </a></span>gpioConfigKSDK_t</h2> 276 277<div class="memitem"> 278<div class="memproto"> 279 <table class="memname"> 280 <tr> 281 <td class="memname">typedef struct <a class="el" href="a03919.html">gpioConfigKSDK</a> <a class="el" href="a04871.html#aff5e61b222d2482f93ba7bd7afceedba">gpioConfigKSDK_t</a></td> 282 </tr> 283 </table> 284</div><div class="memdoc"> 285 286<p>The GPIO Configuration KSDK. </p> 287 288</div> 289</div> 290<a id="a6104ecccfd91b141644c785f91cc6515"></a> 291<h2 class="memtitle"><span class="permalink"><a href="#a6104ecccfd91b141644c785f91cc6515">◆ </a></span>gpioHandleKSDK_t</h2> 292 293<div class="memitem"> 294<div class="memproto"> 295 <table class="memname"> 296 <tr> 297 <td class="memname">typedef struct <a class="el" href="a03923.html">gpioHandleKSDK</a> <a class="el" href="a04871.html#a6104ecccfd91b141644c785f91cc6515">gpioHandleKSDK_t</a></td> 298 </tr> 299 </table> 300</div><div class="memdoc"> 301 302<p>The GPIO pin handle for KSDK. </p> 303 304</div> 305</div> 306<a id="af47127ecfa44411f43900fe356a172bc"></a> 307<h2 class="memtitle"><span class="permalink"><a href="#af47127ecfa44411f43900fe356a172bc">◆ </a></span>gpioIsrObj_t</h2> 308 309<div class="memitem"> 310<div class="memproto"> 311 <table class="memname"> 312 <tr> 313 <td class="memname">typedef struct <a class="el" href="a03915.html">gpioIsrObj</a> <a class="el" href="a04862.html#af47127ecfa44411f43900fe356a172bc">gpioIsrObj_t</a></td> 314 </tr> 315 </table> 316</div><div class="memdoc"> 317 318<p>The gpio isr object. </p> 319 320</div> 321</div> 322<a id="a99ae455326e5aab598f6f2130150a1b1"></a> 323<h2 class="memtitle"><span class="permalink"><a href="#a99ae455326e5aab598f6f2130150a1b1">◆ </a></span>port_number_t</h2> 324 325<div class="memitem"> 326<div class="memproto"> 327 <table class="memname"> 328 <tr> 329 <td class="memname">typedef enum <a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21">port_number</a> <a class="el" href="a04862.html#a99ae455326e5aab598f6f2130150a1b1">port_number_t</a></td> 330 </tr> 331 </table> 332</div><div class="memdoc"> 333 334<p>GPIO PORT NAMES. </p> 335 336</div> 337</div> 338<h2 class="groupheader">Enumeration Type Documentation</h2> 339<a id="a13d24cc6d1df0b509cea582f67b0932d"></a> 340<h2 class="memtitle"><span class="permalink"><a href="#a13d24cc6d1df0b509cea582f67b0932d">◆ </a></span>_gpio_interrupt</h2> 341 342<div class="memitem"> 343<div class="memproto"> 344 <table class="memname"> 345 <tr> 346 <td class="memname">enum <a class="el" href="a04880.html#a13d24cc6d1df0b509cea582f67b0932d">_gpio_interrupt</a></td> 347 </tr> 348 </table> 349</div><div class="memdoc"> 350<table class="fieldtable"> 351<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a13d24cc6d1df0b509cea582f67b0932da3a2cb9aee4c11d5aef3228c42472f2e6"></a>kGPIO_InterruptLogic_0 </td><td class="fielddoc"><p>Interrupt on Logic 0 (Level Low). </p> 352</td></tr> 353<tr><td class="fieldname"><a id="a13d24cc6d1df0b509cea582f67b0932da678d36ac3abf6c403f28384989163875"></a>kGPIO_InterruptLogic_1 </td><td class="fielddoc"><p>Interrupt on Logic 1 (Level High). </p> 354</td></tr> 355<tr><td class="fieldname"><a id="a13d24cc6d1df0b509cea582f67b0932da9037ab47c47cbb1b78769e551543d7ab"></a>kGPIO_InterruptRisingEdge </td><td class="fielddoc"><p>Interrupt on Rising Edge. </p> 356</td></tr> 357<tr><td class="fieldname"><a id="a13d24cc6d1df0b509cea582f67b0932dafd6a7ce8570cd3a48c665e0e2702f906"></a>kGPIO_InterruptFallingEdge </td><td class="fielddoc"><p>Interrupt on Falling Edge. </p> 358</td></tr> 359</table> 360 361<p class="definition">Definition at line <a class="el" href="a04880_source.html#l00033">33</a> of file <a class="el" href="a04880_source.html">gpio_driver.h</a>.</p> 362 363</div> 364</div> 365<a id="a60ca43e29822e24fc8281ec5d5125a21"></a> 366<h2 class="memtitle"><span class="permalink"><a href="#a60ca43e29822e24fc8281ec5d5125a21">◆ </a></span>port_number</h2> 367 368<div class="memitem"> 369<div class="memproto"> 370 <table class="memname"> 371 <tr> 372 <td class="memname">enum <a class="el" href="a04862.html#a60ca43e29822e24fc8281ec5d5125a21">port_number</a></td> 373 </tr> 374 </table> 375</div><div class="memdoc"> 376 377<p>GPIO PORT NAMES. </p> 378<table class="fieldtable"> 379<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21af6af69a09328ecf2f0a7ae545ee0dc2d"></a>GPIO1_NUM </td><td class="fielddoc"></td></tr> 380<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a90daaaf2b7b2f80652a0bd7bb2806abf"></a>GPIO2_NUM </td><td class="fielddoc"></td></tr> 381<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a2f53b6bb634aa42b545d958df1423d44"></a>GPIO3_NUM </td><td class="fielddoc"></td></tr> 382<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a38601da0fe08bdbb9168418230eb0f96"></a>GPIO4_NUM </td><td class="fielddoc"></td></tr> 383<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ac29ef6e4e821f1fb8f0aac16d7fc519f"></a>GPIO5_NUM </td><td class="fielddoc"></td></tr> 384<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c"></a>TOTAL_NUMBER_PORT </td><td class="fielddoc"></td></tr> 385<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21af6af69a09328ecf2f0a7ae545ee0dc2d"></a>GPIO1_NUM </td><td class="fielddoc"></td></tr> 386<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a90daaaf2b7b2f80652a0bd7bb2806abf"></a>GPIO2_NUM </td><td class="fielddoc"></td></tr> 387<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a2f53b6bb634aa42b545d958df1423d44"></a>GPIO3_NUM </td><td class="fielddoc"></td></tr> 388<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a38601da0fe08bdbb9168418230eb0f96"></a>GPIO4_NUM </td><td class="fielddoc"></td></tr> 389<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ac29ef6e4e821f1fb8f0aac16d7fc519f"></a>GPIO5_NUM </td><td class="fielddoc"></td></tr> 390<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c"></a>TOTAL_NUMBER_PORT </td><td class="fielddoc"></td></tr> 391<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21af6af69a09328ecf2f0a7ae545ee0dc2d"></a>GPIO1_NUM </td><td class="fielddoc"></td></tr> 392<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a90daaaf2b7b2f80652a0bd7bb2806abf"></a>GPIO2_NUM </td><td class="fielddoc"></td></tr> 393<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a2f53b6bb634aa42b545d958df1423d44"></a>GPIO3_NUM </td><td class="fielddoc"></td></tr> 394<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a38601da0fe08bdbb9168418230eb0f96"></a>GPIO4_NUM </td><td class="fielddoc"></td></tr> 395<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ac29ef6e4e821f1fb8f0aac16d7fc519f"></a>GPIO5_NUM </td><td class="fielddoc"></td></tr> 396<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c"></a>TOTAL_NUMBER_PORT </td><td class="fielddoc"></td></tr> 397<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a21f829092505f668117b7b68a48f72e4"></a>PORTA_NUM </td><td class="fielddoc"></td></tr> 398<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a1ace32c0c630130cd5c0b417137340cd"></a>PORTB_NUM </td><td class="fielddoc"></td></tr> 399<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21aaec8d2062f347f08571deab3c5a41700"></a>PORTC_NUM </td><td class="fielddoc"></td></tr> 400<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21afe0e97e89e3e4838451342d1eced7311"></a>PORTD_NUM </td><td class="fielddoc"></td></tr> 401<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a0d7df869e9d97b0fb17d8959a06d71b3"></a>PORTE_NUM </td><td class="fielddoc"></td></tr> 402<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c"></a>TOTAL_NUMBER_PORT </td><td class="fielddoc"></td></tr> 403<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a21f829092505f668117b7b68a48f72e4"></a>PORTA_NUM </td><td class="fielddoc"></td></tr> 404<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a1ace32c0c630130cd5c0b417137340cd"></a>PORTB_NUM </td><td class="fielddoc"></td></tr> 405<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21aaec8d2062f347f08571deab3c5a41700"></a>PORTC_NUM </td><td class="fielddoc"></td></tr> 406<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21afe0e97e89e3e4838451342d1eced7311"></a>PORTD_NUM </td><td class="fielddoc"></td></tr> 407<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a0d7df869e9d97b0fb17d8959a06d71b3"></a>PORTE_NUM </td><td class="fielddoc"></td></tr> 408<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c"></a>TOTAL_NUMBER_PORT </td><td class="fielddoc"></td></tr> 409<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a21f829092505f668117b7b68a48f72e4"></a>PORTA_NUM </td><td class="fielddoc"></td></tr> 410<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21a1ace32c0c630130cd5c0b417137340cd"></a>PORTB_NUM </td><td class="fielddoc"></td></tr> 411<tr><td class="fieldname"><a id="a60ca43e29822e24fc8281ec5d5125a21ae28154a0052975bfe48342b622b77e1c"></a>TOTAL_NUMBER_PORT </td><td class="fielddoc"></td></tr> 412</table> 413 414<p class="definition">Definition at line <a class="el" href="a04880_source.html#l00026">26</a> of file <a class="el" href="a04880_source.html">gpio_driver.h</a>.</p> 415 416</div> 417</div> 418<h2 class="groupheader">Variable Documentation</h2> 419<a id="a2c39f234913855fad752a8f96f245b27"></a> 420<h2 class="memtitle"><span class="permalink"><a href="#a2c39f234913855fad752a8f96f245b27">◆ </a></span>Driver_GPIO_KSDK</h2> 421 422<div class="memitem"> 423<div class="memproto"> 424 <table class="memname"> 425 <tr> 426 <td class="memname"><a class="el" href="a03903.html">GENERIC_DRIVER_GPIO</a> Driver_GPIO_KSDK</td> 427 </tr> 428 </table> 429</div><div class="memdoc"> 430 431<p class="definition">Definition at line <a class="el" href="a04841_source.html#l00177">177</a> of file <a class="el" href="a04841_source.html">gpio_driver.c</a>.</p> 432 433<p class="reference">Referenced by <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> 434 435</div> 436</div> 437</div><!-- contents --> 438 439<hr class="footer"/><address class="footer"><small> 440© Copyright 2016-2022 NXP. All Rights Reserved. SPDX-License-Identifier: BSD-3-Clause 441</small></address> 442</body> 443</html> 444