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" / >
2024-03-15 14:23:36 +00:00
< title > MCUXpresso SDK API Reference Manual: QTMR: Quad Timer Driver< / title >
2022-08-23 15:00:33 +00:00
< link href = "tabs.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "jquery.js" > < / script >
< script type = "text/javascript" src = "dynsections.js" > < / script >
< link href = "navtree.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "resize.js" > < / script >
< script type = "text/javascript" src = "navtree.js" > < / script >
< script type = "text/javascript" >
$(document).ready(initResizable);
$(window).load(resizeHeight);
< / script >
< link href = "search/search.css" rel = "stylesheet" type = "text/css" / >
< script type = "text/javascript" src = "search/search.js" > < / script >
< script type = "text/javascript" >
$(document).ready(function() { searchBox.OnSelectItem(0); });
< / script >
< link href = "doxygen.css" rel = "stylesheet" type = "text/css" / >
< link href = "customdoxygen.css" rel = "stylesheet" type = "text/css" / >
< / head >
< body >
< div id = "top" > <!-- do not remove this div, it is closed by doxygen! -->
< div id = "titlearea" >
< table cellspacing = "0" cellpadding = "0" >
< tbody >
< tr style = "height: 56px;" >
< td id = "projectlogo" > < img alt = "Logo" src = "fs_logo.gif" / > < / td >
< td style = "padding-left: 0.5em;" >
< div id = "projectname" > MCUXpresso SDK API Reference Manual
2024-03-15 14:23:36 +00:00
  < span id = "projectnumber" > Rev 2.15.000< / span >
2022-08-23 15:00:33 +00:00
< / div >
< div id = "projectbrief" > NXP Semiconductors< / div >
< / td >
< / tr >
< / tbody >
< / table >
< / div >
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
< script type = "text/javascript" >
var searchBox = new SearchBox("searchBox", "search",false,'Search');
< / script >
< div id = "navrow1" class = "tabs" >
< ul class = "tablist" >
< li > < a href = "index.html" > < span > Main  Page< / span > < / a > < / li >
< li > < a href = "pages.html" > < span > Related  Pages< / span > < / a > < / li >
< li > < a href = "modules.html" > < span > API  Reference< / span > < / a > < / li >
< li >
< div id = "MSearchBox" class = "MSearchBoxInactive" >
< span class = "left" >
< img id = "MSearchSelect" src = "search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
< input type = "text" id = "MSearchField" value = "Search" accesskey = "S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
< / span > < span class = "right" >
< a id = "MSearchClose" href = "javascript:searchBox.CloseResultsWindow()" > < img id = "MSearchCloseImg" border = "0" src = "search/close.png" alt = "" / > < / a >
< / span >
< / div >
< / li >
< / ul >
< / div >
< / div > <!-- top -->
< div id = "side-nav" class = "ui-resizable side-nav-resizable" >
< div id = "nav-tree" >
< div id = "nav-tree-contents" >
< div id = "nav-sync" class = "sync" > < / div >
< / div >
< / div >
< div id = "splitbar" style = "-moz-user-select:none;"
class="ui-resizable-handle">
< / div >
< / div >
< script type = "text/javascript" >
$(document).ready(function(){initNavTree('a00059.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 > |
< a href = "#enum-members" > Enumerations< / a > |
< a href = "#func-members" > Functions< / a > < / div >
2022-08-23 15:00:33 +00:00
< div class = "headertitle" >
2024-03-15 14:23:36 +00:00
< div class = "title" > QTMR: Quad Timer Driver< / div > < / div >
2022-08-23 15:00:33 +00:00
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Overview< / h2 >
2024-03-15 14:23:36 +00:00
< p > The MCUXpresso SDK provides a driver for the QTMR module of MCUXpresso SDK devices. < / 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:a00446" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#a00446" > _qtmr_config< / a > < / td > < / tr >
< tr class = "memdesc:a00446" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer config structure. < a href = "a00059.html#a00446" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00446" > < 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:ga4ea0a9cd8018f8b196ad804a9ff61a1d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga4ea0a9cd8018f8b196ad804a9ff61a1d" > < / a >
typedef enum < br class = "typebreak" / >
< a class = "el" href = "a00059.html#gab3bfd4981be352afb53eba7403b283bc" > _qtmr_primary_count_source< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga4ea0a9cd8018f8b196ad804a9ff61a1d" > qtmr_primary_count_source_t< / a > < / td > < / tr >
< tr class = "memdesc:ga4ea0a9cd8018f8b196ad804a9ff61a1d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer primary clock source selection. < br / > < / td > < / tr >
< tr class = "separator:ga4ea0a9cd8018f8b196ad804a9ff61a1d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga29a19b9c732d02b9796b19f1641ba56d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga29a19b9c732d02b9796b19f1641ba56d" > < / a >
typedef enum < a class = "el" href = "a00059.html#ga937afaf81c45faac7536d280660fbdfc" > _qtmr_input_source< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga29a19b9c732d02b9796b19f1641ba56d" > qtmr_input_source_t< / a > < / td > < / tr >
< tr class = "memdesc:ga29a19b9c732d02b9796b19f1641ba56d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer input sources selection. < br / > < / td > < / tr >
< tr class = "separator:ga29a19b9c732d02b9796b19f1641ba56d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0a1bd60ca351335e5a8af99101339249" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga0a1bd60ca351335e5a8af99101339249" > < / a >
typedef enum < a class = "el" href = "a00059.html#ga39db6ba37356b9e81a0a77c28a982765" > _qtmr_counting_mode< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga0a1bd60ca351335e5a8af99101339249" > qtmr_counting_mode_t< / a > < / td > < / tr >
< tr class = "memdesc:ga0a1bd60ca351335e5a8af99101339249" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer counting mode selection. < br / > < / td > < / tr >
< tr class = "separator:ga0a1bd60ca351335e5a8af99101339249" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga15dbb44d023aee7525014e32c392922f" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga15dbb44d023aee7525014e32c392922f" > < / a >
typedef enum < a class = "el" href = "a00059.html#ga80b46a49c1eafaa150ad3dcc1a184223" > _qtmr_pwm_out_state< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga15dbb44d023aee7525014e32c392922f" > qtmr_pwm_out_state_t< / a > < / td > < / tr >
< tr class = "memdesc:ga15dbb44d023aee7525014e32c392922f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer PWM output state. < br / > < / td > < / tr >
< tr class = "separator:ga15dbb44d023aee7525014e32c392922f" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1568fc144aebb5bf37e592a4a6e4255a" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga1568fc144aebb5bf37e592a4a6e4255a" > < / a >
typedef enum < a class = "el" href = "a00059.html#gad68440a901fdac28c5e1521a5e6653b4" > _qtmr_output_mode< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga1568fc144aebb5bf37e592a4a6e4255a" > qtmr_output_mode_t< / a > < / td > < / tr >
< tr class = "memdesc:ga1568fc144aebb5bf37e592a4a6e4255a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer output mode selection. < br / > < / td > < / tr >
< tr class = "separator:ga1568fc144aebb5bf37e592a4a6e4255a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaeb2189cc6676aa1378284a31db029320" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gaeb2189cc6676aa1378284a31db029320" > < / a >
typedef enum < br class = "typebreak" / >
< a class = "el" href = "a00059.html#ga857879871ef5138a23b04b9c060b0040" > _qtmr_input_capture_edge< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gaeb2189cc6676aa1378284a31db029320" > qtmr_input_capture_edge_t< / a > < / td > < / tr >
< tr class = "memdesc:gaeb2189cc6676aa1378284a31db029320" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer input capture edge mode, rising edge, or falling edge. < br / > < / td > < / tr >
< tr class = "separator:gaeb2189cc6676aa1378284a31db029320" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad4646e705b1b6c464efcb77cf2606e1d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gad4646e705b1b6c464efcb77cf2606e1d" > < / a >
typedef enum < a class = "el" href = "a00059.html#ga5dd25a95c7a1bdf0e36a01ebc0587c4e" > _qtmr_preload_control< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gad4646e705b1b6c464efcb77cf2606e1d" > qtmr_preload_control_t< / a > < / td > < / tr >
< tr class = "memdesc:gad4646e705b1b6c464efcb77cf2606e1d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer input capture edge mode, rising edge, or falling edge. < br / > < / td > < / tr >
< tr class = "separator:gad4646e705b1b6c464efcb77cf2606e1d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga03a31312296c3fbecc4385b1e7015c3d" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga03a31312296c3fbecc4385b1e7015c3d" > < / a >
typedef enum < a class = "el" href = "a00059.html#ga532f4a66c418536b2686e4a2d1e67a6a" > _qtmr_debug_action< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga03a31312296c3fbecc4385b1e7015c3d" > qtmr_debug_action_t< / a > < / td > < / tr >
< tr class = "memdesc:ga03a31312296c3fbecc4385b1e7015c3d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of Quad Timer run options when in Debug mode. < br / > < / td > < / tr >
< tr class = "separator:ga03a31312296c3fbecc4385b1e7015c3d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaee1dc71bd7c5508840a81a232e90815c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gaee1dc71bd7c5508840a81a232e90815c" > < / a >
typedef enum < a class = "el" href = "a00059.html#gaec176a0736feee83cd0a5ba639ecf49e" > _qtmr_interrupt_enable< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gaee1dc71bd7c5508840a81a232e90815c" > qtmr_interrupt_enable_t< / a > < / td > < / tr >
< tr class = "memdesc:gaee1dc71bd7c5508840a81a232e90815c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of Quad Timer interrupts. < br / > < / td > < / tr >
< tr class = "separator:gaee1dc71bd7c5508840a81a232e90815c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga49b9b59613b425acee4f72354fada89c" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga49b9b59613b425acee4f72354fada89c" > < / a >
typedef enum < a class = "el" href = "a00059.html#gafd14e0162c8813ed61f926cfb64a2738" > _qtmr_status_flags< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga49b9b59613b425acee4f72354fada89c" > qtmr_status_flags_t< / a > < / td > < / tr >
< tr class = "memdesc:ga49b9b59613b425acee4f72354fada89c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of Quad Timer flags. < br / > < / td > < / tr >
< tr class = "separator:ga49b9b59613b425acee4f72354fada89c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0d1e97f6d2595ce1be1f4db4c763f8b9" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga0d1e97f6d2595ce1be1f4db4c763f8b9" > < / a >
typedef enum < br class = "typebreak" / >
< a class = "el" href = "a00059.html#ga5b6e8eef3ce5c6ea523c4c608340bf58" > _qtmr_channel_selection< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > < / td > < / tr >
< tr class = "memdesc:ga0d1e97f6d2595ce1be1f4db4c763f8b9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of channel selection. < br / > < / td > < / tr >
< tr class = "separator:ga0d1e97f6d2595ce1be1f4db4c763f8b9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa733a25624223009d265d8d68051896e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gaa733a25624223009d265d8d68051896e" > < / a >
typedef enum < a class = "el" href = "a00059.html#gadcb7a886a15b92ad93076228968549fe" > _qtmr_dma_enable< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gaa733a25624223009d265d8d68051896e" > qtmr_dma_enable_t< / a > < / td > < / tr >
< tr class = "memdesc:gaa733a25624223009d265d8d68051896e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of Quad Timer DMA enable. < br / > < / td > < / tr >
< tr class = "separator:gaa733a25624223009d265d8d68051896e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae84e67660d634d68cefbe78429ead82f" > < td class = "memItemLeft" align = "right" valign = "top" > typedef struct < a class = "el" href = "a00059.html#a00446" > _qtmr_config< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gae84e67660d634d68cefbe78429ead82f" > qtmr_config_t< / a > < / td > < / tr >
< tr class = "memdesc:gae84e67660d634d68cefbe78429ead82f" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer config structure. < a href = "#gae84e67660d634d68cefbe78429ead82f" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gae84e67660d634d68cefbe78429ead82f" > < 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:gab3bfd4981be352afb53eba7403b283bc" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gab3bfd4981be352afb53eba7403b283bc" > _qtmr_primary_count_source< / a > { < br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca82276acc1d08d80b29fa586ae3fe603d" > kQTMR_ClockCounter0InputPin< / a > = 0,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca3ac60049c157df8139a7e926db1b923a" > kQTMR_ClockCounter1InputPin< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bcad0e59d8a4117a8850db9c0a8723cfc98" > kQTMR_ClockCounter2InputPin< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bcae80200a156049ee287f0d997c59ef226" > kQTMR_ClockCounter3InputPin< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca9240e72f468d64e2cdbe7fc2b9f0b67b" > kQTMR_ClockCounter0Output< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca072bed168beaf44bc8c7acca57984c56" > kQTMR_ClockCounter1Output< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca51ba38ae41469d5ed53b4803f174bf42" > kQTMR_ClockCounter2Output< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca70478379b0f446293d8b7df484de649c" > kQTMR_ClockCounter3Output< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca4c71c77d70c5a24b4e8f1ef386229558" > kQTMR_ClockDivide_1< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bcaa1804764d102bbd2ccfeff8000eda66e" > kQTMR_ClockDivide_2< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca1b95af06de1beefbc39e2d6566d39438" > kQTMR_ClockDivide_4< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca33a7f169f5152d281f1f4d60439e3b1d" > kQTMR_ClockDivide_8< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca0f286e5b68c7521941cf0e2909c5bc51" > kQTMR_ClockDivide_16< / a > ,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bcaa4601397fa55cb677c65b64ebc7ca869" > kQTMR_ClockDivide_32< / a > ,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bca831d3c0a294d561aafffd9730d728f60" > kQTMR_ClockDivide_64< / a > ,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bcad70531180a310b63317cb4c426ddefdd" > kQTMR_ClockDivide_128< / a >
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:gab3bfd4981be352afb53eba7403b283bc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer primary clock source selection. < a href = "a00059.html#gab3bfd4981be352afb53eba7403b283bc" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab3bfd4981be352afb53eba7403b283bc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga937afaf81c45faac7536d280660fbdfc" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga937afaf81c45faac7536d280660fbdfc" > _qtmr_input_source< / a > { < br / >
    < a class = "el" href = "a00059.html#gga937afaf81c45faac7536d280660fbdfca91da9d3d2dec949d2fbc696683a2bf48" > kQTMR_Counter0InputPin< / a > = 0,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00059.html#gga937afaf81c45faac7536d280660fbdfca5cfa9210c1c07adfb38c8e93433f9be4" > kQTMR_Counter1InputPin< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga937afaf81c45faac7536d280660fbdfca9b0145605c71dbb24adcf87924f9a563" > kQTMR_Counter2InputPin< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga937afaf81c45faac7536d280660fbdfca24c791aa35fb4cf2fb2d623b309d20ab" > kQTMR_Counter3InputPin< / a >
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:ga937afaf81c45faac7536d280660fbdfc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer input sources selection. < a href = "a00059.html#ga937afaf81c45faac7536d280660fbdfc" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga937afaf81c45faac7536d280660fbdfc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga39db6ba37356b9e81a0a77c28a982765" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga39db6ba37356b9e81a0a77c28a982765" > _qtmr_counting_mode< / a > { < br / >
    < a class = "el" href = "a00059.html#gga39db6ba37356b9e81a0a77c28a982765ac48116c1f656ee1cabe104f9c2c49843" > kQTMR_NoOperation< / a > = 0,
< br / >
    < a class = "el" href = "a00059.html#gga39db6ba37356b9e81a0a77c28a982765acdbf5f143450aa0a9f3f0ab23baddc6b" > kQTMR_PriSrcRiseEdge< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga39db6ba37356b9e81a0a77c28a982765a44b92eb2c4c5227890f8f39a041301d3" > kQTMR_PriSrcRiseAndFallEdge< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga39db6ba37356b9e81a0a77c28a982765a3ef3ad7ac6a8200fa20df9978bb2ae8d" > kQTMR_PriSrcRiseEdgeSecInpHigh< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga39db6ba37356b9e81a0a77c28a982765ad3e02baca02a32350ca9da6ac7ceb5d8" > kQTMR_QuadCountMode< / a > ,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00059.html#gga39db6ba37356b9e81a0a77c28a982765aa514bc2e0906a7cbab11373f3dea5e82" > kQTMR_PriSrcRiseEdgeSecDir< / a > ,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00059.html#gga39db6ba37356b9e81a0a77c28a982765abaec5373ab714b0b58ce2e56f79bbf8a" > kQTMR_SecSrcTrigPriCnt< / a > ,
2022-08-23 15:00:33 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00059.html#gga39db6ba37356b9e81a0a77c28a982765aac99a0f3873161f9cf61f724f2a8570b" > kQTMR_CascadeCount< / a >
2022-08-23 15:00:33 +00:00
< br / >
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:ga39db6ba37356b9e81a0a77c28a982765" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer counting mode selection. < a href = "a00059.html#ga39db6ba37356b9e81a0a77c28a982765" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga39db6ba37356b9e81a0a77c28a982765" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga80b46a49c1eafaa150ad3dcc1a184223" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga80b46a49c1eafaa150ad3dcc1a184223" > _qtmr_pwm_out_state< / a > { < br / >
    < a class = "el" href = "a00059.html#gga80b46a49c1eafaa150ad3dcc1a184223ac1f1720b29f57f6bdf0364709f96a6c2" > kQTMR_PwmLow< / a > = 0,
< br / >
    < a class = "el" href = "a00059.html#gga80b46a49c1eafaa150ad3dcc1a184223a74ea9af3309cfad4a8dc7bb86d334677" > kQTMR_PwmHigh< / a >
< br / >
2023-08-31 15:30:31 +00:00
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:ga80b46a49c1eafaa150ad3dcc1a184223" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer PWM output state. < a href = "a00059.html#ga80b46a49c1eafaa150ad3dcc1a184223" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga80b46a49c1eafaa150ad3dcc1a184223" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad68440a901fdac28c5e1521a5e6653b4" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gad68440a901fdac28c5e1521a5e6653b4" > _qtmr_output_mode< / a > { < br / >
    < a class = "el" href = "a00059.html#ggad68440a901fdac28c5e1521a5e6653b4a3a0003a83a00acc39a519d540c562472" > kQTMR_AssertWhenCountActive< / a > = 0,
< br / >
    < a class = "el" href = "a00059.html#ggad68440a901fdac28c5e1521a5e6653b4a0716e351e1601a6f246f253543e3f03c" > kQTMR_ClearOnCompare< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggad68440a901fdac28c5e1521a5e6653b4a9d03a8a577e26d75ee7fe69315faf1f9" > kQTMR_SetOnCompare< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggad68440a901fdac28c5e1521a5e6653b4ae637b16574eb8e2a91a873f871eb0a0a" > kQTMR_ToggleOnCompare< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggad68440a901fdac28c5e1521a5e6653b4af61b88d5df6ecf7a701d1381ea81e5be" > kQTMR_ToggleOnAltCompareReg< / a > ,
2023-08-31 15:30:31 +00:00
< br / >
2024-03-15 14:23:36 +00:00
    < a class = "el" href = "a00059.html#ggad68440a901fdac28c5e1521a5e6653b4a4e2267dadc673ed9f31574be79999a0a" > kQTMR_SetOnCompareClearOnSecSrcInp< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggad68440a901fdac28c5e1521a5e6653b4a3f3c1f9871e91f82842b1cae3bd0ea74" > kQTMR_SetOnCompareClearOnCountRoll< / a > ,
< br / >
    < a class = "el" href = "a00059.html#ggad68440a901fdac28c5e1521a5e6653b4ae2d75e2129f79fe404497e7910cde617" > kQTMR_EnableGateClock< / a >
< br / >
}< / td > < / tr >
< tr class = "memdesc:gad68440a901fdac28c5e1521a5e6653b4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer output mode selection. < a href = "a00059.html#gad68440a901fdac28c5e1521a5e6653b4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad68440a901fdac28c5e1521a5e6653b4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga857879871ef5138a23b04b9c060b0040" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga857879871ef5138a23b04b9c060b0040" > _qtmr_input_capture_edge< / a > { < br / >
    < a class = "el" href = "a00059.html#gga857879871ef5138a23b04b9c060b0040a07866622cc0be666818813ab0dc2be5e" > kQTMR_NoCapture< / a > = 0,
< br / >
    < a class = "el" href = "a00059.html#gga857879871ef5138a23b04b9c060b0040a81a4074fdc9fd23cdc31fce8a567d3f4" > kQTMR_RisingEdge< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga857879871ef5138a23b04b9c060b0040a9025803f5cbc483bbdd89f0846db2337" > kQTMR_FallingEdge< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga857879871ef5138a23b04b9c060b0040a593937a67ae2969cdfe81595b2177322" > kQTMR_RisingAndFallingEdge< / a >
< br / >
}< / td > < / tr >
< tr class = "memdesc:ga857879871ef5138a23b04b9c060b0040" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer input capture edge mode, rising edge, or falling edge. < a href = "a00059.html#ga857879871ef5138a23b04b9c060b0040" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga857879871ef5138a23b04b9c060b0040" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5dd25a95c7a1bdf0e36a01ebc0587c4e" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga5dd25a95c7a1bdf0e36a01ebc0587c4e" > _qtmr_preload_control< / a > { < br / >
    < a class = "el" href = "a00059.html#gga5dd25a95c7a1bdf0e36a01ebc0587c4eab3811976a0c8cd3db181c6c4ebca3069" > kQTMR_NoPreload< / a > = 0,
< br / >
    < a class = "el" href = "a00059.html#gga5dd25a95c7a1bdf0e36a01ebc0587c4eae32eaef33171ecb9d78f14a615dec69d" > kQTMR_LoadOnComp1< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga5dd25a95c7a1bdf0e36a01ebc0587c4eadb0a17be2615493630d0417d46a53a0e" > kQTMR_LoadOnComp2< / a >
< br / >
}< / td > < / tr >
< tr class = "memdesc:ga5dd25a95c7a1bdf0e36a01ebc0587c4e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Quad Timer input capture edge mode, rising edge, or falling edge. < a href = "a00059.html#ga5dd25a95c7a1bdf0e36a01ebc0587c4e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5dd25a95c7a1bdf0e36a01ebc0587c4e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga532f4a66c418536b2686e4a2d1e67a6a" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga532f4a66c418536b2686e4a2d1e67a6a" > _qtmr_debug_action< / a > { < br / >
    < a class = "el" href = "a00059.html#gga532f4a66c418536b2686e4a2d1e67a6aae5ba29aa5fdf66f740155d11670573ad" > kQTMR_RunNormalInDebug< / a > = 0U,
< br / >
    < a class = "el" href = "a00059.html#gga532f4a66c418536b2686e4a2d1e67a6aadfeee3fa9d7c79e56a089d4e5f12754b" > kQTMR_HaltCounter< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga532f4a66c418536b2686e4a2d1e67a6aaf322d8a7ffa91765fde1077777e3c845" > kQTMR_ForceOutToZero< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga532f4a66c418536b2686e4a2d1e67a6aa582ee8204977e8792431b0a8e1df4bbf" > kQTMR_HaltCountForceOutZero< / a >
< br / >
}< / td > < / tr >
< tr class = "memdesc:ga532f4a66c418536b2686e4a2d1e67a6a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of Quad Timer run options when in Debug mode. < a href = "a00059.html#ga532f4a66c418536b2686e4a2d1e67a6a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga532f4a66c418536b2686e4a2d1e67a6a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaec176a0736feee83cd0a5ba639ecf49e" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gaec176a0736feee83cd0a5ba639ecf49e" > _qtmr_interrupt_enable< / a > { < br / >
    < a class = "el" href = "a00059.html#ggaec176a0736feee83cd0a5ba639ecf49ead62e3868b70dfceab5f0efe7508ad549" > kQTMR_CompareInterruptEnable< / a > = (1U < < 0),
< br / >
    < a class = "el" href = "a00059.html#ggaec176a0736feee83cd0a5ba639ecf49ea60998249ab3a57bedcafe6423fc33cc5" > kQTMR_Compare1InterruptEnable< / a > = (1U < < 1),
< br / >
    < a class = "el" href = "a00059.html#ggaec176a0736feee83cd0a5ba639ecf49ea9d2f4a4ad09245fea4bd6449b74365b9" > kQTMR_Compare2InterruptEnable< / a > = (1U < < 2),
< br / >
    < a class = "el" href = "a00059.html#ggaec176a0736feee83cd0a5ba639ecf49ead4a0db29d76733779c01466d76c15749" > kQTMR_OverflowInterruptEnable< / a > = (1U < < 3),
< br / >
    < a class = "el" href = "a00059.html#ggaec176a0736feee83cd0a5ba639ecf49ea8267b0a66e5a77686cb760376c7f8885" > kQTMR_EdgeInterruptEnable< / a > = (1U < < 4)
2023-08-31 15:30:31 +00:00
< br / >
}< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memdesc:gaec176a0736feee83cd0a5ba639ecf49e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of Quad Timer interrupts. < a href = "a00059.html#gaec176a0736feee83cd0a5ba639ecf49e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaec176a0736feee83cd0a5ba639ecf49e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gafd14e0162c8813ed61f926cfb64a2738" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gafd14e0162c8813ed61f926cfb64a2738" > _qtmr_status_flags< / a > { < br / >
    < a class = "el" href = "a00059.html#ggafd14e0162c8813ed61f926cfb64a2738a409aa72557c34591ad293136dc57bbd8" > kQTMR_CompareFlag< / a > = (1U < < 0),
< br / >
    < a class = "el" href = "a00059.html#ggafd14e0162c8813ed61f926cfb64a2738a6a6cc5fb43d34289b2a0ffe0f7e29c6b" > kQTMR_Compare1Flag< / a > = (1U < < 1),
< br / >
    < a class = "el" href = "a00059.html#ggafd14e0162c8813ed61f926cfb64a2738a9891c08b2e3124af1e79180ee1d052f7" > kQTMR_Compare2Flag< / a > = (1U < < 2),
< br / >
    < a class = "el" href = "a00059.html#ggafd14e0162c8813ed61f926cfb64a2738ac3330de0db5003ed7fe15a5f72f6fe73" > kQTMR_OverflowFlag< / a > = (1U < < 3),
< br / >
    < a class = "el" href = "a00059.html#ggafd14e0162c8813ed61f926cfb64a2738af4e7b95463c8e1d2f568c7062314be71" > kQTMR_EdgeFlag< / a > = (1U < < 4)
< br / >
}< / td > < / tr >
< tr class = "memdesc:gafd14e0162c8813ed61f926cfb64a2738" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of Quad Timer flags. < a href = "a00059.html#gafd14e0162c8813ed61f926cfb64a2738" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gafd14e0162c8813ed61f926cfb64a2738" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5b6e8eef3ce5c6ea523c4c608340bf58" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga5b6e8eef3ce5c6ea523c4c608340bf58" > _qtmr_channel_selection< / a > { < br / >
    < a class = "el" href = "a00059.html#gga5b6e8eef3ce5c6ea523c4c608340bf58aa45014ee1078e4a1471e6a637c9b3fca" > kQTMR_Channel_0< / a > = 0U,
< br / >
    < a class = "el" href = "a00059.html#gga5b6e8eef3ce5c6ea523c4c608340bf58ae9ad347957a75c32c4ee19666b511247" > kQTMR_Channel_1< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga5b6e8eef3ce5c6ea523c4c608340bf58a74987baa3ad6b998e75cd16c1df69c26" > kQTMR_Channel_2< / a > ,
< br / >
    < a class = "el" href = "a00059.html#gga5b6e8eef3ce5c6ea523c4c608340bf58a82e08b122bf226f69d3c1c9cafc9931f" > kQTMR_Channel_3< / a >
< br / >
}< / td > < / tr >
< tr class = "memdesc:ga5b6e8eef3ce5c6ea523c4c608340bf58" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of channel selection. < a href = "a00059.html#ga5b6e8eef3ce5c6ea523c4c608340bf58" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5b6e8eef3ce5c6ea523c4c608340bf58" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadcb7a886a15b92ad93076228968549fe" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gadcb7a886a15b92ad93076228968549fe" > _qtmr_dma_enable< / a > { < br / >
    < a class = "el" href = "a00059.html#ggadcb7a886a15b92ad93076228968549fea73d036ed01f812c118bc50b27f36cdc7" > kQTMR_InputEdgeFlagDmaEnable< / a > = (1U < < 0),
< br / >
    < a class = "el" href = "a00059.html#ggadcb7a886a15b92ad93076228968549feaaef33e58d8247771b5e594c14ca5b571" > kQTMR_ComparatorPreload1DmaEnable< / a > = (1U < < 1),
< br / >
    < a class = "el" href = "a00059.html#ggadcb7a886a15b92ad93076228968549feaf414da5b48883e81009734f59b546624" > kQTMR_ComparatorPreload2DmaEnable< / a > = (1U < < 2)
< br / >
}< / td > < / tr >
< tr class = "memdesc:gadcb7a886a15b92ad93076228968549fe" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > List of Quad Timer DMA enable. < a href = "a00059.html#gadcb7a886a15b92ad93076228968549fe" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gadcb7a886a15b92ad93076228968549fe" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:ga364220c9fcdf15f102e60c7c76041c06" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga364220c9fcdf15f102e60c7c76041c06" > QTMR_SetupPwm< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint32_t pwmFreqHz, uint8_t dutyCyclePercent, bool outputPolarity, uint32_t srcClock_Hz)< / td > < / tr >
< tr class = "memdesc:ga364220c9fcdf15f102e60c7c76041c06" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets up Quad timer module for PWM signal output. < a href = "#ga364220c9fcdf15f102e60c7c76041c06" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga364220c9fcdf15f102e60c7c76041c06" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaab1b216e8bae644b8027cf8eaa4e2964" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gaab1b216e8bae644b8027cf8eaa4e2964" > QTMR_SetupInputCapture< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, < a class = "el" href = "a00059.html#ga29a19b9c732d02b9796b19f1641ba56d" > qtmr_input_source_t< / a > capturePin, bool inputPolarity, bool reloadOnCapture, < a class = "el" href = "a00059.html#gaeb2189cc6676aa1378284a31db029320" > qtmr_input_capture_edge_t< / a > captureMode)< / td > < / tr >
< tr class = "memdesc:gaab1b216e8bae644b8027cf8eaa4e2964" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Allows the user to count the source clock cycles until a capture event arrives. < a href = "#gaab1b216e8bae644b8027cf8eaa4e2964" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaab1b216e8bae644b8027cf8eaa4e2964" > < 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 >
Driver version< / h2 > < / td > < / tr >
< tr class = "memitem:gaa3cc9c79870a53a1419015cd9b03f4a3" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gaa3cc9c79870a53a1419015cd9b03f4a3" > < / a >
#define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gaa3cc9c79870a53a1419015cd9b03f4a3" > FSL_QTMR_DRIVER_VERSION< / a >       (< a class = "el" href = "a00260.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 2, 2))< / td > < / tr >
< tr class = "memdesc:gaa3cc9c79870a53a1419015cd9b03f4a3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Version. < br / > < / td > < / tr >
< tr class = "separator:gaa3cc9c79870a53a1419015cd9b03f4a3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2024-03-15 14:23:36 +00:00
Initialization and deinitialization< / h2 > < / td > < / tr >
< tr class = "memitem:gab784ac72bb2bf452ffca29053b05fa7c" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gab784ac72bb2bf452ffca29053b05fa7c" > QTMR_Init< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, const < a class = "el" href = "a00059.html#gae84e67660d634d68cefbe78429ead82f" > qtmr_config_t< / a > *config)< / td > < / tr >
< tr class = "memdesc:gab784ac72bb2bf452ffca29053b05fa7c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Ungates the Quad Timer clock and configures the peripheral for basic operation. < a href = "#gab784ac72bb2bf452ffca29053b05fa7c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab784ac72bb2bf452ffca29053b05fa7c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa15a9d1613394d4715f3fc600626e3cc" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gaa15a9d1613394d4715f3fc600626e3cc" > QTMR_Deinit< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel)< / td > < / tr >
< tr class = "memdesc:gaa15a9d1613394d4715f3fc600626e3cc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Stops the counter and gates the Quad Timer clock. < a href = "#gaa15a9d1613394d4715f3fc600626e3cc" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa15a9d1613394d4715f3fc600626e3cc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6f70f9eb710dde4743e8e9346dc41c65" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga6f70f9eb710dde4743e8e9346dc41c65" > QTMR_GetDefaultConfig< / a > (< a class = "el" href = "a00059.html#gae84e67660d634d68cefbe78429ead82f" > qtmr_config_t< / a > *config)< / td > < / tr >
< tr class = "memdesc:ga6f70f9eb710dde4743e8e9346dc41c65" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Fill in the Quad Timer config struct with the default settings. < a href = "#ga6f70f9eb710dde4743e8e9346dc41c65" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga6f70f9eb710dde4743e8e9346dc41c65" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2024-03-15 14:23:36 +00:00
Interrupt Interface< / h2 > < / td > < / tr >
< tr class = "memitem:ga4756ec6b825cde8eecd0287591885985" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga4756ec6b825cde8eecd0287591885985" > QTMR_EnableInterrupts< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga4756ec6b825cde8eecd0287591885985" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enables the selected Quad Timer interrupts. < a href = "#ga4756ec6b825cde8eecd0287591885985" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga4756ec6b825cde8eecd0287591885985" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga7245d99b70c9df88a8ee0756913ac179" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga7245d99b70c9df88a8ee0756913ac179" > QTMR_DisableInterrupts< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga7245d99b70c9df88a8ee0756913ac179" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disables the selected Quad Timer interrupts. < a href = "#ga7245d99b70c9df88a8ee0756913ac179" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga7245d99b70c9df88a8ee0756913ac179" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gafe580603d4441b8a2101ca86485c517c" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gafe580603d4441b8a2101ca86485c517c" > QTMR_GetEnabledInterrupts< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel)< / td > < / tr >
< tr class = "memdesc:gafe580603d4441b8a2101ca86485c517c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the enabled Quad Timer interrupts. < a href = "#gafe580603d4441b8a2101ca86485c517c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gafe580603d4441b8a2101ca86485c517c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2024-03-15 14:23:36 +00:00
Status Interface< / h2 > < / td > < / tr >
< tr class = "memitem:ga89d05673c74e2f8ccc6c5cbecdab962c" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga89d05673c74e2f8ccc6c5cbecdab962c" > QTMR_GetStatus< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel)< / td > < / tr >
< tr class = "memdesc:ga89d05673c74e2f8ccc6c5cbecdab962c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets the Quad Timer status flags. < a href = "#ga89d05673c74e2f8ccc6c5cbecdab962c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga89d05673c74e2f8ccc6c5cbecdab962c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gac453dce78b2f4079aacbb02d857273ae" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gac453dce78b2f4079aacbb02d857273ae" > QTMR_ClearStatusFlags< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gac453dce78b2f4079aacbb02d857273ae" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Clears the Quad Timer status flags. < a href = "#gac453dce78b2f4079aacbb02d857273ae" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gac453dce78b2f4079aacbb02d857273ae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "member-group" > < / a >
2024-03-15 14:23:36 +00:00
Read and Write the timer period< / h2 > < / td > < / tr >
< tr class = "memitem:ga1d1fe996963cd527aabb034888e994b4" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga1d1fe996963cd527aabb034888e994b4" > QTMR_SetTimerPeriod< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint16_t ticks)< / td > < / tr >
< tr class = "memdesc:ga1d1fe996963cd527aabb034888e994b4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Sets the timer period in ticks. < a href = "#ga1d1fe996963cd527aabb034888e994b4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga1d1fe996963cd527aabb034888e994b4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9764da43797074b65a4689a6df999cba" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga9764da43797074b65a4689a6df999cba" > QTMR_SetCompareValue< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint16_t ticks)< / td > < / tr >
< tr class = "memdesc:ga9764da43797074b65a4689a6df999cba" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set compare value. < a href = "#ga9764da43797074b65a4689a6df999cba" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9764da43797074b65a4689a6df999cba" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga3db9e42ab0f483438a720139353937f7" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga3db9e42ab0f483438a720139353937f7" > QTMR_SetLoadValue< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint16_t value)< / td > < / tr >
< tr class = "memdesc:ga3db9e42ab0f483438a720139353937f7" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set load value. < a href = "#ga3db9e42ab0f483438a720139353937f7" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga3db9e42ab0f483438a720139353937f7" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1691975f2406bcaf64a24a065dd2c679" > < td class = "memItemLeft" align = "right" valign = "top" > static uint16_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga1691975f2406bcaf64a24a065dd2c679" > QTMR_GetCurrentTimerCount< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel)< / td > < / tr >
< tr class = "memdesc:ga1691975f2406bcaf64a24a065dd2c679" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Reads the current timer counting value. < a href = "#ga1691975f2406bcaf64a24a065dd2c679" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga1691975f2406bcaf64a24a065dd2c679" > < 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 >
2024-03-15 14:23:36 +00:00
Timer Start and Stop< / h2 > < / td > < / tr >
< tr class = "memitem:ga14d9ab0215127155e559a9f98f4fc7f4" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga14d9ab0215127155e559a9f98f4fc7f4" > QTMR_StartTimer< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, < a class = "el" href = "a00059.html#ga0a1bd60ca351335e5a8af99101339249" > qtmr_counting_mode_t< / a > clockSource)< / td > < / tr >
< tr class = "memdesc:ga14d9ab0215127155e559a9f98f4fc7f4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Starts the Quad Timer counter. < a href = "#ga14d9ab0215127155e559a9f98f4fc7f4" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga14d9ab0215127155e559a9f98f4fc7f4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad1a85cff4fe7e16d497b59d9fea2ad58" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gad1a85cff4fe7e16d497b59d9fea2ad58" > QTMR_StopTimer< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel)< / td > < / tr >
< tr class = "memdesc:gad1a85cff4fe7e16d497b59d9fea2ad58" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Stops the Quad Timer counter. < a href = "#gad1a85cff4fe7e16d497b59d9fea2ad58" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad1a85cff4fe7e16d497b59d9fea2ad58" > < 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 >
Enable and Disable the Quad Timer DMA< / h2 > < / td > < / tr >
< tr class = "memitem:ga73b23acbae47d427ea8513cfb239e32d" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga73b23acbae47d427ea8513cfb239e32d" > QTMR_EnableDma< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga73b23acbae47d427ea8513cfb239e32d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enable the Quad Timer DMA. < a href = "#ga73b23acbae47d427ea8513cfb239e32d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga73b23acbae47d427ea8513cfb239e32d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga0645602d837cd4e7ad7e8d80dbf3ffae" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga0645602d837cd4e7ad7e8d80dbf3ffae" > QTMR_DisableDma< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga0645602d837cd4e7ad7e8d80dbf3ffae" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disable the Quad Timer DMA. < a href = "#ga0645602d837cd4e7ad7e8d80dbf3ffae" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga0645602d837cd4e7ad7e8d80dbf3ffae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6829a4d084cf7275d610c31928443867" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga6829a4d084cf7275d610c31928443867" > QTMR_SetPwmOutputToIdle< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, bool idleStatus)< / td > < / tr >
< tr class = "memdesc:ga6829a4d084cf7275d610c31928443867" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set PWM output in idle status (high or low). < a href = "#ga6829a4d084cf7275d610c31928443867" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga6829a4d084cf7275d610c31928443867" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga30e6d57c776b790a42dffc32f1807344" > < td class = "memItemLeft" align = "right" valign = "top" > static < a class = "el" href = "a00059.html#ga15dbb44d023aee7525014e32c392922f" > qtmr_pwm_out_state_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga30e6d57c776b790a42dffc32f1807344" > QTMR_GetPwmOutputStatus< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel)< / td > < / tr >
< tr class = "memdesc:ga30e6d57c776b790a42dffc32f1807344" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get the channel output status. < a href = "#ga30e6d57c776b790a42dffc32f1807344" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga30e6d57c776b790a42dffc32f1807344" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gafa79fe21d65270ec7bae480289e9f0d3" > < td class = "memItemLeft" align = "right" valign = "top" > uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#gafa79fe21d65270ec7bae480289e9f0d3" > QTMR_GetPwmChannelStatus< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel)< / td > < / tr >
< tr class = "memdesc:gafa79fe21d65270ec7bae480289e9f0d3" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get the PWM channel dutycycle value. < a href = "#gafa79fe21d65270ec7bae480289e9f0d3" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gafa79fe21d65270ec7bae480289e9f0d3" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2e6a1a6d8fd0593fae5eb49e79b6b038" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ga2e6a1a6d8fd0593fae5eb49e79b6b038" > QTMR_SetPwmClockMode< / a > (TMR_Type *base, < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a > channel, < a class = "el" href = "a00059.html#ga4ea0a9cd8018f8b196ad804a9ff61a1d" > qtmr_primary_count_source_t< / a > prescaler)< / td > < / tr >
< tr class = "memdesc:ga2e6a1a6d8fd0593fae5eb49e79b6b038" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This function set the value of the prescaler on QTimer channels. < a href = "#ga2e6a1a6d8fd0593fae5eb49e79b6b038" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2e6a1a6d8fd0593fae5eb49e79b6b038" > < 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 = "a00446" id = "a00446" > < / a >
2023-08-31 15:30:31 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > struct _qtmr_config< / td >
2023-08-31 15:30:31 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< div class = "textblock" > < p > This structure holds the configuration settings for the Quad Timer peripheral. To initialize this structure to reasonable defaults, call the < a class = "el" href = "a00059.html#ga6f70f9eb710dde4743e8e9346dc41c65" title = "Fill in the Quad Timer config struct with the default settings. " > QTMR_GetDefaultConfig()< / a > function and pass a pointer to your config structure instance.< / p >
< p > The config struct can be made const so it resides in flash < / p >
< / div > < table class = "memberdecls" >
2023-08-31 15:30:31 +00:00
< tr > < td colspan = "2" > < h3 > Data Fields< / h3 > < / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr class = "memitem:a8b5e6734afe622b0b6d615e11713727e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a8b5e6734afe622b0b6d615e11713727e" > < / a >
< a class = "el" href = "a00059.html#ga4ea0a9cd8018f8b196ad804a9ff61a1d" > qtmr_primary_count_source_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#a8b5e6734afe622b0b6d615e11713727e" > primarySource< / a > < / td > < / tr >
< tr class = "memdesc:a8b5e6734afe622b0b6d615e11713727e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specify the primary count source. < br / > < / td > < / tr >
< tr class = "separator:a8b5e6734afe622b0b6d615e11713727e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a9a88fcdbf8b6bc148dda9d39c875816e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a9a88fcdbf8b6bc148dda9d39c875816e" > < / a >
< a class = "el" href = "a00059.html#ga29a19b9c732d02b9796b19f1641ba56d" > qtmr_input_source_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#a9a88fcdbf8b6bc148dda9d39c875816e" > secondarySource< / a > < / td > < / tr >
< tr class = "memdesc:a9a88fcdbf8b6bc148dda9d39c875816e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Specify the secondary count source. < br / > < / td > < / tr >
< tr class = "separator:a9a88fcdbf8b6bc148dda9d39c875816e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a1e5c968de0f19338cff26b5e709bbe89" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a1e5c968de0f19338cff26b5e709bbe89" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#a1e5c968de0f19338cff26b5e709bbe89" > enableMasterMode< / a > < / td > < / tr >
< tr class = "memdesc:a1e5c968de0f19338cff26b5e709bbe89" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > true: Broadcast compare function output to other counters; false no broadcast < br / > < / td > < / tr >
< tr class = "separator:a1e5c968de0f19338cff26b5e709bbe89" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ae7f7809dce8f13e991db067d186aa58e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ae7f7809dce8f13e991db067d186aa58e" > < / a >
bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#ae7f7809dce8f13e991db067d186aa58e" > enableExternalForce< / a > < / td > < / tr >
< tr class = "memdesc:ae7f7809dce8f13e991db067d186aa58e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > true: Compare from another counter force state of OFLAG signal false: OFLAG controlled by local counter < br / > < / td > < / tr >
< tr class = "separator:ae7f7809dce8f13e991db067d186aa58e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa767f2eba6a9fe9e0050f573abaac867" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aa767f2eba6a9fe9e0050f573abaac867" > < / a >
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#aa767f2eba6a9fe9e0050f573abaac867" > faultFilterCount< / a > < / td > < / tr >
< tr class = "memdesc:aa767f2eba6a9fe9e0050f573abaac867" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Fault filter count. < br / > < / td > < / tr >
< tr class = "separator:aa767f2eba6a9fe9e0050f573abaac867" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:a74fb769e26254cc0607048ffe9cd44e9" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "a74fb769e26254cc0607048ffe9cd44e9" > < / a >
uint8_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#a74fb769e26254cc0607048ffe9cd44e9" > faultFilterPeriod< / a > < / td > < / tr >
< tr class = "memdesc:a74fb769e26254cc0607048ffe9cd44e9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Fault filter period;value of 0 will bypass the filter. < br / > < / td > < / tr >
< tr class = "separator:a74fb769e26254cc0607048ffe9cd44e9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa9919266389d30cc15fc20f169465ec6" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "aa9919266389d30cc15fc20f169465ec6" > < / a >
< a class = "el" href = "a00059.html#ga03a31312296c3fbecc4385b1e7015c3d" > qtmr_debug_action_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00059.html#aa9919266389d30cc15fc20f169465ec6" > debugMode< / a > < / td > < / tr >
< tr class = "memdesc:aa9919266389d30cc15fc20f169465ec6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Operation in Debug mode. < br / > < / td > < / tr >
< tr class = "separator:aa9919266389d30cc15fc20f169465ec6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< h2 class = "groupheader" > Typedef Documentation< / h2 >
< a class = "anchor" id = "gae84e67660d634d68cefbe78429ead82f" > < / 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 struct < a class = "el" href = "a00059.html#a00446" > _qtmr_config< / a > < a class = "el" href = "a00059.html#gae84e67660d634d68cefbe78429ead82f" > qtmr_config_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
< p > This structure holds the configuration settings for the Quad Timer peripheral. To initialize this structure to reasonable defaults, call the < a class = "el" href = "a00059.html#ga6f70f9eb710dde4743e8e9346dc41c65" title = "Fill in the Quad Timer config struct with the default settings. " > QTMR_GetDefaultConfig()< / a > function and pass a pointer to your config structure instance.< / p >
< p > The config struct can be made const so it resides in flash < / p >
< / div >
< / div >
< h2 class = "groupheader" > Enumeration Type Documentation< / h2 >
< a class = "anchor" id = "gab3bfd4981be352afb53eba7403b283bc" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00059.html#gab3bfd4981be352afb53eba7403b283bc" > _qtmr_primary_count_source< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca82276acc1d08d80b29fa586ae3fe603d" > < / a > kQTMR_ClockCounter0InputPin< / em > < / td > < td class = "fielddoc" >
< p > Use counter 0 input pin. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca3ac60049c157df8139a7e926db1b923a" > < / a > kQTMR_ClockCounter1InputPin< / em > < / td > < td class = "fielddoc" >
< p > Use counter 1 input pin. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bcad0e59d8a4117a8850db9c0a8723cfc98" > < / a > kQTMR_ClockCounter2InputPin< / em > < / td > < td class = "fielddoc" >
< p > Use counter 2 input pin. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bcae80200a156049ee287f0d997c59ef226" > < / a > kQTMR_ClockCounter3InputPin< / em > < / td > < td class = "fielddoc" >
< p > Use counter 3 input pin. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca9240e72f468d64e2cdbe7fc2b9f0b67b" > < / a > kQTMR_ClockCounter0Output< / em > < / td > < td class = "fielddoc" >
< p > Use counter 0 output. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca072bed168beaf44bc8c7acca57984c56" > < / a > kQTMR_ClockCounter1Output< / em > < / td > < td class = "fielddoc" >
< p > Use counter 1 output. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca51ba38ae41469d5ed53b4803f174bf42" > < / a > kQTMR_ClockCounter2Output< / em > < / td > < td class = "fielddoc" >
< p > Use counter 2 output. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca70478379b0f446293d8b7df484de649c" > < / a > kQTMR_ClockCounter3Output< / em > < / td > < td class = "fielddoc" >
< p > Use counter 3 output. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca4c71c77d70c5a24b4e8f1ef386229558" > < / a > kQTMR_ClockDivide_1< / em > < / td > < td class = "fielddoc" >
< p > IP bus clock divide by 1 prescaler. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bcaa1804764d102bbd2ccfeff8000eda66e" > < / a > kQTMR_ClockDivide_2< / em > < / td > < td class = "fielddoc" >
< p > IP bus clock divide by 2 prescaler. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca1b95af06de1beefbc39e2d6566d39438" > < / a > kQTMR_ClockDivide_4< / em > < / td > < td class = "fielddoc" >
< p > IP bus clock divide by 4 prescaler. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca33a7f169f5152d281f1f4d60439e3b1d" > < / a > kQTMR_ClockDivide_8< / em > < / td > < td class = "fielddoc" >
< p > IP bus clock divide by 8 prescaler. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca0f286e5b68c7521941cf0e2909c5bc51" > < / a > kQTMR_ClockDivide_16< / em > < / td > < td class = "fielddoc" >
< p > IP bus clock divide by 16 prescaler. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bcaa4601397fa55cb677c65b64ebc7ca869" > < / a > kQTMR_ClockDivide_32< / em > < / td > < td class = "fielddoc" >
< p > IP bus clock divide by 32 prescaler. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bca831d3c0a294d561aafffd9730d728f60" > < / a > kQTMR_ClockDivide_64< / em > < / td > < td class = "fielddoc" >
< p > IP bus clock divide by 64 prescaler. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab3bfd4981be352afb53eba7403b283bcad70531180a310b63317cb4c426ddefdd" > < / a > kQTMR_ClockDivide_128< / em > < / td > < td class = "fielddoc" >
< p > IP bus clock divide by 128 prescaler. < / 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 = "ga937afaf81c45faac7536d280660fbdfc" > < / 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 = "a00059.html#ga937afaf81c45faac7536d280660fbdfc" > _qtmr_input_source< / a > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga937afaf81c45faac7536d280660fbdfca91da9d3d2dec949d2fbc696683a2bf48" > < / a > kQTMR_Counter0InputPin< / em > < / td > < td class = "fielddoc" >
< p > Use counter 0 input pin. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga937afaf81c45faac7536d280660fbdfca5cfa9210c1c07adfb38c8e93433f9be4" > < / a > kQTMR_Counter1InputPin< / em > < / td > < td class = "fielddoc" >
< p > Use counter 1 input pin. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga937afaf81c45faac7536d280660fbdfca9b0145605c71dbb24adcf87924f9a563" > < / a > kQTMR_Counter2InputPin< / em > < / td > < td class = "fielddoc" >
< p > Use counter 2 input pin. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga937afaf81c45faac7536d280660fbdfca24c791aa35fb4cf2fb2d623b309d20ab" > < / a > kQTMR_Counter3InputPin< / em > < / td > < td class = "fielddoc" >
< p > Use counter 3 input 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 = "ga39db6ba37356b9e81a0a77c28a982765" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00059.html#ga39db6ba37356b9e81a0a77c28a982765" > _qtmr_counting_mode< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga39db6ba37356b9e81a0a77c28a982765ac48116c1f656ee1cabe104f9c2c49843" > < / a > kQTMR_NoOperation< / em > < / td > < td class = "fielddoc" >
< p > No operation. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga39db6ba37356b9e81a0a77c28a982765acdbf5f143450aa0a9f3f0ab23baddc6b" > < / a > kQTMR_PriSrcRiseEdge< / em > < / td > < td class = "fielddoc" >
< p > Count rising edges of primary source. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga39db6ba37356b9e81a0a77c28a982765a44b92eb2c4c5227890f8f39a041301d3" > < / a > kQTMR_PriSrcRiseAndFallEdge< / em > < / td > < td class = "fielddoc" >
< p > Count rising and falling edges of primary source. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga39db6ba37356b9e81a0a77c28a982765a3ef3ad7ac6a8200fa20df9978bb2ae8d" > < / a > kQTMR_PriSrcRiseEdgeSecInpHigh< / em > < / td > < td class = "fielddoc" >
< p > Count rise edges of pri SRC while sec inp high active. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga39db6ba37356b9e81a0a77c28a982765ad3e02baca02a32350ca9da6ac7ceb5d8" > < / a > kQTMR_QuadCountMode< / em > < / td > < td class = "fielddoc" >
< p > Quadrature count mode, uses pri and sec sources. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga39db6ba37356b9e81a0a77c28a982765aa514bc2e0906a7cbab11373f3dea5e82" > < / a > kQTMR_PriSrcRiseEdgeSecDir< / em > < / td > < td class = "fielddoc" >
< p > Count rising edges of pri SRC; sec SRC specifies dir. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga39db6ba37356b9e81a0a77c28a982765abaec5373ab714b0b58ce2e56f79bbf8a" > < / a > kQTMR_SecSrcTrigPriCnt< / em > < / td > < td class = "fielddoc" >
< p > Edge of sec SRC trigger primary count until compare. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga39db6ba37356b9e81a0a77c28a982765aac99a0f3873161f9cf61f724f2a8570b" > < / a > kQTMR_CascadeCount< / em > < / td > < td class = "fielddoc" >
< p > Cascaded count mode (up/down) < / p >
< / td > < / tr >
< / table >
< / div >
< / div >
< a class = "anchor" id = "ga80b46a49c1eafaa150ad3dcc1a184223" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00059.html#ga80b46a49c1eafaa150ad3dcc1a184223" > _qtmr_pwm_out_state< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga80b46a49c1eafaa150ad3dcc1a184223ac1f1720b29f57f6bdf0364709f96a6c2" > < / a > kQTMR_PwmLow< / em > < / td > < td class = "fielddoc" >
< p > The output state of PWM channel is low. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga80b46a49c1eafaa150ad3dcc1a184223a74ea9af3309cfad4a8dc7bb86d334677" > < / a > kQTMR_PwmHigh< / em > < / td > < td class = "fielddoc" >
< p > The output state of PWM channel is low. < / p >
< / td > < / tr >
< / table >
< / div >
< / div >
< a class = "anchor" id = "gad68440a901fdac28c5e1521a5e6653b4" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00059.html#gad68440a901fdac28c5e1521a5e6653b4" > _qtmr_output_mode< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad68440a901fdac28c5e1521a5e6653b4a3a0003a83a00acc39a519d540c562472" > < / a > kQTMR_AssertWhenCountActive< / em > < / td > < td class = "fielddoc" >
< p > Assert OFLAG while counter is active. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad68440a901fdac28c5e1521a5e6653b4a0716e351e1601a6f246f253543e3f03c" > < / a > kQTMR_ClearOnCompare< / em > < / td > < td class = "fielddoc" >
< p > Clear OFLAG on successful compare. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad68440a901fdac28c5e1521a5e6653b4a9d03a8a577e26d75ee7fe69315faf1f9" > < / a > kQTMR_SetOnCompare< / em > < / td > < td class = "fielddoc" >
< p > Set OFLAG on successful compare. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad68440a901fdac28c5e1521a5e6653b4ae637b16574eb8e2a91a873f871eb0a0a" > < / a > kQTMR_ToggleOnCompare< / em > < / td > < td class = "fielddoc" >
< p > Toggle OFLAG on successful compare. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad68440a901fdac28c5e1521a5e6653b4af61b88d5df6ecf7a701d1381ea81e5be" > < / a > kQTMR_ToggleOnAltCompareReg< / em > < / td > < td class = "fielddoc" >
< p > Toggle OFLAG using alternating compare registers. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad68440a901fdac28c5e1521a5e6653b4a4e2267dadc673ed9f31574be79999a0a" > < / a > kQTMR_SetOnCompareClearOnSecSrcInp< / em > < / td > < td class = "fielddoc" >
< p > Set OFLAG on compare, clear on sec SRC input edge. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad68440a901fdac28c5e1521a5e6653b4a3f3c1f9871e91f82842b1cae3bd0ea74" > < / a > kQTMR_SetOnCompareClearOnCountRoll< / em > < / td > < td class = "fielddoc" >
< p > Set OFLAG on compare, clear on counter rollover. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggad68440a901fdac28c5e1521a5e6653b4ae2d75e2129f79fe404497e7910cde617" > < / a > kQTMR_EnableGateClock< / em > < / td > < td class = "fielddoc" >
< p > Enable gated clock output while count is active. < / p >
< / td > < / tr >
< / table >
< / div >
< / div >
< a class = "anchor" id = "ga857879871ef5138a23b04b9c060b0040" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00059.html#ga857879871ef5138a23b04b9c060b0040" > _qtmr_input_capture_edge< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga857879871ef5138a23b04b9c060b0040a07866622cc0be666818813ab0dc2be5e" > < / a > kQTMR_NoCapture< / em > < / td > < td class = "fielddoc" >
< p > Capture is disabled. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga857879871ef5138a23b04b9c060b0040a81a4074fdc9fd23cdc31fce8a567d3f4" > < / a > kQTMR_RisingEdge< / em > < / td > < td class = "fielddoc" >
< p > Capture on rising edge (IPS=0) or falling edge (IPS=1) < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga857879871ef5138a23b04b9c060b0040a9025803f5cbc483bbdd89f0846db2337" > < / a > kQTMR_FallingEdge< / em > < / td > < td class = "fielddoc" >
< p > Capture on falling edge (IPS=0) or rising edge (IPS=1) < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga857879871ef5138a23b04b9c060b0040a593937a67ae2969cdfe81595b2177322" > < / a > kQTMR_RisingAndFallingEdge< / em > < / td > < td class = "fielddoc" >
< p > Capture on both edges. < / p >
< / td > < / tr >
< / table >
< / div >
< / div >
< a class = "anchor" id = "ga5dd25a95c7a1bdf0e36a01ebc0587c4e" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00059.html#ga5dd25a95c7a1bdf0e36a01ebc0587c4e" > _qtmr_preload_control< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga5dd25a95c7a1bdf0e36a01ebc0587c4eab3811976a0c8cd3db181c6c4ebca3069" > < / a > kQTMR_NoPreload< / em > < / td > < td class = "fielddoc" >
< p > Never preload. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga5dd25a95c7a1bdf0e36a01ebc0587c4eae32eaef33171ecb9d78f14a615dec69d" > < / a > kQTMR_LoadOnComp1< / em > < / td > < td class = "fielddoc" >
< p > Load upon successful compare with value in COMP1. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga5dd25a95c7a1bdf0e36a01ebc0587c4eadb0a17be2615493630d0417d46a53a0e" > < / a > kQTMR_LoadOnComp2< / em > < / td > < td class = "fielddoc" >
< p > Load upon successful compare with value in COMP2. < / p >
< / td > < / tr >
< / table >
< / div >
< / div >
< a class = "anchor" id = "ga532f4a66c418536b2686e4a2d1e67a6a" > < / 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 = "a00059.html#ga532f4a66c418536b2686e4a2d1e67a6a" > _qtmr_debug_action< / a > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< 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 = "gga532f4a66c418536b2686e4a2d1e67a6aae5ba29aa5fdf66f740155d11670573ad" > < / a > kQTMR_RunNormalInDebug< / em > < / td > < td class = "fielddoc" >
< p > Continue with normal operation. < / p >
2022-08-23 15:00:33 +00:00
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga532f4a66c418536b2686e4a2d1e67a6aadfeee3fa9d7c79e56a089d4e5f12754b" > < / a > kQTMR_HaltCounter< / em > < / td > < td class = "fielddoc" >
< p > Halt counter. < / p >
2022-08-23 15:00:33 +00:00
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga532f4a66c418536b2686e4a2d1e67a6aaf322d8a7ffa91765fde1077777e3c845" > < / a > kQTMR_ForceOutToZero< / em > < / td > < td class = "fielddoc" >
< p > Force output to logic 0. < / p >
2022-08-23 15:00:33 +00:00
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga532f4a66c418536b2686e4a2d1e67a6aa582ee8204977e8792431b0a8e1df4bbf" > < / a > kQTMR_HaltCountForceOutZero< / em > < / td > < td class = "fielddoc" >
< p > Halt counter and force output to logic 0. < / p >
2022-08-23 15:00:33 +00:00
< / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "gaec176a0736feee83cd0a5ba639ecf49e" > < / a >
2023-08-31 15:30:31 +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 = "a00059.html#gaec176a0736feee83cd0a5ba639ecf49e" > _qtmr_interrupt_enable< / a > < / td >
2023-08-31 15:30:31 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< 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 = "ggaec176a0736feee83cd0a5ba639ecf49ead62e3868b70dfceab5f0efe7508ad549" > < / a > kQTMR_CompareInterruptEnable< / em > < / td > < td class = "fielddoc" >
< p > Compare interrupt. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaec176a0736feee83cd0a5ba639ecf49ea60998249ab3a57bedcafe6423fc33cc5" > < / a > kQTMR_Compare1InterruptEnable< / em > < / td > < td class = "fielddoc" >
< p > Compare 1 interrupt. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaec176a0736feee83cd0a5ba639ecf49ea9d2f4a4ad09245fea4bd6449b74365b9" > < / a > kQTMR_Compare2InterruptEnable< / em > < / td > < td class = "fielddoc" >
< p > Compare 2 interrupt. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaec176a0736feee83cd0a5ba639ecf49ead4a0db29d76733779c01466d76c15749" > < / a > kQTMR_OverflowInterruptEnable< / em > < / td > < td class = "fielddoc" >
< p > Timer overflow interrupt. < / p >
2022-08-23 15:00:33 +00:00
< / td > < / tr >
2024-03-15 14:23:36 +00:00
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaec176a0736feee83cd0a5ba639ecf49ea8267b0a66e5a77686cb760376c7f8885" > < / a > kQTMR_EdgeInterruptEnable< / em > < / td > < td class = "fielddoc" >
< p > Input edge interrupt. < / p >
2022-08-23 15:00:33 +00:00
< / td > < / tr >
2023-08-31 15:30:31 +00:00
< / table >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "gafd14e0162c8813ed61f926cfb64a2738" > < / a >
2023-08-31 15:30:31 +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 = "a00059.html#gafd14e0162c8813ed61f926cfb64a2738" > _qtmr_status_flags< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggafd14e0162c8813ed61f926cfb64a2738a409aa72557c34591ad293136dc57bbd8" > < / a > kQTMR_CompareFlag< / em > < / td > < td class = "fielddoc" >
< p > Compare flag. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggafd14e0162c8813ed61f926cfb64a2738a6a6cc5fb43d34289b2a0ffe0f7e29c6b" > < / a > kQTMR_Compare1Flag< / em > < / td > < td class = "fielddoc" >
< p > Compare 1 flag. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggafd14e0162c8813ed61f926cfb64a2738a9891c08b2e3124af1e79180ee1d052f7" > < / a > kQTMR_Compare2Flag< / em > < / td > < td class = "fielddoc" >
< p > Compare 2 flag. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggafd14e0162c8813ed61f926cfb64a2738ac3330de0db5003ed7fe15a5f72f6fe73" > < / a > kQTMR_OverflowFlag< / em > < / td > < td class = "fielddoc" >
< p > Timer overflow flag. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggafd14e0162c8813ed61f926cfb64a2738af4e7b95463c8e1d2f568c7062314be71" > < / a > kQTMR_EdgeFlag< / em > < / td > < td class = "fielddoc" >
< p > Input edge flag. < / p >
< / td > < / tr >
< / table >
< / div >
< / div >
< a class = "anchor" id = "ga5b6e8eef3ce5c6ea523c4c608340bf58" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00059.html#ga5b6e8eef3ce5c6ea523c4c608340bf58" > _qtmr_channel_selection< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga5b6e8eef3ce5c6ea523c4c608340bf58aa45014ee1078e4a1471e6a637c9b3fca" > < / a > kQTMR_Channel_0< / em > < / td > < td class = "fielddoc" >
< p > TMR Channel 0. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga5b6e8eef3ce5c6ea523c4c608340bf58ae9ad347957a75c32c4ee19666b511247" > < / a > kQTMR_Channel_1< / em > < / td > < td class = "fielddoc" >
< p > TMR Channel 1. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga5b6e8eef3ce5c6ea523c4c608340bf58a74987baa3ad6b998e75cd16c1df69c26" > < / a > kQTMR_Channel_2< / em > < / td > < td class = "fielddoc" >
< p > TMR Channel 2. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga5b6e8eef3ce5c6ea523c4c608340bf58a82e08b122bf226f69d3c1c9cafc9931f" > < / a > kQTMR_Channel_3< / em > < / td > < td class = "fielddoc" >
< p > TMR Channel 3. < / p >
< / td > < / tr >
< / table >
< / div >
< / div >
< a class = "anchor" id = "gadcb7a886a15b92ad93076228968549fe" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > enum < a class = "el" href = "a00059.html#gadcb7a886a15b92ad93076228968549fe" > _qtmr_dma_enable< / a > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadcb7a886a15b92ad93076228968549fea73d036ed01f812c118bc50b27f36cdc7" > < / a > kQTMR_InputEdgeFlagDmaEnable< / em > < / td > < td class = "fielddoc" >
< p > Input Edge Flag DMA Enable. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadcb7a886a15b92ad93076228968549feaaef33e58d8247771b5e594c14ca5b571" > < / a > kQTMR_ComparatorPreload1DmaEnable< / em > < / td > < td class = "fielddoc" >
< p > Comparator Preload Register 1 DMA Enable. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadcb7a886a15b92ad93076228968549feaf414da5b48883e81009734f59b546624" > < / a > kQTMR_ComparatorPreload2DmaEnable< / em > < / td > < td class = "fielddoc" >
< p > Comparator Preload Register 2 DMA Enable. < / p >
< / td > < / tr >
< / table >
< / div >
< / div >
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "gab784ac72bb2bf452ffca29053b05fa7c" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void QTMR_Init < / td >
< td > (< / td >
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > const < a class = "el" href = "a00059.html#gae84e67660d634d68cefbe78429ead82f" > qtmr_config_t< / a > *  < / td >
< td class = "paramname" > < em > config< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "section note" > < dt > Note< / dt > < dd > This API should be called at the beginning of the application using the Quad Timer driver.< / dd > < / dl >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > config< / td > < td > Pointer to user's Quad Timer config structure < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "gaa15a9d1613394d4715f3fc600626e3cc" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void QTMR_Deinit < / td >
< td > (< / td >
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga6f70f9eb710dde4743e8e9346dc41c65" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void QTMR_GetDefaultConfig < / td >
< td > (< / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#gae84e67660d634d68cefbe78429ead82f" > qtmr_config_t< / a > *  < / td >
< td class = "paramname" > < em > config< / em > < / td > < td > )< / td >
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > The default values are: < / p >
< div class = "fragment" > < div class = "line" > * config-> debugMode = < a class = "code" href = "a00059.html#gga532f4a66c418536b2686e4a2d1e67a6aae5ba29aa5fdf66f740155d11670573ad" > kQTMR_RunNormalInDebug< / a > ;< / div >
< div class = "line" > * config-> enableExternalForce = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> enableMasterMode = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> faultFilterCount = 0;< / div >
< div class = "line" > * config-> faultFilterPeriod = 0;< / div >
< div class = "line" > * config-> primarySource = < a class = "code" href = "a00059.html#ggab3bfd4981be352afb53eba7403b283bcaa1804764d102bbd2ccfeff8000eda66e" > kQTMR_ClockDivide_2< / a > ;< / div >
< div class = "line" > * config-> secondarySource = < a class = "code" href = "a00059.html#gga937afaf81c45faac7536d280660fbdfca91da9d3d2dec949d2fbc696683a2bf48" > kQTMR_Counter0InputPin< / a > ;< / div >
< div class = "line" > * < / div >
< / div > <!-- fragment --> < dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > config< / td > < td > Pointer to user's Quad Timer config structure. < / td > < / tr >
< / table >
< / dd >
< / dl >
< / div >
< / div >
< a class = "anchor" id = "ga364220c9fcdf15f102e60c7c76041c06" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > < a class = "el" href = "a00260.html#gaaabdaf7ee58ca7269bd4bf24efcde092" > status_t< / a > QTMR_SetupPwm < / td >
< td > (< / td >
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > pwmFreqHz< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint8_t  < / td >
< td class = "paramname" > < em > dutyCyclePercent< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > outputPolarity< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > srcClock_Hz< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< p > The function initializes the timer module according to the parameters passed in by the user. The function also sets up the value compare registers to match the PWM signal requirements.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > pwmFreqHz< / td > < td > PWM signal frequency in Hz < / td > < / tr >
< tr > < td class = "paramname" > dutyCyclePercent< / td > < td > PWM pulse width, value should be between 0 to 100 0=inactive signal(0% duty cycle)... 100=active signal (100% duty cycle) < / td > < / tr >
< tr > < td class = "paramname" > outputPolarity< / td > < td > true: invert polarity of the output signal, false: no inversion < / td > < / tr >
< tr > < td class = "paramname" > srcClock_Hz< / td > < td > Main counter clock in Hz.< / td > < / tr >
< / table >
< / dd >
< / dl >
< dl class = "section return" > < dt > Returns< / dt > < dd > Returns an error if there was error setting up the signal. < / dd > < / dl >
< / div >
< / div >
< a class = "anchor" id = "gaab1b216e8bae644b8027cf8eaa4e2964" > < / a >
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
< td class = "memname" > void QTMR_SetupInputCapture < / td >
< td > (< / td >
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga29a19b9c732d02b9796b19f1641ba56d" > qtmr_input_source_t< / a >   < / td >
< td class = "paramname" > < em > capturePin< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > inputPolarity< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > reloadOnCapture< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#gaeb2189cc6676aa1378284a31db029320" > qtmr_input_capture_edge_t< / a >   < / td >
< td class = "paramname" > < em > captureMode< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2023-08-31 15:30:31 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< p > The count is stored in the capture register.< / p >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > capturePin< / td > < td > Pin through which we receive the input signal to trigger the capture < / td > < / tr >
< tr > < td class = "paramname" > inputPolarity< / td > < td > true: invert polarity of the input signal, false: no inversion < / td > < / tr >
< tr > < td class = "paramname" > reloadOnCapture< / td > < td > true: reload the counter when an input capture occurs, false: no reload < / td > < / tr >
< tr > < td class = "paramname" > captureMode< / td > < td > Specifies which edge of the input signal triggers a capture < / td > < / tr >
< / table >
< / dd >
< / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga4756ec6b825cde8eecd0287591885985" > < / 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" > void QTMR_EnableInterrupts < / td >
< td > (< / td >
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< 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 = "a00059.html#gaee1dc71bd7c5508840a81a232e90815c" title = "List of Quad Timer interrupts. " > qtmr_interrupt_enable_t< / a > < / td > < / tr >
< / table >
< / dd >
< / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga7245d99b70c9df88a8ee0756913ac179" > < / 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" > void QTMR_DisableInterrupts < / td >
< td > (< / td >
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base addres < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< 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 = "a00059.html#gaee1dc71bd7c5508840a81a232e90815c" title = "List of Quad Timer interrupts. " > qtmr_interrupt_enable_t< / a > < / td > < / tr >
< / table >
< / dd >
< / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "gafe580603d4441b8a2101ca86485c517c" > < / 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" > uint32_t QTMR_GetEnabledInterrupts < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em >   < / td >
< / tr >
< tr >
2022-08-23 15:00:33 +00:00
< td > < / td >
2024-03-15 14:23:36 +00:00
< td > )< / td >
< td > < / td > < td > < / 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 = "params" > < dt > Parameters< / dt > < dd >
2022-08-23 15:00:33 +00:00
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number< / 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 = "a00059.html#gaee1dc71bd7c5508840a81a232e90815c" title = "List of Quad Timer interrupts. " > qtmr_interrupt_enable_t< / a > < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga89d05673c74e2f8ccc6c5cbecdab962c" > < / 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" > uint32_t QTMR_GetStatus < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
2023-08-31 15:30:31 +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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em >   < / td >
2023-08-31 15:30:31 +00:00
< / 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 >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
2022-08-23 15:00:33 +00:00
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number< / 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 status flags. This is the logical OR of members of the enumeration < a class = "el" href = "a00059.html#ga49b9b59613b425acee4f72354fada89c" title = "List of Quad Timer flags. " > qtmr_status_flags_t< / a > < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "gac453dce78b2f4079aacbb02d857273ae" > < / 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" > void QTMR_ClearStatusFlags < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
< / tr >
< tr >
2022-08-23 15:00:33 +00:00
< td > < / td >
2024-03-15 14:23:36 +00:00
< 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" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > The status flags to clear. This is a logical OR of members of the enumeration < a class = "el" href = "a00059.html#ga49b9b59613b425acee4f72354fada89c" title = "List of Quad Timer flags. " > qtmr_status_flags_t< / a > < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga1d1fe996963cd527aabb034888e994b4" > < / 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" > void QTMR_SetTimerPeriod < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16_t  < / td >
< td class = "paramname" > < em > ticks< / em >   < / td >
< / tr >
< tr >
2022-08-23 15:00:33 +00:00
< td > < / td >
2024-03-15 14:23:36 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< p > Timers counts from initial value till it equals the count value set here. The counter will then reinitialize to the value specified in the Load register.< / p >
< dl class = "section note" > < dt > Note< / dt > < dd > < ol type = "1" >
< li > This function will write the time period in ticks to COMP1 or COMP2 register depending on the count direction< / li >
< li > User can call the utility macros provided in fsl_common.h to convert to ticks< / li >
< li > This function supports cases, providing only primary source clock without secondary source clock.< / li >
< / ol >
< / dd > < / dl >
2022-08-23 15:00:33 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > ticks< / td > < td > Timer period in units of ticks < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga9764da43797074b65a4689a6df999cba" > < / 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" > void QTMR_SetCompareValue < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16_t  < / td >
< td class = "paramname" > < em > ticks< / em >   < / td >
< / tr >
< tr >
2022-08-23 15:00:33 +00:00
< td > < / td >
2024-03-15 14:23:36 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< p > This function sets the value used for comparison with the counter value.< / p >
2022-08-23 15:00:33 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > ticks< / td > < td > Timer period in units of ticks. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga3db9e42ab0f483438a720139353937f7" > < / 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 void QTMR_SetLoadValue < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
2023-08-31 15:30:31 +00:00
< 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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint16_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" >
2024-03-15 14:23:36 +00:00
< p > This function sets the value used to initialize the counter after a counter comparison.< / p >
2022-08-23 15:00:33 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > value< / td > < td > Load register initialization value. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga1691975f2406bcaf64a24a065dd2c679" > < / 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 uint16_t QTMR_GetCurrentTimerCount < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
2023-08-31 15:30:31 +00:00
< 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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< 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" >
2024-03-15 14:23:36 +00:00
< p > This function returns the real-time timer counting value, in a range from 0 to a timer period.< / p >
< dl class = "section note" > < dt > Note< / dt > < dd > User can call the utility macros provided in fsl_common.h to convert ticks to usec or msec< / dd > < / dl >
2022-08-23 15:00:33 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number< / 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 > Current counter value in ticks < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga14d9ab0215127155e559a9f98f4fc7f4" > < / 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 void QTMR_StartTimer < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0a1bd60ca351335e5a8af99101339249" > qtmr_counting_mode_t< / a >   < / td >
< td class = "paramname" > < em > clockSource< / em >   < / td >
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< / table >
2023-08-31 15:30:31 +00:00
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
2022-08-23 15:00:33 +00:00
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
2022-08-23 15:00:33 +00:00
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > clockSource< / td > < td > Quad Timer clock source < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "gad1a85cff4fe7e16d497b59d9fea2ad58" > < / 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 void QTMR_StopTimer < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
2023-08-31 15:30:31 +00:00
< 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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< 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" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga73b23acbae47d427ea8513cfb239e32d" > < / 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" > void QTMR_EnableDma < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
2023-08-31 15:30:31 +00:00
< 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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
2024-03-15 14:23:36 +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 >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > The DMA to enable. This is a logical OR of members of the enumeration < a class = "el" href = "a00059.html#gaa733a25624223009d265d8d68051896e" title = "List of Quad Timer DMA enable. " > qtmr_dma_enable_t< / a > < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga0645602d837cd4e7ad7e8d80dbf3ffae" > < / 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" > void QTMR_DisableDma < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
2023-08-31 15:30:31 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
2022-08-23 15:00:33 +00:00
< / tr >
2024-03-15 14:23:36 +00:00
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
2022-08-23 15:00:33 +00:00
< 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 >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
2022-08-23 15:00:33 +00:00
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > The DMA to enable. This is a logical OR of members of the enumeration < a class = "el" href = "a00059.html#gaa733a25624223009d265d8d68051896e" title = "List of Quad Timer DMA enable. " > qtmr_dma_enable_t< / a > < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga6829a4d084cf7275d610c31928443867" > < / 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" > void QTMR_SetPwmOutputToIdle < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
2023-08-31 15:30:31 +00:00
< 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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > bool  < / td >
< td class = "paramname" > < em > idleStatus< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-15 14:23:36 +00:00
< dl class = "section note" > < dt > Note< / dt > < dd > When the PWM is set again, the counting needs to be restarted.< / dd > < / dl >
2022-08-23 15:00:33 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > idleStatus< / td > < td > True: PWM output is high in idle status; false: PWM output is low in idle status. < / td > < / tr >
2022-08-23 15:00:33 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga30e6d57c776b790a42dffc32f1807344" > < / 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 = "a00059.html#ga15dbb44d023aee7525014e32c392922f" > qtmr_pwm_out_state_t< / a > QTMR_GetPwmOutputStatus < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
2023-08-31 15:30:31 +00:00
< 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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< 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" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number< / 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 > Current channel output status. < / dd > < / dl >
2022-08-23 15:00:33 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "gafa79fe21d65270ec7bae480289e9f0d3" > < / 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" > uint8_t QTMR_GetPwmChannelStatus < / td >
2022-08-23 15:00:33 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_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 = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em >   < / td >
2022-08-23 15:00:33 +00:00
< / tr >
< tr >
< td > < / td >
2024-03-15 14:23:36 +00:00
< 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" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number< / 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 > Current channel dutycycle value. < / dd > < / dl >
2023-08-31 15:30:31 +00:00
< / div >
< / div >
2024-03-15 14:23:36 +00:00
< a class = "anchor" id = "ga2e6a1a6d8fd0593fae5eb49e79b6b038" > < / a >
2023-08-31 15:30:31 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-15 14:23:36 +00:00
< td class = "memname" > void QTMR_SetPwmClockMode < / td >
2023-08-31 15:30:31 +00:00
< td > (< / td >
2024-03-15 14:23:36 +00:00
< td class = "paramtype" > TMR_Type *  < / td >
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga0d1e97f6d2595ce1be1f4db4c763f8b9" > qtmr_channel_selection_t< / a >   < / td >
< td class = "paramname" > < em > channel< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > < a class = "el" href = "a00059.html#ga4ea0a9cd8018f8b196ad804a9ff61a1d" > qtmr_primary_count_source_t< / a >   < / td >
< td class = "paramname" > < em > prescaler< / em >   < / td >
< / tr >
< tr >
2023-08-31 15:30:31 +00:00
< td > < / td >
2024-03-15 14:23:36 +00:00
< td > )< / td >
< td > < / td > < td > < / td >
2023-08-31 15:30:31 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-15 14:23:36 +00:00
< tr > < td class = "paramname" > base< / td > < td > Quad Timer peripheral base address < / td > < / tr >
< tr > < td class = "paramname" > channel< / td > < td > Quad Timer channel number < / td > < / tr >
< tr > < td class = "paramname" > prescaler< / td > < td > Set prescaler value < / 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 >