2022-08-23 15:00:33 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta http-equiv = "Content-Type" content = "text/xhtml;charset=UTF-8" / >
< meta http-equiv = "X-UA-Compatible" content = "IE=9" / >
< meta name = "generator" content = "Doxygen 1.8.5" / >
2023-08-31 15:30:31 +00:00
< title > MCUXpresso SDK API Reference Manual: GPIO: General-Purpose Input/Output Driver< / title >
2022-08-23 15:00:33 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< script type = "text/javascript" >
$(document).ready(initResizable);
$(window).load(resizeHeight);
< / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "customdoxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "fs_logo.gif" / > < / td >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > MCUXpresso SDK API Reference Manual
2024-03-15 14:23:36 +00:00
  < span id = "projectnumber" > Rev 2.15.000< / span >
2022-08-23 15:00:33 +00:00
< / div >
< div id = "projectbrief" > NXP Semiconductors< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > API  Reference< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
$(document).ready(function(){initNavTree('a00042.html','');});
< / script >
< div id = "doc-content" >
<!-- window showing the filter options -->
< div id = "MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
< a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(0)" > < span class = "SelectionMark" >   < / span > All< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(1)" > < span class = "SelectionMark" >   < / span > Data Structures< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(2)" > < span class = "SelectionMark" >   < / span > Functions< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(3)" > < span class = "SelectionMark" >   < / span > Variables< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(4)" > < span class = "SelectionMark" >   < / span > Typedefs< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(5)" > < span class = "SelectionMark" >   < / span > Enumerations< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(6)" > < span class = "SelectionMark" >   < / span > Enumerator< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(7)" > < span class = "SelectionMark" >   < / span > Groups< / a > < a class = "SelectItem" href = "javascript:void(0)" onclick = "searchBox.OnSelectItem(8)" > < span class = "SelectionMark" >   < / span > Pages< / a > < / div >
<!-- iframe showing the search results (closed by default) -->
< div id = "MSearchResultsWindow" >
< iframe src = "javascript:void(0)" frameborder = "0"
name="MSearchResults" id="MSearchResults">
< / iframe >
< / div >
< div class = "header" >
< div class = "summary" >
< a href = "#nested-classes" > Data Structures< / a > |
2024-03-15 14:23:36 +00:00
< a href = "#typedef-members" > Typedefs< / a > |
2023-08-31 15:30:31 +00:00
< a href = "#enum-members" > Enumerations< / a > < / div >
2022-08-23 15:00:33 +00:00
< div class = "headertitle" >
2023-08-31 15:30:31 +00:00
< div class = "title" > GPIO: General-Purpose Input/Output Driver< / div > < / div >
2022-08-23 15:00:33 +00:00
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Overview< / h2 >
2023-08-31 15:30:31 +00:00
< p > The MCUXpresso SDK provides a peripheral driver for the General-Purpose Input/Output (GPIO) module of MCUXpresso SDK devices.< / p >
< h1 > < a class = "anchor" id = "GPIOTpyUC" > < / a >
Typical use case< / h1 >
< h2 > < a class = "anchor" id = "GPIOInOps" > < / a >
Input Operation< / h2 >
< p > Refer to the driver examples codes located at < SDK_ROOT> /boards/< BOARD> /driver_examples/gpio < / p >
2022-08-23 15:00:33 +00:00
< table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "nested-classes" > < / a >
Data Structures< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:a00406" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#a00406" > _gpio_pin_config< / a > < / td > < / tr >
< tr class = "memdesc:a00406" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPIO Init structure definition. < a href = "a00042.html#a00406" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00406" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "typedef-members" > < / a >
Typedefs< / h2 > < / td > < / tr >
< tr class = "memitem:gaf7d75755774a0f20385fbdda546f1f1d" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "a00042.html#ga0df4be96fa56f3bdd7bfa048fdaacd6b" > _gpio_pin_direction< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gaf7d75755774a0f20385fbdda546f1f1d" > gpio_pin_direction_t< / a > < / td > < / tr >
< tr class = "memdesc:gaf7d75755774a0f20385fbdda546f1f1d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPIO direction definition. < a href = "#gaf7d75755774a0f20385fbdda546f1f1d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf7d75755774a0f20385fbdda546f1f1d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga964d88636cc5631275c0da96d4a83b5d" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "a00042.html#gaf47c6be402417bd9d15316732e2e2ffe" > _gpio_interrupt_mode< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a > < / td > < / tr >
< tr class = "memdesc:ga964d88636cc5631275c0da96d4a83b5d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPIO interrupt mode definition. < a href = "#ga964d88636cc5631275c0da96d4a83b5d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga964d88636cc5631275c0da96d4a83b5d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9279df0a87f2432dc3c5d596028223b7" > < td class = "memItemLeft" align = "right" valign = "top" > typedef struct < a class = "el" href = "a00042.html#a00406" > _gpio_pin_config< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga9279df0a87f2432dc3c5d596028223b7" > gpio_pin_config_t< / a > < / td > < / tr >
< tr class = "memdesc:ga9279df0a87f2432dc3c5d596028223b7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPIO Init structure definition. < a href = "#ga9279df0a87f2432dc3c5d596028223b7" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9279df0a87f2432dc3c5d596028223b7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table > < table class = "memberdecls" >
2023-08-31 15:30:31 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "enum-members" > < / a >
Enumerations< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga0df4be96fa56f3bdd7bfa048fdaacd6b" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga0df4be96fa56f3bdd7bfa048fdaacd6b" > _gpio_pin_direction< / a > { < br / >
    < a class = "el" href = "a00042.html#gga0df4be96fa56f3bdd7bfa048fdaacd6babacf19933be1940ab40c83535e6a46d4" > kGPIO_DigitalInput< / a > = 0U,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00042.html#gga0df4be96fa56f3bdd7bfa048fdaacd6ba509ebcd228fc813cf4afcacd258680f9" > kGPIO_DigitalOutput< / a > = 1U
2023-08-31 15:30:31 +00:00
< br / >
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:ga0df4be96fa56f3bdd7bfa048fdaacd6b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPIO direction definition. < a href = "a00042.html#ga0df4be96fa56f3bdd7bfa048fdaacd6b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga0df4be96fa56f3bdd7bfa048fdaacd6b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf47c6be402417bd9d15316732e2e2ffe" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gaf47c6be402417bd9d15316732e2e2ffe" > _gpio_interrupt_mode< / a > { < br / >
    < a class = "el" href = "a00042.html#ggaf47c6be402417bd9d15316732e2e2ffea69d618dcf6fc01e5c8315ef1dd4aa66d" > kGPIO_NoIntmode< / a > = 0U,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00042.html#ggaf47c6be402417bd9d15316732e2e2ffeaf6c9ba431378e6290d7033b643e554da" > kGPIO_IntLowLevel< / a > = 1U,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00042.html#ggaf47c6be402417bd9d15316732e2e2ffeaa445f82a63c5aa94a1e53cdcf52b71d3" > kGPIO_IntHighLevel< / a > = 2U,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00042.html#ggaf47c6be402417bd9d15316732e2e2ffeab874f7d31c4bf2f964bf52466d5c40f4" > kGPIO_IntRisingEdge< / a > = 3U,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00042.html#ggaf47c6be402417bd9d15316732e2e2ffea369cc36a7fda0eb55c4f509070c2d887" > kGPIO_IntFallingEdge< / a > = 4U,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00042.html#ggaf47c6be402417bd9d15316732e2e2ffeac1d74f985cbebbe8441f6053b8074a50" > kGPIO_IntRisingOrFallingEdge< / a > = 5U
2023-08-31 15:30:31 +00:00
< br / >
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:gaf47c6be402417bd9d15316732e2e2ffe" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPIO interrupt mode definition. < a href = "a00042.html#gaf47c6be402417bd9d15316732e2e2ffe" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf47c6be402417bd9d15316732e2e2ffe" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2023-08-31 15:30:31 +00:00
Driver version< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga5aa5229cbd041b11bcf8417ba12896b2" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga5aa5229cbd041b11bcf8417ba12896b2" > FSL_GPIO_DRIVER_VERSION< / a >       (< a class = "el" href = "a00260.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 0, 6))< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga5aa5229cbd041b11bcf8417ba12896b2" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPIO driver version. < a href = "#ga5aa5229cbd041b11bcf8417ba12896b2" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5aa5229cbd041b11bcf8417ba12896b2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
GPIO Initialization and Configuration functions< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga8d3aa26ad7e88ef1427e51242a70c259" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga8d3aa26ad7e88ef1427e51242a70c259" > GPIO_PinInit< / a > (GPIO_Type *base, uint32_t pin, const < a class = "el" href = "a00042.html#ga9279df0a87f2432dc3c5d596028223b7" > gpio_pin_config_t< / a > *Config)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga8d3aa26ad7e88ef1427e51242a70c259" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initializes the GPIO peripheral according to the specified parameters in the initConfig. < a href = "#ga8d3aa26ad7e88ef1427e51242a70c259" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga8d3aa26ad7e88ef1427e51242a70c259" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
GPIO Reads and Write Functions< / h2 > < / td > < / tr >
< tr class = "memitem:ga41c1b70e3ee7825359e0891812c88e85" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga41c1b70e3ee7825359e0891812c88e85" > GPIO_PinWrite< / a > (GPIO_Type *base, uint32_t pin, uint8_t output)< / td > < / tr >
< tr class = "memdesc:ga41c1b70e3ee7825359e0891812c88e85" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the output level of the individual GPIO pin to logic 1 or 0. < a href = "#ga41c1b70e3ee7825359e0891812c88e85" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga41c1b70e3ee7825359e0891812c88e85" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5677a2c3b14f5e9f034edbbd5b429c1d" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga5677a2c3b14f5e9f034edbbd5b429c1d" > GPIO_WritePinOutput< / a > (GPIO_Type *base, uint32_t pin, uint8_t output)< / td > < / tr >
< tr class = "memdesc:ga5677a2c3b14f5e9f034edbbd5b429c1d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the output level of the individual GPIO pin to logic 1 or 0. < a href = "#ga5677a2c3b14f5e9f034edbbd5b429c1d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5677a2c3b14f5e9f034edbbd5b429c1d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2de9f41517bfde0920a5dea5db6e56d6" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga2de9f41517bfde0920a5dea5db6e56d6" > GPIO_PortSet< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga2de9f41517bfde0920a5dea5db6e56d6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the output level of the multiple GPIO pins to the logic 1. < a href = "#ga2de9f41517bfde0920a5dea5db6e56d6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2de9f41517bfde0920a5dea5db6e56d6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2f8a8be69355039abd8b1ddf2a236f4c" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga2f8a8be69355039abd8b1ddf2a236f4c" > GPIO_SetPinsOutput< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga2f8a8be69355039abd8b1ddf2a236f4c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the output level of the multiple GPIO pins to the logic 1. < a href = "#ga2f8a8be69355039abd8b1ddf2a236f4c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2f8a8be69355039abd8b1ddf2a236f4c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaff8a89d83ce5fdaea9db88317eece33c" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gaff8a89d83ce5fdaea9db88317eece33c" > GPIO_PortClear< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gaff8a89d83ce5fdaea9db88317eece33c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the output level of the multiple GPIO pins to the logic 0. < a href = "#gaff8a89d83ce5fdaea9db88317eece33c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaff8a89d83ce5fdaea9db88317eece33c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga3ac4a7dccb5285b2926f152c3ff12af9" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga3ac4a7dccb5285b2926f152c3ff12af9" > GPIO_ClearPinsOutput< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga3ac4a7dccb5285b2926f152c3ff12af9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the output level of the multiple GPIO pins to the logic 0. < a href = "#ga3ac4a7dccb5285b2926f152c3ff12af9" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga3ac4a7dccb5285b2926f152c3ff12af9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaedff8c598cb084323f2aa6c324c2c0cb" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gaedff8c598cb084323f2aa6c324c2c0cb" > GPIO_PortToggle< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gaedff8c598cb084323f2aa6c324c2c0cb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reverses the current output logic of the multiple GPIO pins. < a href = "#gaedff8c598cb084323f2aa6c324c2c0cb" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaedff8c598cb084323f2aa6c324c2c0cb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac999c0dd229595fe2b651e796da560be" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gac999c0dd229595fe2b651e796da560be" > GPIO_PinRead< / a > (GPIO_Type *base, uint32_t pin)< / td > < / tr >
< tr class = "memdesc:gac999c0dd229595fe2b651e796da560be" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads the current input value of the GPIO port. < a href = "#gac999c0dd229595fe2b651e796da560be" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gac999c0dd229595fe2b651e796da560be" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf8d77b6a1daf18087dbc6c0814b2ed97" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gaf8d77b6a1daf18087dbc6c0814b2ed97" > GPIO_ReadPinInput< / a > (GPIO_Type *base, uint32_t pin)< / td > < / tr >
< tr class = "memdesc:gaf8d77b6a1daf18087dbc6c0814b2ed97" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads the current input value of the GPIO port. < a href = "#gaf8d77b6a1daf18087dbc6c0814b2ed97" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf8d77b6a1daf18087dbc6c0814b2ed97" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
GPIO Reads Pad Status Functions< / h2 > < / td > < / tr >
< tr class = "memitem:ga1841e0c18fa0792e1fa1b5f812dcdbfa" > < td class = "memItemLeft" align = "right" valign = "top" > static uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga1841e0c18fa0792e1fa1b5f812dcdbfa" > GPIO_PinReadPadStatus< / a > (GPIO_Type *base, uint32_t pin)< / td > < / tr >
< tr class = "memdesc:ga1841e0c18fa0792e1fa1b5f812dcdbfa" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads the current GPIO pin pad status. < a href = "#ga1841e0c18fa0792e1fa1b5f812dcdbfa" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga1841e0c18fa0792e1fa1b5f812dcdbfa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga064aa69c0dbb70a4a7344124df9943b1" > < td class = "memItemLeft" align = "right" valign = "top" > static uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga064aa69c0dbb70a4a7344124df9943b1" > GPIO_ReadPadStatus< / a > (GPIO_Type *base, uint32_t pin)< / td > < / tr >
< tr class = "memdesc:ga064aa69c0dbb70a4a7344124df9943b1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads the current GPIO pin pad status. < a href = "#ga064aa69c0dbb70a4a7344124df9943b1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga064aa69c0dbb70a4a7344124df9943b1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
Interrupts and flags management functions< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:gac704735fb3cf3a56676f2fb90e67b10f" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gac704735fb3cf3a56676f2fb90e67b10f" > GPIO_PinSetInterruptConfig< / a > (GPIO_Type *base, uint32_t pin, < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a > pinInterruptMode)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gac704735fb3cf3a56676f2fb90e67b10f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the current pin interrupt mode. < a href = "#gac704735fb3cf3a56676f2fb90e67b10f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gac704735fb3cf3a56676f2fb90e67b10f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga364fe6d19b98557e44282f95ccc5e63d" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga364fe6d19b98557e44282f95ccc5e63d" > GPIO_SetPinInterruptConfig< / a > (GPIO_Type *base, uint32_t pin, < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a > pinInterruptMode)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga364fe6d19b98557e44282f95ccc5e63d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the current pin interrupt mode. < a href = "#ga364fe6d19b98557e44282f95ccc5e63d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga364fe6d19b98557e44282f95ccc5e63d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2a62aa9cd2aeacf2a81dc4d644f9b0b1" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga2a62aa9cd2aeacf2a81dc4d644f9b0b1" > GPIO_PortEnableInterrupts< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga2a62aa9cd2aeacf2a81dc4d644f9b0b1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables the specific pin interrupt. < a href = "#ga2a62aa9cd2aeacf2a81dc4d644f9b0b1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2a62aa9cd2aeacf2a81dc4d644f9b0b1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7c45f4ed2a5ec769e0e4cd2e32f62ad5" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga7c45f4ed2a5ec769e0e4cd2e32f62ad5" > GPIO_EnableInterrupts< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga7c45f4ed2a5ec769e0e4cd2e32f62ad5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables the specific pin interrupt. < a href = "#ga7c45f4ed2a5ec769e0e4cd2e32f62ad5" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga7c45f4ed2a5ec769e0e4cd2e32f62ad5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf9613d5714d047051b09f86592d9cdc4" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gaf9613d5714d047051b09f86592d9cdc4" > GPIO_PortDisableInterrupts< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gaf9613d5714d047051b09f86592d9cdc4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disables the specific pin interrupt. < a href = "#gaf9613d5714d047051b09f86592d9cdc4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf9613d5714d047051b09f86592d9cdc4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa1deaff6764df2649453fa5502ee0fcc" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gaa1deaff6764df2649453fa5502ee0fcc" > GPIO_DisableInterrupts< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gaa1deaff6764df2649453fa5502ee0fcc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disables the specific pin interrupt. < a href = "#gaa1deaff6764df2649453fa5502ee0fcc" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa1deaff6764df2649453fa5502ee0fcc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaee4bc796792470cf80e8f0aa6d8c0d32" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gaee4bc796792470cf80e8f0aa6d8c0d32" > GPIO_PortGetInterruptFlags< / a > (GPIO_Type *base)< / td > < / tr >
< tr class = "memdesc:gaee4bc796792470cf80e8f0aa6d8c0d32" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads individual pin interrupt status. < a href = "#gaee4bc796792470cf80e8f0aa6d8c0d32" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaee4bc796792470cf80e8f0aa6d8c0d32" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6efe712710a08ee6e9f89a47a507339f" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga6efe712710a08ee6e9f89a47a507339f" > GPIO_GetPinsInterruptFlags< / a > (GPIO_Type *base)< / td > < / tr >
< tr class = "memdesc:ga6efe712710a08ee6e9f89a47a507339f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads individual pin interrupt status. < a href = "#ga6efe712710a08ee6e9f89a47a507339f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga6efe712710a08ee6e9f89a47a507339f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gabc9cd5e2b520359406cf4b45c5761011" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#gabc9cd5e2b520359406cf4b45c5761011" > GPIO_PortClearInterruptFlags< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gabc9cd5e2b520359406cf4b45c5761011" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Clears pin interrupt flag. < a href = "#gabc9cd5e2b520359406cf4b45c5761011" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gabc9cd5e2b520359406cf4b45c5761011" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0b1ad50f4212dfb839fd059503f03bed" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ga0b1ad50f4212dfb839fd059503f03bed" > GPIO_ClearPinsInterruptFlags< / a > (GPIO_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga0b1ad50f4212dfb839fd059503f03bed" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Clears pin interrupt flag. < a href = "#ga0b1ad50f4212dfb839fd059503f03bed" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga0b1ad50f4212dfb839fd059503f03bed" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
2024-03-15 14:23:36 +00:00
< a name = "a00406" id = "a00406" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > struct _gpio_pin_config< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< div class = "textblock" > < / div > < table class = "memberdecls" >
2022-08-23 15:00:33 +00:00
< tr > < td colspan = "2" > < h3 > Data Fields< / h3 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ae2c31773fec33b396d84be5f45e01064" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00042.html#gaf7d75755774a0f20385fbdda546f1f1d" > gpio_pin_direction_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#ae2c31773fec33b396d84be5f45e01064" > direction< / a > < / td > < / tr >
< tr class = "memdesc:ae2c31773fec33b396d84be5f45e01064" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specifies the pin direction. < a href = "#ae2c31773fec33b396d84be5f45e01064" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ae2c31773fec33b396d84be5f45e01064" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a70ede6dc868ff6dd15987ba62c5d574b" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a70ede6dc868ff6dd15987ba62c5d574b" > < / a >
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#a70ede6dc868ff6dd15987ba62c5d574b" > outputLogic< / a > < / td > < / tr >
< tr class = "memdesc:a70ede6dc868ff6dd15987ba62c5d574b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set a default output logic, which has no use in input. < br / > < / td > < / tr >
< tr class = "separator:a70ede6dc868ff6dd15987ba62c5d574b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:acdfcc9d2e83559e63ce2fd7e97ceef7f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00042.html#acdfcc9d2e83559e63ce2fd7e97ceef7f" > interruptMode< / a > < / td > < / tr >
< tr class = "memdesc:acdfcc9d2e83559e63ce2fd7e97ceef7f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specifies the pin interrupt mode, a value of < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a > . < a href = "#acdfcc9d2e83559e63ce2fd7e97ceef7f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:acdfcc9d2e83559e63ce2fd7e97ceef7f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< h4 class = "groupheader" > Field Documentation< / h4 >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ae2c31773fec33b396d84be5f45e01064" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > < a class = "el" href = "a00042.html#gaf7d75755774a0f20385fbdda546f1f1d" > gpio_pin_direction_t< / a > _gpio_pin_config::direction< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "acdfcc9d2e83559e63ce2fd7e97ceef7f" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a > _gpio_pin_config::interruptMode< / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< / div >
< / div >
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a class = "anchor" id = "ga5aa5229cbd041b11bcf8417ba12896b2" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > #define FSL_GPIO_DRIVER_VERSION      (< a class = "el" href = "a00260.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 0, 6))< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< h2 class = "groupheader" > Typedef Documentation< / h2 >
< a class = "anchor" id = "gaf7d75755774a0f20385fbdda546f1f1d" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef enum < a class = "el" href = "a00042.html#ga0df4be96fa56f3bdd7bfa048fdaacd6b" > _gpio_pin_direction< / a > < a class = "el" href = "a00042.html#gaf7d75755774a0f20385fbdda546f1f1d" > gpio_pin_direction_t< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "ga964d88636cc5631275c0da96d4a83b5d" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef enum < a class = "el" href = "a00042.html#gaf47c6be402417bd9d15316732e2e2ffe" > _gpio_interrupt_mode< / a > < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "ga9279df0a87f2432dc3c5d596028223b7" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef struct < a class = "el" href = "a00042.html#a00406" > _gpio_pin_config< / a > < a class = "el" href = "a00042.html#ga9279df0a87f2432dc3c5d596028223b7" > gpio_pin_config_t< / a > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< h2 class = "groupheader" > Enumeration Type Documentation< / h2 >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga0df4be96fa56f3bdd7bfa048fdaacd6b" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > enum < a class = "el" href = "a00042.html#ga0df4be96fa56f3bdd7bfa048fdaacd6b" > _gpio_pin_direction< / a > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< table class = "fieldtable" >
2024-03-15 14:23:36 +00:00
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga0df4be96fa56f3bdd7bfa048fdaacd6babacf19933be1940ab40c83535e6a46d4" > < / a > kGPIO_DigitalInput< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set current pin as digital input. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga0df4be96fa56f3bdd7bfa048fdaacd6ba509ebcd228fc813cf4afcacd258680f9" > < / a > kGPIO_DigitalOutput< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set current pin as digital output. < / p >
< / td > < / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "gaf47c6be402417bd9d15316732e2e2ffe" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > enum < a class = "el" href = "a00042.html#gaf47c6be402417bd9d15316732e2e2ffe" > _gpio_interrupt_mode< / a > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< table class = "fieldtable" >
2024-03-15 14:23:36 +00:00
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf47c6be402417bd9d15316732e2e2ffea69d618dcf6fc01e5c8315ef1dd4aa66d" > < / a > kGPIO_NoIntmode< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set current pin general IO functionality. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf47c6be402417bd9d15316732e2e2ffeaf6c9ba431378e6290d7033b643e554da" > < / a > kGPIO_IntLowLevel< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set current pin interrupt is low-level sensitive. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf47c6be402417bd9d15316732e2e2ffeaa445f82a63c5aa94a1e53cdcf52b71d3" > < / a > kGPIO_IntHighLevel< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set current pin interrupt is high-level sensitive. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf47c6be402417bd9d15316732e2e2ffeab874f7d31c4bf2f964bf52466d5c40f4" > < / a > kGPIO_IntRisingEdge< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set current pin interrupt is rising-edge sensitive. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf47c6be402417bd9d15316732e2e2ffea369cc36a7fda0eb55c4f509070c2d887" > < / a > kGPIO_IntFallingEdge< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set current pin interrupt is falling-edge sensitive. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf47c6be402417bd9d15316732e2e2ffeac1d74f985cbebbe8441f6053b8074a50" > < / a > kGPIO_IntRisingOrFallingEdge< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Enable the edge select bit to override the ICR register's configuration. < / p >
< / td > < / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "ga8d3aa26ad7e88ef1427e51242a70c259" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > void GPIO_PinInit < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > const < a class = "el" href = "a00042.html#ga9279df0a87f2432dc3c5d596028223b7" > gpio_pin_config_t< / a > *  < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > Config< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > pin< / td > < td > Specifies the pin number < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > Config< / td > < td > pointer to a < a class = "el" href = "a00042.html#ga9279df0a87f2432dc3c5d596028223b7" > gpio_pin_config_t< / a > structure that contains the configuration information. < / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table >
< / dd >
< / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga41c1b70e3ee7825359e0891812c88e85" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > void GPIO_PinWrite < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > output< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > pin< / td > < td > GPIO port pin number. < / td > < / tr >
< tr > < td class = "paramname" > output< / td > < td > GPIOpin output logic level.< ul >
< li > 0: corresponding pin output low-logic level.< / li >
< li > 1: corresponding pin output high-logic level. < / li >
< / ul >
< / td > < / tr >
< / table >
< / dd >
< / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga5677a2c3b14f5e9f034edbbd5b429c1d" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-08-23 15:00:33 +00:00
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPIO_WritePinOutput < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > output< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
2023-08-31 15:30:31 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< dl class = "deprecated" > < dt > < b > < a class = "el" href = "a00297.html#_deprecated000004" > Deprecated:< / a > < / b > < / dt > < dd > Do not use this function. It has been superceded by < a class = "el" href = "a00042.html#ga41c1b70e3ee7825359e0891812c88e85" > GPIO_PinWrite< / a > . < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga2de9f41517bfde0920a5dea5db6e56d6" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-08-23 15:00:33 +00:00
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPIO_PortSet < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
2023-08-31 15:30:31 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO peripheral base pointer (GPIO1, GPIO2, GPIO3, and so on.) < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > GPIO pin number macro < / td > < / tr >
< / table >
< / dd >
< / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga2f8a8be69355039abd8b1ddf2a236f4c" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-08-23 15:00:33 +00:00
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPIO_SetPinsOutput < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
2023-08-31 15:30:31 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< dl class = "deprecated" > < dt > < b > < a class = "el" href = "a00297.html#_deprecated000005" > Deprecated:< / a > < / b > < / dt > < dd > Do not use this function. It has been superceded by < a class = "el" href = "a00042.html#ga2de9f41517bfde0920a5dea5db6e56d6" > GPIO_PortSet< / a > . < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gaff8a89d83ce5fdaea9db88317eece33c" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void GPIO_PortClear < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO peripheral base pointer (GPIO1, GPIO2, GPIO3, and so on.) < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > GPIO pin number macro < / td > < / tr >
< / table >
< / dd >
< / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga3ac4a7dccb5285b2926f152c3ff12af9" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-08-23 15:00:33 +00:00
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPIO_ClearPinsOutput < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "deprecated" > < dt > < b > < a class = "el" href = "a00297.html#_deprecated000006" > Deprecated:< / a > < / b > < / dt > < dd > Do not use this function. It has been superceded by < a class = "el" href = "a00042.html#gaff8a89d83ce5fdaea9db88317eece33c" > GPIO_PortClear< / a > . < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gaedff8c598cb084323f2aa6c324c2c0cb" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void GPIO_PortToggle < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
2023-08-31 15:30:31 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPIO peripheral base pointer (GPIO1, GPIO2, GPIO3, and so on.) < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > GPIO pin number macro < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gac999c0dd229595fe2b651e796da560be" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-08-23 15:00:33 +00:00
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static uint32_t GPIO_PinRead < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPIO_Type *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > pin< / td > < td > GPIO port pin number. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > GPIO< / td > < td > port input value. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "gaf8d77b6a1daf18087dbc6c0814b2ed97" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static uint32_t GPIO_ReadPinInput < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "deprecated" > < dt > < b > < a class = "el" href = "a00297.html#_deprecated000007" > Deprecated:< / a > < / b > < / dt > < dd > Do not use this function. It has been superceded by < a class = "el" href = "a00042.html#gac999c0dd229595fe2b651e796da560be" > GPIO_PinRead< / a > . < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga1841e0c18fa0792e1fa1b5f812dcdbfa" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static uint8_t GPIO_PinReadPadStatus < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > pin< / td > < td > GPIO port pin number. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > GPIO< / td > < td > pin pad status value. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga064aa69c0dbb70a4a7344124df9943b1" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static uint8_t GPIO_ReadPadStatus < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "deprecated" > < dt > < b > < a class = "el" href = "a00297.html#_deprecated000008" > Deprecated:< / a > < / b > < / dt > < dd > Do not use this function. It has been superceded by < a class = "el" href = "a00042.html#ga1841e0c18fa0792e1fa1b5f812dcdbfa" > GPIO_PinReadPadStatus< / a > . < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gac704735fb3cf3a56676f2fb90e67b10f" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void GPIO_PinSetInterruptConfig < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > pinInterruptMode< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > pin< / td > < td > GPIO port pin number. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > pinInterruptMode< / td > < td > pointer to a < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a > structure that contains the interrupt mode information. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga364fe6d19b98557e44282f95ccc5e63d" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-08-23 15:00:33 +00:00
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPIO_SetPinInterruptConfig < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPIO_Type *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pin< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00042.html#ga964d88636cc5631275c0da96d4a83b5d" > gpio_interrupt_mode_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > pinInterruptMode< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2023-08-31 15:30:31 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "deprecated" > < dt > < b > < a class = "el" href = "a00297.html#_deprecated000009" > Deprecated:< / a > < / b > < / dt > < dd > Do not use this function. It has been superceded by < a class = "el" href = "a00042.html#gac704735fb3cf3a56676f2fb90e67b10f" > GPIO_PinSetInterruptConfig< / a > . < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga2a62aa9cd2aeacf2a81dc4d644f9b0b1" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void GPIO_PortEnableInterrupts < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > GPIO pin number macro. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2023-08-31 15:30:31 +00:00
< / div >
< / div >
< a class = "anchor" id = "ga7c45f4ed2a5ec769e0e4cd2e32f62ad5" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void GPIO_EnableInterrupts < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > GPIO pin number macro. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gaf9613d5714d047051b09f86592d9cdc4" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-08-23 15:00:33 +00:00
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPIO_PortDisableInterrupts < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPIO_Type *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > GPIO pin number macro. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "gaa1deaff6764df2649453fa5502ee0fcc" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void GPIO_DisableInterrupts < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2023-08-31 15:30:31 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "deprecated" > < dt > < b > < a class = "el" href = "a00297.html#_deprecated000010" > Deprecated:< / a > < / b > < / dt > < dd > Do not use this function. It has been superceded by < a class = "el" href = "a00042.html#gaf9613d5714d047051b09f86592d9cdc4" > GPIO_PortDisableInterrupts< / a > . < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gaee4bc796792470cf80e8f0aa6d8c0d32" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static uint32_t GPIO_PortGetInterruptFlags < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
< tr > < td class = "paramname" > current< / td > < td > pin interrupt status flag. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga6efe712710a08ee6e9f89a47a507339f" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static uint32_t GPIO_GetPinsInterruptFlags < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< dl class = "retval" > < dt > Return values< / dt > < dd >
< table class = "retval" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > current< / td > < td > pin interrupt status flag. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gabc9cd5e2b520359406cf4b45c5761011" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-08-31 15:30:31 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-08-23 15:00:33 +00:00
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPIO_PortClearInterruptFlags < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPIO_Type *  < / td >
2022-08-23 15:00:33 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2023-08-31 15:30:31 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< p > Status flags are cleared by writing a 1 to the corresponding bit position.< / p >
2022-08-23 15:00:33 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > GPIO pin number macro. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2023-08-31 15:30:31 +00:00
< / div >
< / div >
< a class = "anchor" id = "ga0b1ad50f4212dfb839fd059503f03bed" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void GPIO_ClearPinsInterruptFlags < / td >
< td > (< / td >
< td class = "paramtype" > GPIO_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > Status flags are cleared by writing a 1 to the corresponding bit position.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > GPIO base pointer. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > GPIO pin number macro. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
< / div > <!-- contents -->
< / div > <!-- doc - content -->
<!-- HTML footer for doxygen 1.8.5 -->
<!-- start footer part -->
< div id = "nav-path" class = "navpath" > <!-- id is needed for treeview function! -->
< ul class = "foot" >
< li class = "footer" > © 2016 NXP Semiconductors. All rights reserved.
< / li >
< / ul >
< / div >
< / body >
< / html >