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: GPT: General Purpose Timer< / 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('a00043.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 > |
2022-08-23 15:00:33 +00:00
< a href = "#enum-members" > Enumerations< / a > < / div >
< div class = "headertitle" >
2023-08-31 15:30:31 +00:00
< div class = "title" > GPT: General Purpose Timer< / 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 driver for the General Purpose Timer (GPT) of MCUXpresso SDK devices.< / p >
< h1 > < a class = "anchor" id = "GPTFunc" > < / a >
Function groups< / h1 >
< p > The gpt driver supports the generation of PWM signals, input capture, and setting up the timer match conditions.< / p >
< h2 > < a class = "anchor" id = "GPTInit" > < / a >
Initialization and deinitialization< / h2 >
< p > The function < a class = "el" href = "a00043.html#ga6aeb20e99444bdaf31dd9c39c108e79f" title = "Initialize GPT to reset state and initialize running mode. " > GPT_Init()< / a > initializes the gpt with specified configurations. The function < a class = "el" href = "a00043.html#ga0f60fd16354f3fcf7bd02f1ccbee80e4" title = "Fills in the GPT configuration structure with default settings. " > GPT_GetDefaultConfig()< / a > gets the default configurations. The initialization function configures the restart/free-run mode and input selection when running.< / p >
< p > The function < a class = "el" href = "a00043.html#ga90be090ee63035f2a2b014adcfd8c60b" title = "Disables the module and gates the GPT clock. " > GPT_Deinit()< / a > stops the timer and turns off the module clock.< / p >
< h1 > < a class = "anchor" id = "GptCase" > < / a >
Typical use case< / h1 >
< h2 > < a class = "anchor" id = "GPTInterruptExample" > < / a >
GPT interrupt example< / h2 >
< p > Set up a channel to trigger a periodic interrupt after every 1 second. Refer to the driver examples codes located at < SDK_ROOT> /boards/< BOARD> /driver_examples/gpt < / 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:a00407" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#a00407" > _gpt_init_config< / a > < / td > < / tr >
< tr class = "memdesc:a00407" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Structure to configure the running mode. < a href = "a00043.html#a00407" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00407" > < 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:gade005818dac45be4f1b60c7f6a885a45" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "a00043.html#ga9d37084bd118c69a868c9b8ae4b10dd6" > _gpt_clock_source< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a > < / td > < / tr >
< tr class = "memdesc:gade005818dac45be4f1b60c7f6a885a45" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of clock sources. < a href = "#gade005818dac45be4f1b60c7f6a885a45" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gade005818dac45be4f1b60c7f6a885a45" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga27f2b79b97a99551aeb5e5bb49728b0e" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < br class = "typebreak" / >
< a class = "el" href = "a00043.html#ga9a79e3be7e4ce3a8fba58d1b009652bb" > _gpt_input_capture_channel< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a > < / td > < / tr >
< tr class = "memdesc:ga27f2b79b97a99551aeb5e5bb49728b0e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of input capture channel number. < a href = "#ga27f2b79b97a99551aeb5e5bb49728b0e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga27f2b79b97a99551aeb5e5bb49728b0e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga694badae94982105bb25f1dd2d26d3c8" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < br class = "typebreak" / >
< a class = "el" href = "a00043.html#gad3ad48804c14f4116e56a1085ec1313b" > _gpt_input_operation_mode< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga694badae94982105bb25f1dd2d26d3c8" > gpt_input_operation_mode_t< / a > < / td > < / tr >
< tr class = "memdesc:ga694badae94982105bb25f1dd2d26d3c8" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of input capture operation mode. < a href = "#ga694badae94982105bb25f1dd2d26d3c8" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga694badae94982105bb25f1dd2d26d3c8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa1afaa3f08b3cf851e99bc6a6a106cdb" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < br class = "typebreak" / >
< a class = "el" href = "a00043.html#gadb10dcad58555f84d7a1044b6c81131f" > _gpt_output_compare_channel< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > < / td > < / tr >
< tr class = "memdesc:gaa1afaa3f08b3cf851e99bc6a6a106cdb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of output compare channel number. < a href = "#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa1afaa3f08b3cf851e99bc6a6a106cdb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab5de06887a791116cd57cd6b66133ce6" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < br class = "typebreak" / >
< a class = "el" href = "a00043.html#ga30be16b20d412159e60c3a9ed88eddb8" > _gpt_output_operation_mode< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gab5de06887a791116cd57cd6b66133ce6" > gpt_output_operation_mode_t< / a > < / td > < / tr >
< tr class = "memdesc:gab5de06887a791116cd57cd6b66133ce6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of output compare operation mode. < a href = "#gab5de06887a791116cd57cd6b66133ce6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab5de06887a791116cd57cd6b66133ce6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0872ebc482780f64b504ba2ce10749f6" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga0872ebc482780f64b504ba2ce10749f6" > < / a >
typedef enum < a class = "el" href = "a00043.html#ga419c0e0328d0588709b66332cd6252e4" > _gpt_interrupt_enable< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga0872ebc482780f64b504ba2ce10749f6" > gpt_interrupt_enable_t< / a > < / td > < / tr >
< tr class = "memdesc:ga0872ebc482780f64b504ba2ce10749f6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of GPT interrupts. < br / > < / td > < / tr >
< tr class = "separator:ga0872ebc482780f64b504ba2ce10749f6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae3e9c637a0b74f417e8d287051b34a7f" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "a00043.html#gaa28e21b1f10154d0edcc03bd7f19034d" > _gpt_status_flag< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gae3e9c637a0b74f417e8d287051b34a7f" > gpt_status_flag_t< / a > < / td > < / tr >
< tr class = "memdesc:gae3e9c637a0b74f417e8d287051b34a7f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Status flag. < a href = "#gae3e9c637a0b74f417e8d287051b34a7f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gae3e9c637a0b74f417e8d287051b34a7f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gafc7ebf6e686d01e6086b8c22da4f7da6" > < td class = "memItemLeft" align = "right" valign = "top" > typedef struct < a class = "el" href = "a00043.html#a00407" > _gpt_init_config< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gafc7ebf6e686d01e6086b8c22da4f7da6" > gpt_config_t< / a > < / td > < / tr >
< tr class = "memdesc:gafc7ebf6e686d01e6086b8c22da4f7da6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Structure to configure the running mode. < a href = "#gafc7ebf6e686d01e6086b8c22da4f7da6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gafc7ebf6e686d01e6086b8c22da4f7da6" > < 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 = "enum-members" > < / a >
Enumerations< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga9d37084bd118c69a868c9b8ae4b10dd6" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga9d37084bd118c69a868c9b8ae4b10dd6" > _gpt_clock_source< / a > { < br / >
    < a class = "el" href = "a00043.html#gga9d37084bd118c69a868c9b8ae4b10dd6a398f5e7765f47a492d625a7cb26bf499" > kGPT_ClockSource_Off< / a > = 0U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga9d37084bd118c69a868c9b8ae4b10dd6a728cff5c785288f3884d4c2cbdf0b466" > kGPT_ClockSource_Periph< / a > = 1U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga9d37084bd118c69a868c9b8ae4b10dd6a1a2644f7461698f6515c3da0a7c1cbab" > kGPT_ClockSource_HighFreq< / a > = 2U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga9d37084bd118c69a868c9b8ae4b10dd6ab76385e941d5ce14116ac5a55aaf5815" > kGPT_ClockSource_Ext< / a > = 3U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga9d37084bd118c69a868c9b8ae4b10dd6acb33521779fb2addb21bb22f850c837d" > kGPT_ClockSource_LowFreq< / a > = 4U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga9d37084bd118c69a868c9b8ae4b10dd6a9df479d2e5f5d539b053425ab986ad20" > kGPT_ClockSource_Osc< / a > = 5U
2022-08-23 15:00:33 +00:00
< br / >
2023-08-31 15:30:31 +00:00
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:ga9d37084bd118c69a868c9b8ae4b10dd6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of clock sources. < a href = "a00043.html#ga9d37084bd118c69a868c9b8ae4b10dd6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9d37084bd118c69a868c9b8ae4b10dd6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9a79e3be7e4ce3a8fba58d1b009652bb" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga9a79e3be7e4ce3a8fba58d1b009652bb" > _gpt_input_capture_channel< / a > { < br / >
    < a class = "el" href = "a00043.html#gga9a79e3be7e4ce3a8fba58d1b009652bba083b8ef10ac54db99013fdadaf40ea12" > kGPT_InputCapture_Channel1< / a > = 0U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga9a79e3be7e4ce3a8fba58d1b009652bba8ef1e1b7eee2eefaef9d4f9776bafe4a" > kGPT_InputCapture_Channel2< / a > = 1U
2022-08-23 15:00:33 +00:00
< br / >
2023-08-31 15:30:31 +00:00
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:ga9a79e3be7e4ce3a8fba58d1b009652bb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of input capture channel number. < a href = "a00043.html#ga9a79e3be7e4ce3a8fba58d1b009652bb" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9a79e3be7e4ce3a8fba58d1b009652bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad3ad48804c14f4116e56a1085ec1313b" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gad3ad48804c14f4116e56a1085ec1313b" > _gpt_input_operation_mode< / a > { < br / >
    < a class = "el" href = "a00043.html#ggad3ad48804c14f4116e56a1085ec1313baf7ecc55be6dd63a6be40d96dc9f8d24e" > kGPT_InputOperation_Disabled< / a > = 0U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggad3ad48804c14f4116e56a1085ec1313ba17ede75d0bb581f4fed42f678e1b81d1" > kGPT_InputOperation_RiseEdge< / a > = 1U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggad3ad48804c14f4116e56a1085ec1313baa0dcd1649563ba92f8f1e8230284edfa" > kGPT_InputOperation_FallEdge< / a > = 2U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggad3ad48804c14f4116e56a1085ec1313ba5ad14d26a16fa7d607a446440c88b735" > kGPT_InputOperation_BothEdge< / a > = 3U
2022-08-23 15:00:33 +00:00
< br / >
2023-08-31 15:30:31 +00:00
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:gad3ad48804c14f4116e56a1085ec1313b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of input capture operation mode. < a href = "a00043.html#gad3ad48804c14f4116e56a1085ec1313b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad3ad48804c14f4116e56a1085ec1313b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadb10dcad58555f84d7a1044b6c81131f" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gadb10dcad58555f84d7a1044b6c81131f" > _gpt_output_compare_channel< / a > { < br / >
    < a class = "el" href = "a00043.html#ggadb10dcad58555f84d7a1044b6c81131fa68b52504e269393df3fc389c9b78c2d8" > kGPT_OutputCompare_Channel1< / a > = 0U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggadb10dcad58555f84d7a1044b6c81131fa1be13c4fe09bed476ee7656b59f25d37" > kGPT_OutputCompare_Channel2< / a > = 1U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggadb10dcad58555f84d7a1044b6c81131fa55da6b048e4471add16448bd43a6829c" > kGPT_OutputCompare_Channel3< / a > = 2U
2022-08-23 15:00:33 +00:00
< br / >
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:gadb10dcad58555f84d7a1044b6c81131f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of output compare channel number. < a href = "a00043.html#gadb10dcad58555f84d7a1044b6c81131f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gadb10dcad58555f84d7a1044b6c81131f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga30be16b20d412159e60c3a9ed88eddb8" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga30be16b20d412159e60c3a9ed88eddb8" > _gpt_output_operation_mode< / a > { < br / >
    < a class = "el" href = "a00043.html#gga30be16b20d412159e60c3a9ed88eddb8adedc5e02092eeab85600f919bf2dec82" > kGPT_OutputOperation_Disconnected< / a > = 0U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga30be16b20d412159e60c3a9ed88eddb8acd8732f3636757f56665c6549a27c887" > kGPT_OutputOperation_Toggle< / a > = 1U,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga30be16b20d412159e60c3a9ed88eddb8ab74f183a3e8eb815a40a39eb033dc532" > kGPT_OutputOperation_Clear< / a > = 2U,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga30be16b20d412159e60c3a9ed88eddb8aae9329b2a4b5ea63e66ca10239efe669" > kGPT_OutputOperation_Set< / a > = 3U,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga30be16b20d412159e60c3a9ed88eddb8a5bd080fd627f26d074da1b3dab7535f2" > kGPT_OutputOperation_Activelow< / a > = 4U
2022-08-23 15:00:33 +00:00
< br / >
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:ga30be16b20d412159e60c3a9ed88eddb8" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of output compare operation mode. < a href = "a00043.html#ga30be16b20d412159e60c3a9ed88eddb8" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga30be16b20d412159e60c3a9ed88eddb8" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga419c0e0328d0588709b66332cd6252e4" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga419c0e0328d0588709b66332cd6252e4" > _gpt_interrupt_enable< / a > { < br / >
    < a class = "el" href = "a00043.html#gga419c0e0328d0588709b66332cd6252e4a61170acbca36f4757633d1d12d3246ba" > kGPT_OutputCompare1InterruptEnable< / a > = GPT_IR_OF1IE_MASK,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga419c0e0328d0588709b66332cd6252e4a4ebb7fc65d182cd6643fe237d60d91ed" > kGPT_OutputCompare2InterruptEnable< / a > = GPT_IR_OF2IE_MASK,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga419c0e0328d0588709b66332cd6252e4a5141f4b482113c7763819b89c4abcc09" > kGPT_OutputCompare3InterruptEnable< / a > = GPT_IR_OF3IE_MASK,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga419c0e0328d0588709b66332cd6252e4a21a3c64b4edc196b24be9e12c061fe88" > kGPT_InputCapture1InterruptEnable< / a > = GPT_IR_IF1IE_MASK,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga419c0e0328d0588709b66332cd6252e4af6dc605de633b7e545065bc952409562" > kGPT_InputCapture2InterruptEnable< / a > = GPT_IR_IF2IE_MASK,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#gga419c0e0328d0588709b66332cd6252e4a2bbf44ee3464387de1fd11a2c28a5132" > kGPT_RollOverFlagInterruptEnable< / a > = GPT_IR_ROVIE_MASK
2022-08-23 15:00:33 +00:00
< br / >
2023-08-31 15:30:31 +00:00
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:ga419c0e0328d0588709b66332cd6252e4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of GPT interrupts. < a href = "a00043.html#ga419c0e0328d0588709b66332cd6252e4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga419c0e0328d0588709b66332cd6252e4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa28e21b1f10154d0edcc03bd7f19034d" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gaa28e21b1f10154d0edcc03bd7f19034d" > _gpt_status_flag< / a > { < br / >
    < a class = "el" href = "a00043.html#ggaa28e21b1f10154d0edcc03bd7f19034da241fcd87ab22fa9a7212739a39134dfe" > kGPT_OutputCompare1Flag< / a > = GPT_SR_OF1_MASK,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggaa28e21b1f10154d0edcc03bd7f19034da75f50bb95d6a232c6bbb0b6c52db60e5" > kGPT_OutputCompare2Flag< / a > = GPT_SR_OF2_MASK,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggaa28e21b1f10154d0edcc03bd7f19034dabfc4b1e05ade49b83461447d4b4464b1" > kGPT_OutputCompare3Flag< / a > = GPT_SR_OF3_MASK,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggaa28e21b1f10154d0edcc03bd7f19034daf8d82fdf4783ec7125f8f4cdedaed062" > kGPT_InputCapture1Flag< / a > = GPT_SR_IF1_MASK,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggaa28e21b1f10154d0edcc03bd7f19034da64ff7cb952a6cd9c1d85d3dcffc1a50b" > kGPT_InputCapture2Flag< / a > = GPT_SR_IF2_MASK,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00043.html#ggaa28e21b1f10154d0edcc03bd7f19034dae238e6b78d934129211d8e7aafef59a1" > kGPT_RollOverFlag< / a > = GPT_SR_ROV_MASK
2022-08-23 15:00:33 +00:00
< br / >
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:gaa28e21b1f10154d0edcc03bd7f19034d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Status flag. < a href = "a00043.html#gaa28e21b1f10154d0edcc03bd7f19034d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa28e21b1f10154d0edcc03bd7f19034d" > < 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 >
< tr class = "memitem:ga94106f68143140f2cf4292f02cf4ea21" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga94106f68143140f2cf4292f02cf4ea21" > < / a >
2024-03-15 14:23:36 +00:00
#define  < / td > < td class = "memItemRight" valign = "bottom" > < b > FSL_GPT_DRIVER_VERSION< / b >       (< a class = "el" href = "a00260.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 0, 4))< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "separator:ga94106f68143140f2cf4292f02cf4ea21" > < 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
Initialization and deinitialization< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga6aeb20e99444bdaf31dd9c39c108e79f" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga6aeb20e99444bdaf31dd9c39c108e79f" > GPT_Init< / a > (GPT_Type *base, const < a class = "el" href = "a00043.html#gafc7ebf6e686d01e6086b8c22da4f7da6" > gpt_config_t< / a > *initConfig)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga6aeb20e99444bdaf31dd9c39c108e79f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initialize GPT to reset state and initialize running mode. < a href = "#ga6aeb20e99444bdaf31dd9c39c108e79f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga6aeb20e99444bdaf31dd9c39c108e79f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga90be090ee63035f2a2b014adcfd8c60b" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga90be090ee63035f2a2b014adcfd8c60b" > GPT_Deinit< / a > (GPT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga90be090ee63035f2a2b014adcfd8c60b" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disables the module and gates the GPT clock. < a href = "#ga90be090ee63035f2a2b014adcfd8c60b" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga90be090ee63035f2a2b014adcfd8c60b" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga0f60fd16354f3fcf7bd02f1ccbee80e4" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga0f60fd16354f3fcf7bd02f1ccbee80e4" > GPT_GetDefaultConfig< / a > (< a class = "el" href = "a00043.html#gafc7ebf6e686d01e6086b8c22da4f7da6" > gpt_config_t< / a > *config)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga0f60fd16354f3fcf7bd02f1ccbee80e4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Fills in the GPT configuration structure with default settings. < a href = "#ga0f60fd16354f3fcf7bd02f1ccbee80e4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga0f60fd16354f3fcf7bd02f1ccbee80e4" > < 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
Software Reset< / h2 > < / td > < / tr >
< tr class = "memitem:ga9cbb3514413d2eb8783bbce110451d60" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga9cbb3514413d2eb8783bbce110451d60" > GPT_SoftwareReset< / a > (GPT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga9cbb3514413d2eb8783bbce110451d60" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Software reset of GPT module. < a href = "#ga9cbb3514413d2eb8783bbce110451d60" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9cbb3514413d2eb8783bbce110451d60" > < 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
Clock source and frequency control< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga0328dbdc7fe6c17155f776f27692e3c1" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga0328dbdc7fe6c17155f776f27692e3c1" > GPT_SetClockSource< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a > gptClkSource)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga0328dbdc7fe6c17155f776f27692e3c1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set clock source of GPT. < a href = "#ga0328dbdc7fe6c17155f776f27692e3c1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga0328dbdc7fe6c17155f776f27692e3c1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga2ef3c43a4ea5e27291686fcf52a01c53" > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga2ef3c43a4ea5e27291686fcf52a01c53" > GPT_GetClockSource< / a > (GPT_Type *base)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga2ef3c43a4ea5e27291686fcf52a01c53" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get clock source of GPT. < a href = "#ga2ef3c43a4ea5e27291686fcf52a01c53" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2ef3c43a4ea5e27291686fcf52a01c53" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga941a31e66563ec733dc4c69ab430af3f" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga941a31e66563ec733dc4c69ab430af3f" > GPT_SetClockDivider< / a > (GPT_Type *base, uint32_t divider)< / td > < / tr >
< tr class = "memdesc:ga941a31e66563ec733dc4c69ab430af3f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set pre scaler of GPT. < a href = "#ga941a31e66563ec733dc4c69ab430af3f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga941a31e66563ec733dc4c69ab430af3f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9e4fc77424a6dccfb8a80f33145aa85f" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga9e4fc77424a6dccfb8a80f33145aa85f" > GPT_GetClockDivider< / a > (GPT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga9e4fc77424a6dccfb8a80f33145aa85f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get clock divider in GPT module. < a href = "#ga9e4fc77424a6dccfb8a80f33145aa85f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9e4fc77424a6dccfb8a80f33145aa85f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga81c59ed87813049b1b1931547c229688" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga81c59ed87813049b1b1931547c229688" > GPT_SetOscClockDivider< / a > (GPT_Type *base, uint32_t divider)< / td > < / tr >
< tr class = "memdesc:ga81c59ed87813049b1b1931547c229688" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > OSC 24M pre-scaler before selected by clock source. < a href = "#ga81c59ed87813049b1b1931547c229688" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga81c59ed87813049b1b1931547c229688" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7f55308a463986caceb5dc78f97f72ea" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga7f55308a463986caceb5dc78f97f72ea" > GPT_GetOscClockDivider< / a > (GPT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga7f55308a463986caceb5dc78f97f72ea" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get OSC 24M clock divider in GPT module. < a href = "#ga7f55308a463986caceb5dc78f97f72ea" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga7f55308a463986caceb5dc78f97f72ea" > < 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
Timer Start and Stop< / h2 > < / td > < / tr >
< tr class = "memitem:gafd643e0c52bdf9cb0ea78819cd5d1ca9" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gafd643e0c52bdf9cb0ea78819cd5d1ca9" > GPT_StartTimer< / a > (GPT_Type *base)< / td > < / tr >
< tr class = "memdesc:gafd643e0c52bdf9cb0ea78819cd5d1ca9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Start GPT timer. < a href = "#gafd643e0c52bdf9cb0ea78819cd5d1ca9" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gafd643e0c52bdf9cb0ea78819cd5d1ca9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7d3298caf68180acb777d0bed3585a95" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga7d3298caf68180acb777d0bed3585a95" > GPT_StopTimer< / a > (GPT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga7d3298caf68180acb777d0bed3585a95" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Stop GPT timer. < a href = "#ga7d3298caf68180acb777d0bed3585a95" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga7d3298caf68180acb777d0bed3585a95" > < 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
Read the timer period< / h2 > < / td > < / tr >
< tr class = "memitem:ga27f113c6b601234c6493e04ff7699f84" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga27f113c6b601234c6493e04ff7699f84" > GPT_GetCurrentTimerCount< / a > (GPT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga27f113c6b601234c6493e04ff7699f84" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads the current GPT counting value. < a href = "#ga27f113c6b601234c6493e04ff7699f84" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga27f113c6b601234c6493e04ff7699f84" > < 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
GPT Input/Output Signal Control< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:gaa0d5805eba17bbc982af80077e780bb0" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gaa0d5805eba17bbc982af80077e780bb0" > GPT_SetInputOperationMode< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a > channel, < a class = "el" href = "a00043.html#ga694badae94982105bb25f1dd2d26d3c8" > gpt_input_operation_mode_t< / a > mode)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gaa0d5805eba17bbc982af80077e780bb0" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set GPT operation mode of input capture channel. < a href = "#gaa0d5805eba17bbc982af80077e780bb0" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa0d5805eba17bbc982af80077e780bb0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga075a62145685b5e150392b5bf0162af7" > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "a00043.html#ga694badae94982105bb25f1dd2d26d3c8" > gpt_input_operation_mode_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga075a62145685b5e150392b5bf0162af7" > GPT_GetInputOperationMode< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a > channel)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga075a62145685b5e150392b5bf0162af7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get GPT operation mode of input capture channel. < a href = "#ga075a62145685b5e150392b5bf0162af7" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga075a62145685b5e150392b5bf0162af7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga613c750bc61498e596cc34bf3d7c8705" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga613c750bc61498e596cc34bf3d7c8705" > GPT_GetInputCaptureValue< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a > channel)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga613c750bc61498e596cc34bf3d7c8705" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get GPT input capture value of certain channel. < a href = "#ga613c750bc61498e596cc34bf3d7c8705" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga613c750bc61498e596cc34bf3d7c8705" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga2b4b3962e3f263e53d83ccabf2f3b489" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga2b4b3962e3f263e53d83ccabf2f3b489" > GPT_SetOutputOperationMode< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > channel, < a class = "el" href = "a00043.html#gab5de06887a791116cd57cd6b66133ce6" > gpt_output_operation_mode_t< / a > mode)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga2b4b3962e3f263e53d83ccabf2f3b489" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set GPT operation mode of output compare channel. < a href = "#ga2b4b3962e3f263e53d83ccabf2f3b489" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2b4b3962e3f263e53d83ccabf2f3b489" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:gaa4ed0958938a4a9c3c58050e26511026" > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "a00043.html#gab5de06887a791116cd57cd6b66133ce6" > gpt_output_operation_mode_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gaa4ed0958938a4a9c3c58050e26511026" > GPT_GetOutputOperationMode< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > channel)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gaa4ed0958938a4a9c3c58050e26511026" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get GPT operation mode of output compare channel. < a href = "#gaa4ed0958938a4a9c3c58050e26511026" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa4ed0958938a4a9c3c58050e26511026" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:gab4482de4377738cf0ee065f6ad7d3547" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gab4482de4377738cf0ee065f6ad7d3547" > GPT_SetOutputCompareValue< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > channel, uint32_t value)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gab4482de4377738cf0ee065f6ad7d3547" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set GPT output compare value of output compare channel. < a href = "#gab4482de4377738cf0ee065f6ad7d3547" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab4482de4377738cf0ee065f6ad7d3547" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:gaf152c66a815fd38352742ed4ba01d507" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gaf152c66a815fd38352742ed4ba01d507" > GPT_GetOutputCompareValue< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > channel)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gaf152c66a815fd38352742ed4ba01d507" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get GPT output compare value of output compare channel. < a href = "#gaf152c66a815fd38352742ed4ba01d507" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf152c66a815fd38352742ed4ba01d507" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga82938d7d324ba16a8462f1b68284b6ba" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga82938d7d324ba16a8462f1b68284b6ba" > GPT_ForceOutput< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > channel)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga82938d7d324ba16a8462f1b68284b6ba" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Force GPT output action on output compare channel, ignoring comparator. < a href = "#ga82938d7d324ba16a8462f1b68284b6ba" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga82938d7d324ba16a8462f1b68284b6ba" > < 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 >
GPT Interrupt and Status Interface< / h2 > < / td > < / tr >
< tr class = "memitem:gaf441b1f196d31f08319db26487bbe496" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gaf441b1f196d31f08319db26487bbe496" > GPT_EnableInterrupts< / a > (GPT_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gaf441b1f196d31f08319db26487bbe496" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables the selected GPT interrupts. < a href = "#gaf441b1f196d31f08319db26487bbe496" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf441b1f196d31f08319db26487bbe496" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa4fd7eccba69c67e4facf6e9a5e9c62e" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gaa4fd7eccba69c67e4facf6e9a5e9c62e" > GPT_DisableInterrupts< / a > (GPT_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gaa4fd7eccba69c67e4facf6e9a5e9c62e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disables the selected GPT interrupts. < a href = "#gaa4fd7eccba69c67e4facf6e9a5e9c62e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa4fd7eccba69c67e4facf6e9a5e9c62e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga471739441f35a3f65707e40e8d5f0649" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga471739441f35a3f65707e40e8d5f0649" > GPT_GetEnabledInterrupts< / a > (GPT_Type *base)< / td > < / tr >
< tr class = "memdesc:ga471739441f35a3f65707e40e8d5f0649" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the enabled GPT interrupts. < a href = "#ga471739441f35a3f65707e40e8d5f0649" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga471739441f35a3f65707e40e8d5f0649" > < 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 >
Status Interface< / h2 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:ga9e19600458e9121125a370720b4f6f6d" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#ga9e19600458e9121125a370720b4f6f6d" > GPT_GetStatusFlags< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#gae3e9c637a0b74f417e8d287051b34a7f" > gpt_status_flag_t< / a > flags)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:ga9e19600458e9121125a370720b4f6f6d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get GPT status flags. < a href = "#ga9e19600458e9121125a370720b4f6f6d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9e19600458e9121125a370720b4f6f6d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:gad0cdd59a23d43441a5a160bf01351754" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#gad0cdd59a23d43441a5a160bf01351754" > GPT_ClearStatusFlags< / a > (GPT_Type *base, < a class = "el" href = "a00043.html#gae3e9c637a0b74f417e8d287051b34a7f" > gpt_status_flag_t< / a > flags)< / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr class = "memdesc:gad0cdd59a23d43441a5a160bf01351754" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Clears the GPT status flags. < a href = "#gad0cdd59a23d43441a5a160bf01351754" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad0cdd59a23d43441a5a160bf01351754" > < 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 = "a00407" id = "a00407" > < / 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 _gpt_init_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:a991827e19f7919d6a54cd65d41d4d972" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#a991827e19f7919d6a54cd65d41d4d972" > clockSource< / a > < / td > < / tr >
< tr class = "memdesc:a991827e19f7919d6a54cd65d41d4d972" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > clock source for GPT module. < a href = "#a991827e19f7919d6a54cd65d41d4d972" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a991827e19f7919d6a54cd65d41d4d972" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:adb06fd44c871b50cdfed748a680e338c" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#adb06fd44c871b50cdfed748a680e338c" > divider< / a > < / td > < / tr >
< tr class = "memdesc:adb06fd44c871b50cdfed748a680e338c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > clock divider (prescaler+1) from clock source to counter. < a href = "#adb06fd44c871b50cdfed748a680e338c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:adb06fd44c871b50cdfed748a680e338c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aeacf9f451dcd860c4d1eb4fb8f3c653a" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#aeacf9f451dcd860c4d1eb4fb8f3c653a" > enableFreeRun< / a > < / td > < / tr >
< tr class = "memdesc:aeacf9f451dcd860c4d1eb4fb8f3c653a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > true: FreeRun mode, false: Restart mode. < a href = "#aeacf9f451dcd860c4d1eb4fb8f3c653a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aeacf9f451dcd860c4d1eb4fb8f3c653a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a5a623d842c5a2a825f42ab34b33a53df" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#a5a623d842c5a2a825f42ab34b33a53df" > enableRunInWait< / a > < / td > < / tr >
< tr class = "memdesc:a5a623d842c5a2a825f42ab34b33a53df" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPT enabled in wait mode. < a href = "#a5a623d842c5a2a825f42ab34b33a53df" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a5a623d842c5a2a825f42ab34b33a53df" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aafea6321aa8c61f3c8a30d2a835b3d03" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#aafea6321aa8c61f3c8a30d2a835b3d03" > enableRunInStop< / a > < / td > < / tr >
< tr class = "memdesc:aafea6321aa8c61f3c8a30d2a835b3d03" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPT enabled in stop mode. < a href = "#aafea6321aa8c61f3c8a30d2a835b3d03" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aafea6321aa8c61f3c8a30d2a835b3d03" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a92a208fc4a340f372a4ac4822b1d07cf" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#a92a208fc4a340f372a4ac4822b1d07cf" > enableRunInDoze< / a > < / td > < / tr >
< tr class = "memdesc:a92a208fc4a340f372a4ac4822b1d07cf" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPT enabled in doze mode. < a href = "#a92a208fc4a340f372a4ac4822b1d07cf" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a92a208fc4a340f372a4ac4822b1d07cf" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:af45b2718faffa3787dd43d80f4c2f9ad" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#af45b2718faffa3787dd43d80f4c2f9ad" > enableRunInDbg< / a > < / td > < / tr >
< tr class = "memdesc:af45b2718faffa3787dd43d80f4c2f9ad" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > GPT enabled in debug mode. < a href = "#af45b2718faffa3787dd43d80f4c2f9ad" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:af45b2718faffa3787dd43d80f4c2f9ad" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aaa5726e67f4a204dea3f47cbf3032cfb" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00043.html#aaa5726e67f4a204dea3f47cbf3032cfb" > enableMode< / a > < / td > < / tr >
< tr class = "memdesc:aaa5726e67f4a204dea3f47cbf3032cfb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > < pre class = "fragment" > true: counter reset to 0 when enabled;
< / pre > < p > false: counter retain its value when enabled. < a href = "#aaa5726e67f4a204dea3f47cbf3032cfb" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aaa5726e67f4a204dea3f47cbf3032cfb" > < 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 = "a991827e19f7919d6a54cd65d41d4d972" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a > _gpt_init_config::clockSource< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "adb06fd44c871b50cdfed748a680e338c" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > uint32_t _gpt_init_config::divider< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "aeacf9f451dcd860c4d1eb4fb8f3c653a" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool _gpt_init_config::enableFreeRun< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "a5a623d842c5a2a825f42ab34b33a53df" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool _gpt_init_config::enableRunInWait< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "aafea6321aa8c61f3c8a30d2a835b3d03" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool _gpt_init_config::enableRunInStop< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "a92a208fc4a340f372a4ac4822b1d07cf" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > bool _gpt_init_config::enableRunInDoze< / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< / div >
< / div >
< a class = "anchor" id = "af45b2718faffa3787dd43d80f4c2f9ad" > < / 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" > bool _gpt_init_config::enableRunInDbg< / 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 = "aaa5726e67f4a204dea3f47cbf3032cfb" > < / 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" > bool _gpt_init_config::enableMode< / 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
< / div >
< / div >
< h2 class = "groupheader" > Typedef Documentation< / h2 >
< a class = "anchor" id = "gade005818dac45be4f1b60c7f6a885a45" > < / 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" > typedef enum < a class = "el" href = "a00043.html#ga9d37084bd118c69a868c9b8ae4b10dd6" > _gpt_clock_source< / a > < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< dl class = "section note" > < dt > Note< / dt > < dd > Actual number of clock sources is SoC dependent < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga27f2b79b97a99551aeb5e5bb49728b0e" > < / 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" > typedef enum < a class = "el" href = "a00043.html#ga9a79e3be7e4ce3a8fba58d1b009652bb" > _gpt_input_capture_channel< / a > < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a > < / 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 = "ga694badae94982105bb25f1dd2d26d3c8" > < / 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" > typedef enum < a class = "el" href = "a00043.html#gad3ad48804c14f4116e56a1085ec1313b" > _gpt_input_operation_mode< / a > < a class = "el" href = "a00043.html#ga694badae94982105bb25f1dd2d26d3c8" > gpt_input_operation_mode_t< / a > < / 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 = "gaa1afaa3f08b3cf851e99bc6a6a106cdb" > < / 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" > typedef enum < a class = "el" href = "a00043.html#gadb10dcad58555f84d7a1044b6c81131f" > _gpt_output_compare_channel< / a > < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > < / 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 = "gab5de06887a791116cd57cd6b66133ce6" > < / 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" > typedef enum < a class = "el" href = "a00043.html#ga30be16b20d412159e60c3a9ed88eddb8" > _gpt_output_operation_mode< / a > < a class = "el" href = "a00043.html#gab5de06887a791116cd57cd6b66133ce6" > gpt_output_operation_mode_t< / a > < / 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 = "gae3e9c637a0b74f417e8d287051b34a7f" > < / 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" > typedef enum < a class = "el" href = "a00043.html#gaa28e21b1f10154d0edcc03bd7f19034d" > _gpt_status_flag< / a > < a class = "el" href = "a00043.html#gae3e9c637a0b74f417e8d287051b34a7f" > gpt_status_flag_t< / a > < / 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 = "gafc7ebf6e686d01e6086b8c22da4f7da6" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > typedef struct < a class = "el" href = "a00043.html#a00407" > _gpt_init_config< / a > < a class = "el" href = "a00043.html#gafc7ebf6e686d01e6086b8c22da4f7da6" > gpt_config_t< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2022-08-23 15:00:33 +00:00
< / 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 = "ga9d37084bd118c69a868c9b8ae4b10dd6" > < / 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 = "a00043.html#ga9d37084bd118c69a868c9b8ae4b10dd6" > _gpt_clock_source< / a > < / 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 = "section note" > < dt > Note< / dt > < dd > Actual number of clock sources is SoC dependent < / dd > < / dl >
< 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 = "gga9d37084bd118c69a868c9b8ae4b10dd6a398f5e7765f47a492d625a7cb26bf499" > < / a > kGPT_ClockSource_Off< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > GPT Clock Source Off. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga9d37084bd118c69a868c9b8ae4b10dd6a728cff5c785288f3884d4c2cbdf0b466" > < / a > kGPT_ClockSource_Periph< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > GPT Clock Source from Peripheral Clock. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga9d37084bd118c69a868c9b8ae4b10dd6a1a2644f7461698f6515c3da0a7c1cbab" > < / a > kGPT_ClockSource_HighFreq< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > GPT Clock Source from High Frequency Reference Clock. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga9d37084bd118c69a868c9b8ae4b10dd6ab76385e941d5ce14116ac5a55aaf5815" > < / a > kGPT_ClockSource_Ext< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > GPT Clock Source from external pin. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga9d37084bd118c69a868c9b8ae4b10dd6acb33521779fb2addb21bb22f850c837d" > < / a > kGPT_ClockSource_LowFreq< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > GPT Clock Source from Low Frequency Reference Clock. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga9d37084bd118c69a868c9b8ae4b10dd6a9df479d2e5f5d539b053425ab986ad20" > < / a > kGPT_ClockSource_Osc< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > GPT Clock Source from Crystal oscillator. < / p >
< / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga9a79e3be7e4ce3a8fba58d1b009652bb" > < / 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 = "a00043.html#ga9a79e3be7e4ce3a8fba58d1b009652bb" > _gpt_input_capture_channel< / 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 = "gga9a79e3be7e4ce3a8fba58d1b009652bba083b8ef10ac54db99013fdadaf40ea12" > < / a > kGPT_InputCapture_Channel1< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > GPT Input Capture Channel1. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga9a79e3be7e4ce3a8fba58d1b009652bba8ef1e1b7eee2eefaef9d4f9776bafe4a" > < / a > kGPT_InputCapture_Channel2< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > GPT Input Capture Channel2. < / 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 = "gad3ad48804c14f4116e56a1085ec1313b" > < / 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 = "a00043.html#gad3ad48804c14f4116e56a1085ec1313b" > _gpt_input_operation_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 = "ggad3ad48804c14f4116e56a1085ec1313baf7ecc55be6dd63a6be40d96dc9f8d24e" > < / a > kGPT_InputOperation_Disabled< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Don't capture. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad3ad48804c14f4116e56a1085ec1313ba17ede75d0bb581f4fed42f678e1b81d1" > < / a > kGPT_InputOperation_RiseEdge< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Capture on rising edge of input pin. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad3ad48804c14f4116e56a1085ec1313baa0dcd1649563ba92f8f1e8230284edfa" > < / a > kGPT_InputOperation_FallEdge< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Capture on falling edge of input pin. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad3ad48804c14f4116e56a1085ec1313ba5ad14d26a16fa7d607a446440c88b735" > < / a > kGPT_InputOperation_BothEdge< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Capture on both edges of input pin. < / p >
< / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "gadb10dcad58555f84d7a1044b6c81131f" > < / 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 = "a00043.html#gadb10dcad58555f84d7a1044b6c81131f" > _gpt_output_compare_channel< / 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 = "ggadb10dcad58555f84d7a1044b6c81131fa68b52504e269393df3fc389c9b78c2d8" > < / a > kGPT_OutputCompare_Channel1< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output Compare Channel1. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadb10dcad58555f84d7a1044b6c81131fa1be13c4fe09bed476ee7656b59f25d37" > < / a > kGPT_OutputCompare_Channel2< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output Compare Channel2. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadb10dcad58555f84d7a1044b6c81131fa55da6b048e4471add16448bd43a6829c" > < / a > kGPT_OutputCompare_Channel3< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output Compare Channel3. < / 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 = "ga30be16b20d412159e60c3a9ed88eddb8" > < / 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 = "a00043.html#ga30be16b20d412159e60c3a9ed88eddb8" > _gpt_output_operation_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 = "gga30be16b20d412159e60c3a9ed88eddb8adedc5e02092eeab85600f919bf2dec82" > < / a > kGPT_OutputOperation_Disconnected< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Don't change output pin. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga30be16b20d412159e60c3a9ed88eddb8acd8732f3636757f56665c6549a27c887" > < / a > kGPT_OutputOperation_Toggle< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Toggle output pin. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga30be16b20d412159e60c3a9ed88eddb8ab74f183a3e8eb815a40a39eb033dc532" > < / a > kGPT_OutputOperation_Clear< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set output pin low. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga30be16b20d412159e60c3a9ed88eddb8aae9329b2a4b5ea63e66ca10239efe669" > < / a > kGPT_OutputOperation_Set< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Set output pin high. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga30be16b20d412159e60c3a9ed88eddb8a5bd080fd627f26d074da1b3dab7535f2" > < / a > kGPT_OutputOperation_Activelow< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Generate a active low pulse on output pin. < / 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 = "ga419c0e0328d0588709b66332cd6252e4" > < / 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 = "a00043.html#ga419c0e0328d0588709b66332cd6252e4" > _gpt_interrupt_enable< / 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 = "gga419c0e0328d0588709b66332cd6252e4a61170acbca36f4757633d1d12d3246ba" > < / a > kGPT_OutputCompare1InterruptEnable< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output Compare Channel1 interrupt enable. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga419c0e0328d0588709b66332cd6252e4a4ebb7fc65d182cd6643fe237d60d91ed" > < / a > kGPT_OutputCompare2InterruptEnable< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output Compare Channel2 interrupt enable. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga419c0e0328d0588709b66332cd6252e4a5141f4b482113c7763819b89c4abcc09" > < / a > kGPT_OutputCompare3InterruptEnable< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output Compare Channel3 interrupt enable. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga419c0e0328d0588709b66332cd6252e4a21a3c64b4edc196b24be9e12c061fe88" > < / a > kGPT_InputCapture1InterruptEnable< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Input Capture Channel1 interrupt enable. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga419c0e0328d0588709b66332cd6252e4af6dc605de633b7e545065bc952409562" > < / a > kGPT_InputCapture2InterruptEnable< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Input Capture Channel1 interrupt enable. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga419c0e0328d0588709b66332cd6252e4a2bbf44ee3464387de1fd11a2c28a5132" > < / a > kGPT_RollOverFlagInterruptEnable< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Counter rolled over interrupt enable. < / 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 = "gaa28e21b1f10154d0edcc03bd7f19034d" > < / 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 = "a00043.html#gaa28e21b1f10154d0edcc03bd7f19034d" > _gpt_status_flag< / 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 = "ggaa28e21b1f10154d0edcc03bd7f19034da241fcd87ab22fa9a7212739a39134dfe" > < / a > kGPT_OutputCompare1Flag< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output compare channel 1 event. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa28e21b1f10154d0edcc03bd7f19034da75f50bb95d6a232c6bbb0b6c52db60e5" > < / a > kGPT_OutputCompare2Flag< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output compare channel 2 event. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa28e21b1f10154d0edcc03bd7f19034dabfc4b1e05ade49b83461447d4b4464b1" > < / a > kGPT_OutputCompare3Flag< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Output compare channel 3 event. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa28e21b1f10154d0edcc03bd7f19034daf8d82fdf4783ec7125f8f4cdedaed062" > < / a > kGPT_InputCapture1Flag< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Input Capture channel 1 event. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa28e21b1f10154d0edcc03bd7f19034da64ff7cb952a6cd9c1d85d3dcffc1a50b" > < / a > kGPT_InputCapture2Flag< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Input Capture channel 2 event. < / p >
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa28e21b1f10154d0edcc03bd7f19034dae238e6b78d934129211d8e7aafef59a1" > < / a > kGPT_RollOverFlag< / em > < / td > < td class = "fielddoc" >
2023-08-31 15:30:31 +00:00
< p > Counter reaches maximum value and rolled over to 0 event. < / 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 = "ga6aeb20e99444bdaf31dd9c39c108e79f" > < / 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 GPT_Init < / td >
< td > (< / td >
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > const < a class = "el" href = "a00043.html#gafc7ebf6e686d01e6086b8c22da4f7da6" > gpt_config_t< / a > *  < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > initConfig< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
2023-08-31 15:30:31 +00:00
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / 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 > GPT peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > initConfig< / td > < td > GPT mode setting configuration. < / 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 = "ga90be090ee63035f2a2b014adcfd8c60b" > < / 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 GPT_Deinit < / td >
< td > (< / td >
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / 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 > GPT peripheral base address. < / 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 = "ga0f60fd16354f3fcf7bd02f1ccbee80e4" > < / 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 GPT_GetDefaultConfig < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gafc7ebf6e686d01e6086b8c22da4f7da6" > gpt_config_t< / a > *  < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > config< / em > < / td > < td > )< / td >
2022-08-23 15:00:33 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2023-08-31 15:30:31 +00:00
< p > The default values are: < / p >
2024-03-15 14:23:36 +00:00
< div class = "fragment" > < div class = "line" > * config-> clockSource = < a class = "code" href = "a00043.html#gga9d37084bd118c69a868c9b8ae4b10dd6a728cff5c785288f3884d4c2cbdf0b466" > kGPT_ClockSource_Periph< / a > ;< / div >
2023-08-31 15:30:31 +00:00
< div class = "line" > * config-> divider = 1U;< / div >
< div class = "line" > * config-> enableRunInStop = < span class = "keyword" > true< / span > ;< / div >
< div class = "line" > * config-> enableRunInWait = < span class = "keyword" > true< / span > ;< / div >
< div class = "line" > * config-> enableRunInDoze = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> enableRunInDbg = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> enableFreeRun = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> enableMode = < span class = "keyword" > true< / span > ;< / div >
2022-08-23 15:00:33 +00:00
< div class = "line" > * < / div >
2023-08-31 15:30:31 +00:00
< / div > <!-- fragment --> < dl class = "params" > < dt > Parameters< / dt > < dd >
2022-08-23 15:00:33 +00:00
< table class = "params" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > config< / td > < td > Pointer to the user configuration structure. < / 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 = "ga9cbb3514413d2eb8783bbce110451d60" > < / 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 GPT_SoftwareReset < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-08-23 15:00:33 +00:00
< 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" >
< 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 > GPT peripheral base address. < / 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 = "ga0328dbdc7fe6c17155f776f27692e3c1" > < / 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 GPT_SetClockSource < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > gptClkSource< / em >   < / td >
< / tr >
< tr >
2022-08-23 15:00:33 +00:00
< td > < / td >
2023-08-31 15:30:31 +00:00
< 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 > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > gptClkSource< / td > < td > Clock source (see < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a > typedef enumeration). < / 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 = "ga2ef3c43a4ea5e27291686fcf52a01c53" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > static < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a > GPT_GetClockSource < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
2022-08-23 15:00:33 +00:00
< 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2024-03-15 14:23:36 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > clock source (see < a class = "el" href = "a00043.html#gade005818dac45be4f1b60c7f6a885a45" > gpt_clock_source_t< / a > typedef enumeration). < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga941a31e66563ec733dc4c69ab430af3f" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPT_SetClockDivider < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 > divider< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > divider< / td > < td > Divider of GPT (1-4096). < / 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 = "ga9e4fc77424a6dccfb8a80f33145aa85f" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static uint32_t GPT_GetClockDivider < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
2022-08-23 15:00:33 +00:00
< 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2023-08-31 15:30:31 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > clock divider in GPT module (1-4096). < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga81c59ed87813049b1b1931547c229688" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPT_SetOscClockDivider < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
< td class = "paramtype" > uint32_t  < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > divider< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > divider< / td > < td > OSC Divider(1-16). < / 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 = "ga7f55308a463986caceb5dc78f97f72ea" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static uint32_t GPT_GetOscClockDivider < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-08-23 15:00:33 +00:00
< 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2023-08-31 15:30:31 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > OSC clock divider in GPT module (1-16). < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gafd643e0c52bdf9cb0ea78819cd5d1ca9" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPT_StartTimer < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-08-23 15:00:33 +00:00
< td > < / td >
< / tr >
2023-08-31 15:30:31 +00:00
< / 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 > GPT peripheral base address. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga7d3298caf68180acb777d0bed3585a95" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
2022-08-23 15:00:33 +00:00
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPT_StopTimer < / td >
< td > (< / td >
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-08-23 15:00:33 +00:00
< 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / 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 = "ga27f113c6b601234c6493e04ff7699f84" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static uint32_t GPT_GetCurrentTimerCount < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
2022-08-23 15:00:33 +00:00
< 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2023-08-31 15:30:31 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > Current GPT counter value. < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gaa0d5805eba17bbc982af80077e780bb0" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPT_SetInputOperationMode < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > channel< / 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 = "a00043.html#ga694badae94982105bb25f1dd2d26d3c8" > gpt_input_operation_mode_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > mode< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > channel< / td > < td > GPT capture channel (see < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a > typedef enumeration). < / td > < / tr >
< tr > < td class = "paramname" > mode< / td > < td > GPT input capture operation mode (see < a class = "el" href = "a00043.html#ga694badae94982105bb25f1dd2d26d3c8" > gpt_input_operation_mode_t< / a > typedef enumeration). < / 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 = "ga075a62145685b5e150392b5bf0162af7" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > static < a class = "el" href = "a00043.html#ga694badae94982105bb25f1dd2d26d3c8" > gpt_input_operation_mode_t< / a > GPT_GetInputOperationMode < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > channel< / em >   < / td >
< / tr >
< tr >
2022-08-23 15:00:33 +00:00
< td > < / td >
2023-08-31 15:30:31 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > channel< / td > < td > GPT capture channel (see < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a > typedef enumeration). < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2024-03-15 14:23:36 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > GPT input capture operation mode (see < a class = "el" href = "a00043.html#ga694badae94982105bb25f1dd2d26d3c8" > gpt_input_operation_mode_t< / a > typedef enumeration). < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga613c750bc61498e596cc34bf3d7c8705" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static uint32_t GPT_GetInputCaptureValue < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > channel< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > channel< / td > < td > GPT capture channel (see < a class = "el" href = "a00043.html#ga27f2b79b97a99551aeb5e5bb49728b0e" > gpt_input_capture_channel_t< / a > typedef enumeration). < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2023-08-31 15:30:31 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > GPT input capture value. < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "ga2b4b3962e3f263e53d83ccabf2f3b489" > < / a >
2022-08-23 15:00:33 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
2023-08-31 15:30:31 +00:00
< td class = "memname" > static void GPT_SetOutputOperationMode < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
2022-08-23 15:00:33 +00:00
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gab5de06887a791116cd57cd6b66133ce6" > gpt_output_operation_mode_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > mode< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / 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" >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > base< / td > < td > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > channel< / td > < td > GPT output compare channel (see < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > typedef enumeration). < / td > < / tr >
< tr > < td class = "paramname" > mode< / td > < td > GPT output operation mode (see < a class = "el" href = "a00043.html#gab5de06887a791116cd57cd6b66133ce6" > gpt_output_operation_mode_t< / a > typedef enumeration). < / 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 = "gaa4ed0958938a4a9c3c58050e26511026" > < / 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 >
2024-03-15 14:23:36 +00:00
< td class = "memname" > static < a class = "el" href = "a00043.html#gab5de06887a791116cd57cd6b66133ce6" > gpt_output_operation_mode_t< / a > GPT_GetOutputOperationMode < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > channel< / 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" >
< 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 > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > channel< / td > < td > GPT output compare channel (see < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > typedef enumeration). < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2024-03-15 14:23:36 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > GPT output operation mode (see < a class = "el" href = "a00043.html#gab5de06887a791116cd57cd6b66133ce6" > gpt_output_operation_mode_t< / a > typedef enumeration). < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gab4482de4377738cf0ee065f6ad7d3547" > < / 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 GPT_SetOutputCompareValue < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > channel< / 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 > value< / 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" >
< 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 > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > channel< / td > < td > GPT output compare channel (see < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > typedef enumeration). < / td > < / tr >
2023-08-31 15:30:31 +00:00
< tr > < td class = "paramname" > value< / td > < td > GPT output compare value. < / 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 = "gaf152c66a815fd38352742ed4ba01d507" > < / 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 GPT_GetOutputCompareValue < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > channel< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td > < / td >
2023-08-31 15:30:31 +00:00
< 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 > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > channel< / td > < td > GPT output compare channel (see < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > typedef enumeration). < / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > GPT output compare value. < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "ga82938d7d324ba16a8462f1b68284b6ba" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
< tr >
< td class = "memname" > static void GPT_ForceOutput < / td >
< td > (< / td >
< td class = "paramtype" > GPT_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 >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > channel< / 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" >
< 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 > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > channel< / td > < td > GPT output compare channel (see < a class = "el" href = "a00043.html#gaa1afaa3f08b3cf851e99bc6a6a106cdb" > gpt_output_compare_channel_t< / a > typedef enumeration). < / 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 = "gaf441b1f196d31f08319db26487bbe496" > < / 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 GPT_EnableInterrupts < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
< td class = "paramtype" > uint32_t  < / td >
2023-08-31 15:30:31 +00:00
< 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" >
< 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 > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > mask< / td > < td > The interrupts to enable. This is a logical OR of members of the enumeration < a class = "el" href = "a00043.html#ga0872ebc482780f64b504ba2ce10749f6" title = "List of GPT interrupts. " > gpt_interrupt_enable_t< / a > < / 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 = "gaa4fd7eccba69c67e4facf6e9a5e9c62e" > < / 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 GPT_DisableInterrupts < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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" >
< 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 > GPT peripheral base address < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > mask< / td > < td > The interrupts to disable. This is a logical OR of members of the enumeration < a class = "el" href = "a00043.html#ga0872ebc482780f64b504ba2ce10749f6" title = "List of GPT interrupts. " > gpt_interrupt_enable_t< / a > < / 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 = "ga471739441f35a3f65707e40e8d5f0649" > < / 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 GPT_GetEnabledInterrupts < / td >
< td > (< / td >
< td class = "paramtype" > GPT_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 > GPT peripheral base address< / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2024-03-15 14:23:36 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > The enabled interrupts. This is the logical OR of members of the enumeration < a class = "el" href = "a00043.html#ga0872ebc482780f64b504ba2ce10749f6" title = "List of GPT interrupts. " > gpt_interrupt_enable_t< / 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 = "ga9e19600458e9121125a370720b4f6f6d" > < / 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 GPT_GetStatusFlags < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gae3e9c637a0b74f417e8d287051b34a7f" > gpt_status_flag_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > flags< / 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" >
< 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 > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > flags< / td > < td > GPT status flag mask (see < a class = "el" href = "a00043.html#gae3e9c637a0b74f417e8d287051b34a7f" > gpt_status_flag_t< / a > for bit definition). < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
2023-08-31 15:30:31 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > GPT status, each bit represents one status flag. < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2023-08-31 15:30:31 +00:00
< a class = "anchor" id = "gad0cdd59a23d43441a5a160bf01351754" > < / 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 GPT_ClearStatusFlags < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2023-08-31 15:30:31 +00:00
< td class = "paramtype" > GPT_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 >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > < a class = "el" href = "a00043.html#gae3e9c637a0b74f417e8d287051b34a7f" > gpt_status_flag_t< / a >   < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > flags< / 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" >
< 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 > GPT peripheral base address. < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > flags< / td > < td > GPT status flag mask (see < a class = "el" href = "a00043.html#gae3e9c637a0b74f417e8d287051b34a7f" > gpt_status_flag_t< / a > for bit definition). < / 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 >