2022-04-08 14:46:35 +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-18 15:15:10 +00:00
< title > MCUXpresso SDK API Reference Manual: TSC: Touch Screen Controller Driver< / title >
2022-04-08 14:46:35 +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-18 15:15:10 +00:00
  < span id = "projectnumber" > Rev 2.15.000< / span >
2022-04-08 14:46:35 +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('a00081.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 > |
< a href = "#define-members" > Macros< / a > |
2023-11-30 12:55:00 +00:00
< a href = "#typedef-members" > Typedefs< / a > |
2024-03-18 15:15:10 +00:00
< a href = "#enum-members" > Enumerations< / a > |
< a href = "#func-members" > Functions< / a > < / div >
2022-04-08 14:46:35 +00:00
< div class = "headertitle" >
2024-03-18 15:15:10 +00:00
< div class = "title" > TSC: Touch Screen Controller Driver< / div > < / div >
2022-04-08 14:46:35 +00:00
< / div > <!-- header -->
< div class = "contents" >
< a name = "details" id = "details" > < / a > < h2 class = "groupheader" > Overview< / h2 >
2024-03-18 15:15:10 +00:00
< p > The MCUXpresso SDK provides a peripheral driver for the Touch Screen Controller(TSC) module of MCUXpresso SDK devices.< / p >
< h1 > < a class = "anchor" id = "TSCTpyUC" > < / a >
2023-11-30 12:55:00 +00:00
Typical use case< / h1 >
2024-03-18 15:15:10 +00:00
< h2 > < a class = "anchor" id = "TSCPolConfig" > < / a >
4-wire Polling Configuration< / h2 >
< p > Refer to the driver examples codes located at < SDK_ROOT> /boards/< BOARD> /driver_examples/fsl_tsc < / p >
< h2 > < a class = "anchor" id = "TSCIntConfig" > < / a >
4-wire Interrupt Configuration< / h2 >
< p > Refer to the driver examples codes located at < SDK_ROOT> /boards/< BOARD> /driver_examples/fsl_tsc < / p >
2022-04-08 14:46:35 +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-18 15:15:10 +00:00
< tr class = "memitem:a00535" > < td class = "memItemLeft" align = "right" valign = "top" > struct   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#a00535" > _tsc_config< / a > < / td > < / tr >
< tr class = "memdesc:a00535" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Controller configuration. < a href = "a00081.html#a00535" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a00535" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "define-members" > < / a >
Macros< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga6266bb792d57f73341a5565bad036f09" > < td class = "memItemLeft" align = "right" valign = "top" > #define  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga6266bb792d57f73341a5565bad036f09" > FSL_TSC_DRIVER_VERSION< / a >       (< a class = "el" href = "a00272.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 0, 3))< / td > < / tr >
< tr class = "memdesc:ga6266bb792d57f73341a5565bad036f09" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > TSC driver version. < a href = "#ga6266bb792d57f73341a5565bad036f09" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga6266bb792d57f73341a5565bad036f09" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table > < table class = "memberdecls" >
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "typedef-members" > < / a >
Typedefs< / h2 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:ga415d88a032e8c9990211517e9f8211ad" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga415d88a032e8c9990211517e9f8211ad" > < / a >
typedef enum < a class = "el" href = "a00081.html#ga88d6e4a7fc0067523f788700eca3582c" > _tsc_detection_mode< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga415d88a032e8c9990211517e9f8211ad" > tsc_detection_mode_t< / a > < / td > < / tr >
< tr class = "memdesc:ga415d88a032e8c9990211517e9f8211ad" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Controller detection mode. < br / > < / td > < / tr >
< tr class = "separator:ga415d88a032e8c9990211517e9f8211ad" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga8a5f6725f4bb29f58664a994957837e5" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga8a5f6725f4bb29f58664a994957837e5" > < / a >
typedef enum < br class = "typebreak" / >
< a class = "el" href = "a00081.html#ga9b786694ed3559d339abe3eb2de44c87" > _tsc_corrdinate_value_selection< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga8a5f6725f4bb29f58664a994957837e5" > tsc_corrdinate_value_selection_t< / a > < / td > < / tr >
< tr class = "memdesc:ga8a5f6725f4bb29f58664a994957837e5" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Coordinate value mask. < br / > < / td > < / tr >
< tr class = "separator:ga8a5f6725f4bb29f58664a994957837e5" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga66db0c0355fdea3f50653e0499edbb0e" > < td class = "memItemLeft" align = "right" valign = "top" > typedef enum < a class = "el" href = "a00081.html#gaa83b5325a8bd3e65ef6b650d0bb171ac" > _tsc_state_machine< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga66db0c0355fdea3f50653e0499edbb0e" > tsc_state_machine_t< / a > < / td > < / tr >
< tr class = "memdesc:ga66db0c0355fdea3f50653e0499edbb0e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > TSC state machine. < a href = "#ga66db0c0355fdea3f50653e0499edbb0e" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga66db0c0355fdea3f50653e0499edbb0e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa5175373d1e4dd5151d67ec58e8803a4" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gaa5175373d1e4dd5151d67ec58e8803a4" > < / a >
typedef enum < a class = "el" href = "a00081.html#ga32d4c4dff942935adf1d819db678e0de" > _tsc_glitch_threshold< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gaa5175373d1e4dd5151d67ec58e8803a4" > tsc_glitch_threshold_t< / a > < / td > < / tr >
< tr class = "memdesc:gaa5175373d1e4dd5151d67ec58e8803a4" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > TSC glitch threshold. < br / > < / td > < / tr >
< tr class = "separator:gaa5175373d1e4dd5151d67ec58e8803a4" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga32dd5f839312be70f6f93d2642524cb0" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga32dd5f839312be70f6f93d2642524cb0" > < / a >
typedef enum < a class = "el" href = "a00081.html#ga242090159afbd6328751f214ed9e424a" > _tsc_trigger_signal< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga32dd5f839312be70f6f93d2642524cb0" > tsc_trigger_signal_t< / a > < / td > < / tr >
< tr class = "memdesc:ga32dd5f839312be70f6f93d2642524cb0" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Hardware trigger select signal, select which ADC channel to start conversion. < br / > < / td > < / tr >
< tr class = "separator:ga32dd5f839312be70f6f93d2642524cb0" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5947147d518cd780719a188b18b0b29e" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga5947147d518cd780719a188b18b0b29e" > < / a >
typedef enum < a class = "el" href = "a00081.html#ga551c3222089abda2f4f15dda679ebcff" > _tsc_port_source< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga5947147d518cd780719a188b18b0b29e" > tsc_port_source_t< / a > < / td > < / tr >
< tr class = "memdesc:ga5947147d518cd780719a188b18b0b29e" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ TSC controller ports. < br / > < / td > < / tr >
< tr class = "separator:ga5947147d518cd780719a188b18b0b29e" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga62ca2e60a15289b2d224bc44278470ce" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "ga62ca2e60a15289b2d224bc44278470ce" > < / a >
typedef enum < a class = "el" href = "a00081.html#gaf1eebdf2c978880902605bfff625e633" > _tsc_port_mode< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga62ca2e60a15289b2d224bc44278470ce" > tsc_port_mode_t< / a > < / td > < / tr >
< tr class = "memdesc:ga62ca2e60a15289b2d224bc44278470ce" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ TSC port mode. < br / > < / td > < / tr >
< tr class = "separator:ga62ca2e60a15289b2d224bc44278470ce" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf2f1fd080e23b245213e9e4e4e92acbc" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "anchor" id = "gaf2f1fd080e23b245213e9e4e4e92acbc" > < / a >
typedef struct < a class = "el" href = "a00081.html#a00535" > _tsc_config< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gaf2f1fd080e23b245213e9e4e4e92acbc" > tsc_config_t< / a > < / td > < / tr >
< tr class = "memdesc:gaf2f1fd080e23b245213e9e4e4e92acbc" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Controller configuration. < br / > < / td > < / tr >
< tr class = "separator:gaf2f1fd080e23b245213e9e4e4e92acbc" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +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-18 15:15:10 +00:00
< tr class = "memitem:ga88d6e4a7fc0067523f788700eca3582c" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga88d6e4a7fc0067523f788700eca3582c" > _tsc_detection_mode< / a > { < br / >
    < a class = "el" href = "a00081.html#gga88d6e4a7fc0067523f788700eca3582ca6729342cd2b777d043dc508b21828553" > kTSC_Detection4WireMode< / a > = 0U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga88d6e4a7fc0067523f788700eca3582cac30abbb1702e84a2197714d37bc90443" > kTSC_Detection5WireMode< / a > = 1U
2022-04-08 14:46:35 +00:00
< br / >
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:ga88d6e4a7fc0067523f788700eca3582c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Controller detection mode. < a href = "a00081.html#ga88d6e4a7fc0067523f788700eca3582c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga88d6e4a7fc0067523f788700eca3582c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga9b786694ed3559d339abe3eb2de44c87" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga9b786694ed3559d339abe3eb2de44c87" > _tsc_corrdinate_value_selection< / a > { < br / >
    < a class = "el" href = "a00081.html#gga9b786694ed3559d339abe3eb2de44c87afb5a7d2f1383372497598fc19deeaabf" > kTSC_XCoordinateValueSelection< / a > = 0U,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga9b786694ed3559d339abe3eb2de44c87a9ac47cb685b7fa594b738ccbe3488587" > kTSC_YCoordinateValueSelection< / a > = 1U
2022-04-08 14:46:35 +00:00
< br / >
2023-11-30 12:55:00 +00:00
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:ga9b786694ed3559d339abe3eb2de44c87" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Coordinate value mask. < a href = "a00081.html#ga9b786694ed3559d339abe3eb2de44c87" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga9b786694ed3559d339abe3eb2de44c87" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga655702c8839e0c94717d485d9a10a67d" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga655702c8839e0c94717d485d9a10a67d" > _tsc_interrupt_signal_mask< / a > { < br / >
    < a class = "el" href = "a00081.html#gga655702c8839e0c94717d485d9a10a67da4fb712d94c480d0119d469de34503df9" > kTSC_IdleSoftwareSignalEnable< / a > = TSC_INT_SIG_EN_IDLE_SW_SIG_EN_MASK,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga655702c8839e0c94717d485d9a10a67da79fee3ba7ac2615e17955268b640ad57" > kTSC_ValidSignalEnable< / a > = TSC_INT_SIG_EN_VALID_SIG_EN_MASK,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga655702c8839e0c94717d485d9a10a67da7395931f390785e4f0df7acf807e4eb8" > kTSC_DetectSignalEnable< / a > ,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga655702c8839e0c94717d485d9a10a67da7967ee367ee2b5eb5ba112a8ad23e1a2" > kTSC_MeasureSignalEnable< / a > = TSC_INT_SIG_EN_MEASURE_SIG_EN_MASK
2022-04-08 14:46:35 +00:00
< br / >
2023-11-30 12:55:00 +00:00
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:ga655702c8839e0c94717d485d9a10a67d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Interrupt signal enable/disable mask. < a href = "a00081.html#ga655702c8839e0c94717d485d9a10a67d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga655702c8839e0c94717d485d9a10a67d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gae3e6f693b301c3ee1789dced536985aa" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gae3e6f693b301c3ee1789dced536985aa" > _tsc_interrupt_mask< / a > { < br / >
    < a class = "el" href = "a00081.html#ggae3e6f693b301c3ee1789dced536985aaafefa988bea28a002f6cf24f48da7e92c" > kTSC_IdleSoftwareInterruptEnable< / a > ,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggae3e6f693b301c3ee1789dced536985aaae31affb4fc3eac550f1bd68e17c3ecc6" > kTSC_DetectInterruptEnable< / a > ,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggae3e6f693b301c3ee1789dced536985aaa414d51fca3d752845bbf8a5c8bc03f8b" > kTSC_MeasureInterruptEnable< / a > = TSC_INT_EN_MEASURE_INT_EN_MASK
2022-04-08 14:46:35 +00:00
< br / >
2023-11-30 12:55:00 +00:00
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:gae3e6f693b301c3ee1789dced536985aa" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Interrupt enable/disable mask. < a href = "a00081.html#gae3e6f693b301c3ee1789dced536985aa" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gae3e6f693b301c3ee1789dced536985aa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab7752acd24c075710a208714af0e80ae" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gab7752acd24c075710a208714af0e80ae" > _tsc_interrupt_status_flag_mask< / a > { < br / >
    < a class = "el" href = "a00081.html#ggab7752acd24c075710a208714af0e80aea643f3550c610129a163842058abc3a37" > kTSC_IdleSoftwareFlag< / a > ,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggab7752acd24c075710a208714af0e80aea85788cd279dcfdf8b7b9a0bfa6728afe" > kTSC_ValidSignalFlag< / a > ,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggab7752acd24c075710a208714af0e80aea9a36e449f6b8827cd02bcb3b06ecc458" > kTSC_DetectSignalFlag< / a > = TSC_INT_STATUS_DETECT_MASK,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggab7752acd24c075710a208714af0e80aea1523302d45304ca3e4f0b0697e236ff9" > kTSC_MeasureSignalFlag< / a >
2022-04-08 14:46:35 +00:00
< br / >
2023-11-30 12:55:00 +00:00
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:gab7752acd24c075710a208714af0e80ae" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Interrupt Status flag mask. < a href = "a00081.html#gab7752acd24c075710a208714af0e80ae" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab7752acd24c075710a208714af0e80ae" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga474a396fee814b822da5f794b6265894" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga474a396fee814b822da5f794b6265894" > _tsc_adc_status_flag_mask< / a > { < br / >
    < a class = "el" href = "a00081.html#gga474a396fee814b822da5f794b6265894aa326721ecff53505481d4bb5cc622dcc" > kTSC_ADCCOCOSignalFlag< / a > ,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga474a396fee814b822da5f794b6265894a170c54ed0d4dea37f973f827fba3d4db" > kTSC_ADCConversionValueFlag< / a > = TSC_DEBUG_MODE_ADC_CONV_VALUE_MASK
2022-04-08 14:46:35 +00:00
< br / >
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:ga474a396fee814b822da5f794b6265894" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ ADC status flag mask. < a href = "a00081.html#ga474a396fee814b822da5f794b6265894" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga474a396fee814b822da5f794b6265894" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadbb2ca2b7e62e7a71a6ad4e3fe4d3059" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gadbb2ca2b7e62e7a71a6ad4e3fe4d3059" > _tsc_status_flag_mask< / a > { < br / >
    < a class = "el" href = "a00081.html#ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059aca961be97cfda3f181ec2ecb32e4f6be" > kTSC_IntermediateStateFlag< / a > = TSC_DEBUG_MODE2_INTERMEDIATE_MASK,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059a078984e44f4e84aa4178c41a2913cf5e" > kTSC_DetectFiveWireFlag< / a > = TSC_DEBUG_MODE2_DETECT_FIVE_WIRE_MASK,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059a9b92797df34e8b13c0d64646c8c6d6cb" > kTSC_DetectFourWireFlag< / a > = TSC_DEBUG_MODE2_DETECT_FOUR_WIRE_MASK,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059a7a3af06b4926a9680fe7e5afbf693b86" > kTSC_GlitchThresholdFlag< / a > = TSC_DEBUG_MODE2_DE_GLITCH_MASK,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059ada2c97463a5edd7f32d54a94fcaa8996" > kTSC_StateMachineFlag< / a >
2022-04-08 14:46:35 +00:00
< br / >
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:gadbb2ca2b7e62e7a71a6ad4e3fe4d3059" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ TSC status flag mask. < a href = "a00081.html#gadbb2ca2b7e62e7a71a6ad4e3fe4d3059" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gadbb2ca2b7e62e7a71a6ad4e3fe4d3059" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa83b5325a8bd3e65ef6b650d0bb171ac" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gaa83b5325a8bd3e65ef6b650d0bb171ac" > _tsc_state_machine< / a > { < br / >
    < a class = "el" href = "a00081.html#ggaa83b5325a8bd3e65ef6b650d0bb171acaa8338c396e390d1213c0ada74a58e11d" > kTSC_IdleState< / a > = 0U < < TSC_DEBUG_MODE2_STATE_MACHINE_SHIFT,
2022-04-08 14:46:35 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaa83b5325a8bd3e65ef6b650d0bb171aca747d661e964edcbe6b1920a4a9ab65e1" > kTSC_1stPreChargeState< / a > = 1U < < TSC_DEBUG_MODE2_STATE_MACHINE_SHIFT,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaa83b5325a8bd3e65ef6b650d0bb171aca74dbd6a1d228a67f0d2a4d47fea110db" > kTSC_1stDetectState< / a > = 2U < < TSC_DEBUG_MODE2_STATE_MACHINE_SHIFT,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaa83b5325a8bd3e65ef6b650d0bb171aca06bdb11049b70b1a96c9c38d2cbb4d5e" > kTSC_XMeasureState< / a > = 3U < < TSC_DEBUG_MODE2_STATE_MACHINE_SHIFT,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaa83b5325a8bd3e65ef6b650d0bb171aca328b133c01b9129288860a1746c51342" > kTSC_YMeasureState< / a > = 4U < < TSC_DEBUG_MODE2_STATE_MACHINE_SHIFT,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaa83b5325a8bd3e65ef6b650d0bb171acaa988480f08c3e6abb90008cde61e13db" > kTSC_2ndPreChargeState< / a > = 5U < < TSC_DEBUG_MODE2_STATE_MACHINE_SHIFT,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaa83b5325a8bd3e65ef6b650d0bb171acafd278a6f3930c424b34b1a70576a89ba" > kTSC_2ndDetectState< / a > = 6U < < TSC_DEBUG_MODE2_STATE_MACHINE_SHIFT
2022-04-08 14:46:35 +00:00
< br / >
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:gaa83b5325a8bd3e65ef6b650d0bb171ac" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > TSC state machine. < a href = "a00081.html#gaa83b5325a8bd3e65ef6b650d0bb171ac" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa83b5325a8bd3e65ef6b650d0bb171ac" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga32d4c4dff942935adf1d819db678e0de" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga32d4c4dff942935adf1d819db678e0de" > _tsc_glitch_threshold< / a > { < br / >
    < a class = "el" href = "a00081.html#gga32d4c4dff942935adf1d819db678e0dea12ee9bea62a7e0fa02c56f70f22e7635" > kTSC_glitchThresholdALT0< / a > = 0U < < TSC_DEBUG_MODE2_DE_GLITCH_SHIFT,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga32d4c4dff942935adf1d819db678e0deac7b68d98d8b18c9d1226b9c7c1979715" > kTSC_glitchThresholdALT1< / a > = 1U < < TSC_DEBUG_MODE2_DE_GLITCH_SHIFT,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga32d4c4dff942935adf1d819db678e0dea25cd540fd3a16d44d6c29715aa1b085c" > kTSC_glitchThresholdALT2< / a > = 2U < < TSC_DEBUG_MODE2_DE_GLITCH_SHIFT,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga32d4c4dff942935adf1d819db678e0dea56b8f534049d71e78da5bbd1e345e035" > kTSC_glitchThresholdALT3< / a >
2023-11-30 12:55:00 +00:00
< br / >
2022-04-08 14:46:35 +00:00
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:ga32d4c4dff942935adf1d819db678e0de" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > TSC glitch threshold. < a href = "a00081.html#ga32d4c4dff942935adf1d819db678e0de" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga32d4c4dff942935adf1d819db678e0de" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga242090159afbd6328751f214ed9e424a" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga242090159afbd6328751f214ed9e424a" > _tsc_trigger_signal< / a > { < br / >
    < a class = "el" href = "a00081.html#gga242090159afbd6328751f214ed9e424aa044700d7ed91f6ac084f22f764b072be" > kTSC_TriggerToChannel0< / a > = 1U < < 0U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga242090159afbd6328751f214ed9e424aaca9c985ee553fd68d8bf832ae157e8e3" > kTSC_TriggerToChannel1< / a > = 1U < < 1U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga242090159afbd6328751f214ed9e424aaf82ef526f4386c9ac3092d8839bbf16d" > kTSC_TriggerToChannel2< / a > = 1U < < 2U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga242090159afbd6328751f214ed9e424aab0b444b84a625cbc46e9acce58f873be" > kTSC_TriggerToChannel3< / a > = 1U < < 3U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga242090159afbd6328751f214ed9e424aa219bda9e5ba92cfab02bdb9d12ad18b9" > kTSC_TriggerToChannel4< / a > = 1U < < 4U
2023-11-30 12:55:00 +00:00
< br / >
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:ga242090159afbd6328751f214ed9e424a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ Hardware trigger select signal, select which ADC channel to start conversion. < a href = "a00081.html#ga242090159afbd6328751f214ed9e424a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga242090159afbd6328751f214ed9e424a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga551c3222089abda2f4f15dda679ebcff" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga551c3222089abda2f4f15dda679ebcff" > _tsc_port_source< / a > { < br / >
    < a class = "el" href = "a00081.html#gga551c3222089abda2f4f15dda679ebcffa84f9070ba00dd05e32b44c930cd96397" > kTSC_WiperPortSource< / a > = 0U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga551c3222089abda2f4f15dda679ebcffae72e11f7234158261bfbf3054a9ac04c" > kTSC_YnlrPortSource< / a > = 1U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga551c3222089abda2f4f15dda679ebcffa66abade21b1b9877765fa7ae9e67e3b0" > kTSC_YpllPortSource< / a > = 2U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga551c3222089abda2f4f15dda679ebcffa9098ec18c17eed94f09adcbcf7e858d7" > kTSC_XnurPortSource< / a > = 3U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#gga551c3222089abda2f4f15dda679ebcffa9c2d8b8ed7ab32c31897923281ffa4b5" > kTSC_XpulPortSource< / a > = 4U
2023-11-30 12:55:00 +00:00
< br / >
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:ga551c3222089abda2f4f15dda679ebcff" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ TSC controller ports. < a href = "a00081.html#ga551c3222089abda2f4f15dda679ebcff" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga551c3222089abda2f4f15dda679ebcff" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf1eebdf2c978880902605bfff625e633" > < td class = "memItemLeft" align = "right" valign = "top" > enum   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gaf1eebdf2c978880902605bfff625e633" > _tsc_port_mode< / a > { < br / >
    < a class = "el" href = "a00081.html#ggaf1eebdf2c978880902605bfff625e633a3767a7e89a3f1dae76022b95851dc244" > kTSC_PortOffMode< / a > = 0U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaf1eebdf2c978880902605bfff625e633a7f5671b85c86b0a1b2a2675f5733be20" > kTSC_Port200k_PullUpMode< / a > = 1U < < 2U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaf1eebdf2c978880902605bfff625e633a2b3ce7b8bf9f190fea54557c2019da91" > kTSC_PortPullUpMode< / a > = 1U < < 1U,
2023-11-30 12:55:00 +00:00
< br / >
2024-03-18 15:15:10 +00:00
    < a class = "el" href = "a00081.html#ggaf1eebdf2c978880902605bfff625e633abf5232703197bd29d4c1db82cb957afa" > kTSC_PortPullDownMode< / a > = 1U < < 0U
2023-11-30 12:55:00 +00:00
< br / >
}< / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memdesc:gaf1eebdf2c978880902605bfff625e633" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > @ TSC port mode. < a href = "a00081.html#gaf1eebdf2c978880902605bfff625e633" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf1eebdf2c978880902605bfff625e633" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table > < table class = "memberdecls" >
2024-03-18 15:15:10 +00:00
< tr class = "heading" > < td colspan = "2" > < h2 class = "groupheader" > < a name = "func-members" > < / a >
Functions< / h2 > < / td > < / tr >
< tr class = "memitem:gacb3dc8de52498f49e63f0bd5938a62bb" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gacb3dc8de52498f49e63f0bd5938a62bb" > TSC_Init< / a > (TSC_Type *base, const < a class = "el" href = "a00081.html#gaf2f1fd080e23b245213e9e4e4e92acbc" > tsc_config_t< / a > *config)< / td > < / tr >
< tr class = "memdesc:gacb3dc8de52498f49e63f0bd5938a62bb" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Initialize the TSC module. < a href = "#gacb3dc8de52498f49e63f0bd5938a62bb" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gacb3dc8de52498f49e63f0bd5938a62bb" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gad94ec31c78c6ff62527e07db1963148c" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gad94ec31c78c6ff62527e07db1963148c" > TSC_Deinit< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:gad94ec31c78c6ff62527e07db1963148c" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > De-initializes the TSC module. < a href = "#gad94ec31c78c6ff62527e07db1963148c" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gad94ec31c78c6ff62527e07db1963148c" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga02026cc5dca98599abf7159eb7666793" > < td class = "memItemLeft" align = "right" valign = "top" > void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga02026cc5dca98599abf7159eb7666793" > TSC_GetDefaultConfig< / a > (< a class = "el" href = "a00081.html#gaf2f1fd080e23b245213e9e4e4e92acbc" > tsc_config_t< / a > *config)< / td > < / tr >
< tr class = "memdesc:ga02026cc5dca98599abf7159eb7666793" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Gets an available pre-defined settings for the controller's configuration. < a href = "#ga02026cc5dca98599abf7159eb7666793" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga02026cc5dca98599abf7159eb7666793" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf3f3a9c81859a459dbc159a73a8e3cb1" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gaf3f3a9c81859a459dbc159a73a8e3cb1" > TSC_ReturnToIdleStatus< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:gaf3f3a9c81859a459dbc159a73a8e3cb1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Make the TSC module return to idle status after finish the current state operation. < a href = "#gaf3f3a9c81859a459dbc159a73a8e3cb1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf3f3a9c81859a459dbc159a73a8e3cb1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaa98c9d0b7673855a842b21216c0b9d8a" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gaa98c9d0b7673855a842b21216c0b9d8a" > TSC_StartSenseDetection< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:gaa98c9d0b7673855a842b21216c0b9d8a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Start sense detection and (if work in auto-measure mode) measure after detect a touch. < a href = "#gaa98c9d0b7673855a842b21216c0b9d8a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaa98c9d0b7673855a842b21216c0b9d8a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga6a4fb96ef78c65fc82c2f43b1ecf52aa" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga6a4fb96ef78c65fc82c2f43b1ecf52aa" > TSC_StartMeasure< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:ga6a4fb96ef78c65fc82c2f43b1ecf52aa" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > start measure X/Y coordinate value after detect a touch. < a href = "#ga6a4fb96ef78c65fc82c2f43b1ecf52aa" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga6a4fb96ef78c65fc82c2f43b1ecf52aa" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga1882e5d982c81872e3d83ee89bd50f70" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga1882e5d982c81872e3d83ee89bd50f70" > TSC_DropMeasure< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:ga1882e5d982c81872e3d83ee89bd50f70" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Drop measure X/Y coordinate value after detect a touch and controller return to idle status. < a href = "#ga1882e5d982c81872e3d83ee89bd50f70" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga1882e5d982c81872e3d83ee89bd50f70" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga2319254675c93f82a15de02b9dd97271" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga2319254675c93f82a15de02b9dd97271" > TSC_SoftwareReset< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:ga2319254675c93f82a15de02b9dd97271" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > This is a synchronization reset, which resets every register except IPS directly access ones. < a href = "#ga2319254675c93f82a15de02b9dd97271" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga2319254675c93f82a15de02b9dd97271" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gaf58e0b43903552560b53533bd117b76d" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gaf58e0b43903552560b53533bd117b76d" > TSC_GetMeasureValue< / a > (TSC_Type *base, < a class = "el" href = "a00081.html#ga8a5f6725f4bb29f58664a994957837e5" > tsc_corrdinate_value_selection_t< / a > selection)< / td > < / tr >
< tr class = "memdesc:gaf58e0b43903552560b53533bd117b76d" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get Y coordinate value or X coordinate value. < a href = "#gaf58e0b43903552560b53533bd117b76d" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gaf58e0b43903552560b53533bd117b76d" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gade94f3981a3d3a6551e298044178234a" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gade94f3981a3d3a6551e298044178234a" > TSC_EnableInterruptSignals< / a > (TSC_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gade94f3981a3d3a6551e298044178234a" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enable the interrupt signals. < a href = "#gade94f3981a3d3a6551e298044178234a" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gade94f3981a3d3a6551e298044178234a" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga04eee2a60d370c6999118eb404bfb8e9" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga04eee2a60d370c6999118eb404bfb8e9" > TSC_DisableInterruptSignals< / a > (TSC_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga04eee2a60d370c6999118eb404bfb8e9" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disable the interrupt signals. < a href = "#ga04eee2a60d370c6999118eb404bfb8e9" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga04eee2a60d370c6999118eb404bfb8e9" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga8a904d3bd269d266b360bb7c379e5280" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga8a904d3bd269d266b360bb7c379e5280" > TSC_EnableInterrupts< / a > (TSC_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga8a904d3bd269d266b360bb7c379e5280" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enable the interrupts. < a href = "#ga8a904d3bd269d266b360bb7c379e5280" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga8a904d3bd269d266b360bb7c379e5280" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5d88906c4e6be940679fc5a05bf7c107" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga5d88906c4e6be940679fc5a05bf7c107" > TSC_DisableInterrupts< / a > (TSC_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:ga5d88906c4e6be940679fc5a05bf7c107" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Disable the interrupts. < a href = "#ga5d88906c4e6be940679fc5a05bf7c107" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5d88906c4e6be940679fc5a05bf7c107" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga5a6cf0faff2c782db22dfd63fa27cfa1" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga5a6cf0faff2c782db22dfd63fa27cfa1" > TSC_GetInterruptStatusFlags< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:ga5a6cf0faff2c782db22dfd63fa27cfa1" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get interrupt status flags. < a href = "#ga5a6cf0faff2c782db22dfd63fa27cfa1" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga5a6cf0faff2c782db22dfd63fa27cfa1" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gadde562047c2a043235fce4f6aa1d7290" > < td class = "memItemLeft" align = "right" valign = "top" > static void  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gadde562047c2a043235fce4f6aa1d7290" > TSC_ClearInterruptStatusFlags< / a > (TSC_Type *base, uint32_t mask)< / td > < / tr >
< tr class = "memdesc:gadde562047c2a043235fce4f6aa1d7290" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Clear interrupt status flags. < a href = "#gadde562047c2a043235fce4f6aa1d7290" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gadde562047c2a043235fce4f6aa1d7290" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ga692e396189133651ab1bf843eaca5924" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ga692e396189133651ab1bf843eaca5924" > TSC_GetADCStatusFlags< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:ga692e396189133651ab1bf843eaca5924" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get the status flags of ADC working with TSC. < a href = "#ga692e396189133651ab1bf843eaca5924" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ga692e396189133651ab1bf843eaca5924" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:gab95070c3d36a9b878a7a0a8fc9870138" > < td class = "memItemLeft" align = "right" valign = "top" > static uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#gab95070c3d36a9b878a7a0a8fc9870138" > TSC_GetStatusFlags< / a > (TSC_Type *base)< / td > < / tr >
< tr class = "memdesc:gab95070c3d36a9b878a7a0a8fc9870138" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Get the status flags of TSC. < a href = "#gab95070c3d36a9b878a7a0a8fc9870138" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:gab95070c3d36a9b878a7a0a8fc9870138" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< hr / > < h2 class = "groupheader" > Data Structure Documentation< / h2 >
2024-03-18 15:15:10 +00:00
< a name = "a00535" id = "a00535" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > struct _tsc_config< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
< div class = "textblock" > < / div > < table class = "memberdecls" >
< tr > < td colspan = "2" > < h3 > Data Fields< / h3 > < / td > < / tr >
2024-03-18 15:15:10 +00:00
< tr class = "memitem:a4d9175aa2150bbeac6b21d1b74f944d6" > < td class = "memItemLeft" align = "right" valign = "top" > bool  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#a4d9175aa2150bbeac6b21d1b74f944d6" > enableAutoMeasure< / a > < / td > < / tr >
< tr class = "memdesc:a4d9175aa2150bbeac6b21d1b74f944d6" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Enable the auto-measure. < a href = "#a4d9175aa2150bbeac6b21d1b74f944d6" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:a4d9175aa2150bbeac6b21d1b74f944d6" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aef56feee01cae7ba01314b14c878eab2" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#aef56feee01cae7ba01314b14c878eab2" > measureDelayTime< / a > < / td > < / tr >
< tr class = "memdesc:aef56feee01cae7ba01314b14c878eab2" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set delay time(0U~0xFFFFFFU) to even potential distribution ready.It is a preparation for measure stage. < a href = "#aef56feee01cae7ba01314b14c878eab2" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aef56feee01cae7ba01314b14c878eab2" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:aa7a99e67574603d44360d4636ee97440" > < td class = "memItemLeft" align = "right" valign = "top" > uint32_t  < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#aa7a99e67574603d44360d4636ee97440" > prechargeTime< / a > < / td > < / tr >
< tr class = "memdesc:aa7a99e67574603d44360d4636ee97440" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Set pre-charge time(1U~0xFFFFFFFFU) to make the upper layer of screen to charge to positive high. < a href = "#aa7a99e67574603d44360d4636ee97440" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:aa7a99e67574603d44360d4636ee97440" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
< tr class = "memitem:ab2afdb59e23d3c82003269be8743b107" > < td class = "memItemLeft" align = "right" valign = "top" > < a class = "el" href = "a00081.html#ga415d88a032e8c9990211517e9f8211ad" > tsc_detection_mode_t< / a >   < / td > < td class = "memItemRight" valign = "bottom" > < a class = "el" href = "a00081.html#ab2afdb59e23d3c82003269be8743b107" > detectionMode< / a > < / td > < / tr >
< tr class = "memdesc:ab2afdb59e23d3c82003269be8743b107" > < td class = "mdescLeft" >   < / td > < td class = "mdescRight" > Select the detection mode. < a href = "#ab2afdb59e23d3c82003269be8743b107" > More...< / a > < br / > < / td > < / tr >
< tr class = "separator:ab2afdb59e23d3c82003269be8743b107" > < td class = "memSeparator" colspan = "2" >   < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
2023-11-30 12:55:00 +00:00
< h4 class = "groupheader" > Field Documentation< / h4 >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "a4d9175aa2150bbeac6b21d1b74f944d6" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > bool _tsc_config::enableAutoMeasure< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > It indicates after detect touch, whether automatic start measurement < / p >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "aef56feee01cae7ba01314b14c878eab2" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > uint32_t _tsc_config::measureDelayTime< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > If measure dalay time is too short, maybe it would have an undesired effect on measure value. < / p >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "aa7a99e67574603d44360d4636ee97440" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > uint32_t _tsc_config::prechargeTime< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > It is a preparation for detection stage. Pre-charge time must is greater than 0U, otherwise TSC could not work normally. If pre-charge dalay time is too short, maybe it would have an undesired effect on generation of valid signal(kTSC_ValidSignalFlag). < / p >
< / div >
< / div >
< a class = "anchor" id = "ab2afdb59e23d3c82003269be8743b107" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > < a class = "el" href = "a00081.html#ga415d88a032e8c9990211517e9f8211ad" > tsc_detection_mode_t< / a > _tsc_config::detectionMode< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > See "tsc_detection_mode_t". < / p >
< / div >
< / div >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< h2 class = "groupheader" > Macro Definition Documentation< / h2 >
< a class = "anchor" id = "ga6266bb792d57f73341a5565bad036f09" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > #define FSL_TSC_DRIVER_VERSION      (< a class = "el" href = "a00272.html#ga812138aa3315b0c6953c1a26130bcc37" > MAKE_VERSION< / a > (2, 0, 3))< / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > Version 2.0.3. < / p >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< h2 class = "groupheader" > Typedef Documentation< / h2 >
< a class = "anchor" id = "ga66db0c0355fdea3f50653e0499edbb0e" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > typedef enum < a class = "el" href = "a00081.html#gaa83b5325a8bd3e65ef6b650d0bb171ac" > _tsc_state_machine< / a > < a class = "el" href = "a00081.html#ga66db0c0355fdea3f50653e0499edbb0e" > tsc_state_machine_t< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > These seven states are TSC complete workflow. < / p >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< h2 class = "groupheader" > Enumeration Type Documentation< / h2 >
< a class = "anchor" id = "ga88d6e4a7fc0067523f788700eca3582c" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#ga88d6e4a7fc0067523f788700eca3582c" > _tsc_detection_mode< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga88d6e4a7fc0067523f788700eca3582ca6729342cd2b777d043dc508b21828553" > < / a > kTSC_Detection4WireMode< / em > < / td > < td class = "fielddoc" >
< p > 4-Wire Detection Mode. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga88d6e4a7fc0067523f788700eca3582cac30abbb1702e84a2197714d37bc90443" > < / a > kTSC_Detection5WireMode< / em > < / td > < td class = "fielddoc" >
< p > 5-Wire Detection Mode. < / p >
< / td > < / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga9b786694ed3559d339abe3eb2de44c87" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#ga9b786694ed3559d339abe3eb2de44c87" > _tsc_corrdinate_value_selection< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga9b786694ed3559d339abe3eb2de44c87afb5a7d2f1383372497598fc19deeaabf" > < / a > kTSC_XCoordinateValueSelection< / em > < / td > < td class = "fielddoc" >
< p > X coordinate value is selected. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga9b786694ed3559d339abe3eb2de44c87a9ac47cb685b7fa594b738ccbe3488587" > < / a > kTSC_YCoordinateValueSelection< / em > < / td > < td class = "fielddoc" >
< p > Y coordinate value is selected. < / p >
< / td > < / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga655702c8839e0c94717d485d9a10a67d" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#ga655702c8839e0c94717d485d9a10a67d" > _tsc_interrupt_signal_mask< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga655702c8839e0c94717d485d9a10a67da4fb712d94c480d0119d469de34503df9" > < / a > kTSC_IdleSoftwareSignalEnable< / em > < / td > < td class = "fielddoc" >
< p > Enable the interrupt signal when the controller has return to idle status. < / p >
< p > The signal is only valid after using TSC_ReturnToIdleStatus API. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga655702c8839e0c94717d485d9a10a67da79fee3ba7ac2615e17955268b640ad57" > < / a > kTSC_ValidSignalEnable< / em > < / td > < td class = "fielddoc" >
< p > Enable the interrupt signal when controller receives a detect signal after measurement. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga655702c8839e0c94717d485d9a10a67da7395931f390785e4f0df7acf807e4eb8" > < / a > kTSC_DetectSignalEnable< / em > < / td > < td class = "fielddoc" >
< p > Enable the interrupt signal when controller receives a detect signal. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga655702c8839e0c94717d485d9a10a67da7967ee367ee2b5eb5ba112a8ad23e1a2" > < / a > kTSC_MeasureSignalEnable< / em > < / td > < td class = "fielddoc" >
< p > Enable the interrupt signal after the touch detection which follows measurement. < / p >
< / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
2024-03-18 15:15:10 +00:00
< / div >
< / div >
< a class = "anchor" id = "gae3e6f693b301c3ee1789dced536985aa" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#gae3e6f693b301c3ee1789dced536985aa" > _tsc_interrupt_mask< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggae3e6f693b301c3ee1789dced536985aaafefa988bea28a002f6cf24f48da7e92c" > < / a > kTSC_IdleSoftwareInterruptEnable< / em > < / td > < td class = "fielddoc" >
< p > Enable the interrupt when the controller has return to idle status. < / p >
< p > The interrupt is only valid after using TSC_ReturnToIdleStatus API. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggae3e6f693b301c3ee1789dced536985aaae31affb4fc3eac550f1bd68e17c3ecc6" > < / a > kTSC_DetectInterruptEnable< / em > < / td > < td class = "fielddoc" >
< p > Enable the interrupt when controller receive a detect signal. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggae3e6f693b301c3ee1789dced536985aaa414d51fca3d752845bbf8a5c8bc03f8b" > < / a > kTSC_MeasureInterruptEnable< / em > < / td > < td class = "fielddoc" >
< p > Enable the interrupt after the touch detection which follows measurement. < / p >
< / td > < / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gab7752acd24c075710a208714af0e80ae" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#gab7752acd24c075710a208714af0e80ae" > _tsc_interrupt_status_flag_mask< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab7752acd24c075710a208714af0e80aea643f3550c610129a163842058abc3a37" > < / a > kTSC_IdleSoftwareFlag< / em > < / td > < td class = "fielddoc" >
< p > This flag is set if the controller has return to idle status. < / p >
< p > The flag is only valid after using TSC_ReturnToIdleStatus API. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab7752acd24c075710a208714af0e80aea85788cd279dcfdf8b7b9a0bfa6728afe" > < / a > kTSC_ValidSignalFlag< / em > < / td > < td class = "fielddoc" >
< p > This flag is set if controller receives a detect signal after measurement. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab7752acd24c075710a208714af0e80aea9a36e449f6b8827cd02bcb3b06ecc458" > < / a > kTSC_DetectSignalFlag< / em > < / td > < td class = "fielddoc" >
< p > This flag is set if controller receives a detect signal. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggab7752acd24c075710a208714af0e80aea1523302d45304ca3e4f0b0697e236ff9" > < / a > kTSC_MeasureSignalFlag< / em > < / td > < td class = "fielddoc" >
< p > This flag is set after the touch detection which follows measurement. < / p >
< p > Note: Valid signal falg will be cleared along with measure signal flag. < / p >
< / td > < / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga474a396fee814b822da5f794b6265894" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#ga474a396fee814b822da5f794b6265894" > _tsc_adc_status_flag_mask< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga474a396fee814b822da5f794b6265894aa326721ecff53505481d4bb5cc622dcc" > < / a > kTSC_ADCCOCOSignalFlag< / em > < / td > < td class = "fielddoc" >
< p > This signal is generated by ADC when a conversion is completed. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga474a396fee814b822da5f794b6265894a170c54ed0d4dea37f973f827fba3d4db" > < / a > kTSC_ADCConversionValueFlag< / em > < / td > < td class = "fielddoc" >
< p > This signal is generated by ADC and indicates the result of an ADC conversion. < / p >
< / td > < / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gadbb2ca2b7e62e7a71a6ad4e3fe4d3059" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#gadbb2ca2b7e62e7a71a6ad4e3fe4d3059" > _tsc_status_flag_mask< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059aca961be97cfda3f181ec2ecb32e4f6be" > < / a > kTSC_IntermediateStateFlag< / em > < / td > < td class = "fielddoc" >
< p > This flag is set if TSC is in intermediate state, between two state machine states. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059a078984e44f4e84aa4178c41a2913cf5e" > < / a > kTSC_DetectFiveWireFlag< / em > < / td > < td class = "fielddoc" >
< p > This flag is set if TSC receives a 5-wire detect signal. < / p >
< p > It is only valid when the TSC in detect state and DETECT_ENABLE_FIVE_WIRE bit is set. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059a9b92797df34e8b13c0d64646c8c6d6cb" > < / a > kTSC_DetectFourWireFlag< / em > < / td > < td class = "fielddoc" >
< p > This flag is set if TSC receives a 4-wire detect signal. < / p >
< p > It is only valid when the TSC in detect state and DETECT_ENABLE_FOUR_WIRE bit is set. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059a7a3af06b4926a9680fe7e5afbf693b86" > < / a > kTSC_GlitchThresholdFlag< / em > < / td > < td class = "fielddoc" >
< p > This field indicates glitch threshold.The threshold is defined by number of clock cycles. < / p >
< p > See "tsc_glitch_threshold_t". If value = 00, Normal function: 0x1fff ipg clock cycles, Low power mode: 0x9 low power clock cycles. If value = 01, Normal function: 0xfff ipg clock cycles, Low power mode: :0x7 low power clock cycles. If value = 10, Normal function: 0x7ff ipg clock cycles, Low power mode:0x5 low power clock cycles. If value = 11, Normal function: 0x3 ipg clock cycles, Low power mode:0x3 low power clock cycles. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggadbb2ca2b7e62e7a71a6ad4e3fe4d3059ada2c97463a5edd7f32d54a94fcaa8996" > < / a > kTSC_StateMachineFlag< / em > < / td > < td class = "fielddoc" >
< p > This field indicates the state of TSC. < / p >
< p > See "tsc_state_machine_t"; if value = 000, Controller is in idle state. if value = 001, Controller is in 1st-Pre-charge state. if value = 010, Controller is in 1st-detect state. if value = 011, Controller is in x-measure state. if value = 100, Controller is in y-measure state. if value = 101, Controller is in 2nd-Pre-charge state. if value = 110, Controller is in 2nd-detect state. < / p >
< / td > < / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gaa83b5325a8bd3e65ef6b650d0bb171ac" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#gaa83b5325a8bd3e65ef6b650d0bb171ac" > _tsc_state_machine< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > These seven states are TSC complete workflow. < / p >
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa83b5325a8bd3e65ef6b650d0bb171acaa8338c396e390d1213c0ada74a58e11d" > < / a > kTSC_IdleState< / em > < / td > < td class = "fielddoc" >
< p > Controller is in idle state. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa83b5325a8bd3e65ef6b650d0bb171aca747d661e964edcbe6b1920a4a9ab65e1" > < / a > kTSC_1stPreChargeState< / em > < / td > < td class = "fielddoc" >
< p > Controller is in 1st-Pre-charge state. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa83b5325a8bd3e65ef6b650d0bb171aca74dbd6a1d228a67f0d2a4d47fea110db" > < / a > kTSC_1stDetectState< / em > < / td > < td class = "fielddoc" >
< p > Controller is in 1st-detect state. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa83b5325a8bd3e65ef6b650d0bb171aca06bdb11049b70b1a96c9c38d2cbb4d5e" > < / a > kTSC_XMeasureState< / em > < / td > < td class = "fielddoc" >
< p > Controller is in x-measure state. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa83b5325a8bd3e65ef6b650d0bb171aca328b133c01b9129288860a1746c51342" > < / a > kTSC_YMeasureState< / em > < / td > < td class = "fielddoc" >
< p > Controller is in y-measure state. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa83b5325a8bd3e65ef6b650d0bb171acaa988480f08c3e6abb90008cde61e13db" > < / a > kTSC_2ndPreChargeState< / em > < / td > < td class = "fielddoc" >
< p > Controller is in 2nd-Pre-charge state. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaa83b5325a8bd3e65ef6b650d0bb171acafd278a6f3930c424b34b1a70576a89ba" > < / a > kTSC_2ndDetectState< / em > < / td > < td class = "fielddoc" >
< p > Controller is in 2nd-detect state. < / p >
< / td > < / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga32d4c4dff942935adf1d819db678e0de" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#ga32d4c4dff942935adf1d819db678e0de" > _tsc_glitch_threshold< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga32d4c4dff942935adf1d819db678e0dea12ee9bea62a7e0fa02c56f70f22e7635" > < / a > kTSC_glitchThresholdALT0< / em > < / td > < td class = "fielddoc" >
< p > Normal function: 0x1fff ipg clock cycles, Low power mode: 0x9 low power clock cycles. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga32d4c4dff942935adf1d819db678e0deac7b68d98d8b18c9d1226b9c7c1979715" > < / a > kTSC_glitchThresholdALT1< / em > < / td > < td class = "fielddoc" >
< p > Normal function: 0xfff ipg clock cycles, Low power mode: :0x7 low power clock cycles. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga32d4c4dff942935adf1d819db678e0dea25cd540fd3a16d44d6c29715aa1b085c" > < / a > kTSC_glitchThresholdALT2< / em > < / td > < td class = "fielddoc" >
< p > Normal function: 0x7ff ipg clock cycles, Low power mode: :0x5 low power clock cycles. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga32d4c4dff942935adf1d819db678e0dea56b8f534049d71e78da5bbd1e345e035" > < / a > kTSC_glitchThresholdALT3< / em > < / td > < td class = "fielddoc" >
< p > Normal function: 0x3 ipg clock cycles, Low power mode: :0x3 low power clock cycles. < / p >
< / td > < / tr >
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga242090159afbd6328751f214ed9e424a" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#ga242090159afbd6328751f214ed9e424a" > _tsc_trigger_signal< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga242090159afbd6328751f214ed9e424aa044700d7ed91f6ac084f22f764b072be" > < / a > kTSC_TriggerToChannel0< / em > < / td > < td class = "fielddoc" >
< p > Trigger to ADC channel0. < / p >
< p > ADC_HC0 register will be used to conversion. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga242090159afbd6328751f214ed9e424aaca9c985ee553fd68d8bf832ae157e8e3" > < / a > kTSC_TriggerToChannel1< / em > < / td > < td class = "fielddoc" >
< p > Trigger to ADC channel1. < / p >
< p > ADC_HC1 register will be used to conversion. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga242090159afbd6328751f214ed9e424aaf82ef526f4386c9ac3092d8839bbf16d" > < / a > kTSC_TriggerToChannel2< / em > < / td > < td class = "fielddoc" >
< p > Trigger to ADC channel2. < / p >
< p > ADC_HC2 register will be used to conversion. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga242090159afbd6328751f214ed9e424aab0b444b84a625cbc46e9acce58f873be" > < / a > kTSC_TriggerToChannel3< / em > < / td > < td class = "fielddoc" >
< p > Trigger to ADC channel3. < / p >
< p > ADC_HC3 register will be used to conversion. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga242090159afbd6328751f214ed9e424aa219bda9e5ba92cfab02bdb9d12ad18b9" > < / a > kTSC_TriggerToChannel4< / em > < / td > < td class = "fielddoc" >
< p > Trigger to ADC channel4. < / p >
< p > ADC_HC4 register will be used to conversion. < / p >
< / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table >
2024-03-18 15:15:10 +00:00
< / div >
< / div >
< a class = "anchor" id = "ga551c3222089abda2f4f15dda679ebcff" > < / a >
2023-11-30 12:55:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#ga551c3222089abda2f4f15dda679ebcff" > _tsc_port_source< / a > < / td >
2023-11-30 12:55:00 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga551c3222089abda2f4f15dda679ebcffa84f9070ba00dd05e32b44c930cd96397" > < / a > kTSC_WiperPortSource< / em > < / td > < td class = "fielddoc" >
< p > TSC controller wiper port. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga551c3222089abda2f4f15dda679ebcffae72e11f7234158261bfbf3054a9ac04c" > < / a > kTSC_YnlrPortSource< / em > < / td > < td class = "fielddoc" >
< p > TSC controller ynlr port. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga551c3222089abda2f4f15dda679ebcffa66abade21b1b9877765fa7ae9e67e3b0" > < / a > kTSC_YpllPortSource< / em > < / td > < td class = "fielddoc" >
< p > TSC controller ypll port. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga551c3222089abda2f4f15dda679ebcffa9098ec18c17eed94f09adcbcf7e858d7" > < / a > kTSC_XnurPortSource< / em > < / td > < td class = "fielddoc" >
< p > TSC controller xnur port. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "gga551c3222089abda2f4f15dda679ebcffa9c2d8b8ed7ab32c31897923281ffa4b5" > < / a > kTSC_XpulPortSource< / em > < / td > < td class = "fielddoc" >
< p > TSC controller xpul port. < / p >
< / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gaf1eebdf2c978880902605bfff625e633" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > enum < a class = "el" href = "a00081.html#gaf1eebdf2c978880902605bfff625e633" > _tsc_port_mode< / a > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< table class = "fieldtable" >
< tr > < th colspan = "2" > Enumerator< / th > < / tr > < tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf1eebdf2c978880902605bfff625e633a3767a7e89a3f1dae76022b95851dc244" > < / a > kTSC_PortOffMode< / em > < / td > < td class = "fielddoc" >
< p > Disable pull up/down mode. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf1eebdf2c978880902605bfff625e633a7f5671b85c86b0a1b2a2675f5733be20" > < / a > kTSC_Port200k_PullUpMode< / em > < / td > < td class = "fielddoc" >
< p > 200k-pull up mode. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf1eebdf2c978880902605bfff625e633a2b3ce7b8bf9f190fea54557c2019da91" > < / a > kTSC_PortPullUpMode< / em > < / td > < td class = "fielddoc" >
< p > Pull up mode. < / p >
< / td > < / tr >
< tr > < td class = "fieldname" > < em > < a class = "anchor" id = "ggaf1eebdf2c978880902605bfff625e633abf5232703197bd29d4c1db82cb957afa" > < / a > kTSC_PortPullDownMode< / em > < / td > < td class = "fielddoc" >
< p > Pull down mode. < / p >
< / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< h2 class = "groupheader" > Function Documentation< / h2 >
< a class = "anchor" id = "gacb3dc8de52498f49e63f0bd5938a62bb" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > void TSC_Init < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > const < a class = "el" href = "a00081.html#gaf2f1fd080e23b245213e9e4e4e92acbc" > tsc_config_t< / a > *  < / td >
< td class = "paramname" > < em > config< / em >   < / td >
2022-04-08 14:46:35 +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-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > config< / td > < td > Pointer to "tsc_config_t" structure. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gad94ec31c78c6ff62527e07db1963148c" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > void TSC_Deinit < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga02026cc5dca98599abf7159eb7666793" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > void TSC_GetDefaultConfig < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00081.html#gaf2f1fd080e23b245213e9e4e4e92acbc" > tsc_config_t< / a > *  < / td >
< td class = "paramname" > < em > config< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > This function initializes the converter configuration structure with available settings. The default values of measureDelayTime and prechargeTime is tested on LCD8000-43T screen and work normally. The default values are: < / p >
< div class = "fragment" > < div class = "line" > * config-> enableAutoMeausre = < span class = "keyword" > false< / span > ;< / div >
< div class = "line" > * config-> measureDelayTime = 0xFFFFU;< / div >
< div class = "line" > * config-> prechargeTime = 0xFFFFU;< / div >
< div class = "line" > * config-> detectionMode = kTSC_4WireDetectionMode;< / div >
< div class = "line" > * < / div >
< / div > <!-- fragment --> < dl class = "params" > < dt > Parameters< / dt > < dd >
2022-04-08 14:46:35 +00:00
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > config< / td > < td > Pointer to "tsc_config_t" structure. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gaf3f3a9c81859a459dbc159a73a8e3cb1" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_ReturnToIdleStatus < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
< / table >
2023-11-30 12:55:00 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< pre class = "fragment" > Application could check TSC status to confirm that the controller has return to idle status.
< / pre > < dl class = "params" > < dt > Parameters< / dt > < dd >
2022-04-08 14:46:35 +00:00
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gaa98c9d0b7673855a842b21216c0b9d8a" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_StartSenseDetection < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
2023-11-30 12:55:00 +00:00
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga6a4fb96ef78c65fc82c2f43b1ecf52aa" > < / a >
2023-11-30 12:55:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
< table class = "memname" >
2022-04-08 14:46:35 +00:00
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_StartMeasure < / td >
2023-11-30 12:55:00 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
< / table >
2023-11-30 12:55:00 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga1882e5d982c81872e3d83ee89bd50f70" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_DropMeasure < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
< / table >
2023-11-30 12:55:00 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga2319254675c93f82a15de02b9dd97271" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_SoftwareReset < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
< td > < / td >
2022-04-08 14:46:35 +00:00
< / tr >
2023-11-30 12:55:00 +00:00
< / table >
< / td >
< td class = "mlabels-right" >
< span class = "mlabels" > < span class = "mlabel" > inline< / span > < span class = "mlabel" > static< / span > < / span > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2023-11-30 12:55:00 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gaf58e0b43903552560b53533bd117b76d" > < / a >
2023-11-30 12:55:00 +00:00
< div class = "memitem" >
< div class = "memproto" >
< table class = "memname" >
2022-04-08 14:46:35 +00:00
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > uint32_t TSC_GetMeasureValue < / td >
2023-11-30 12:55:00 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > < a class = "el" href = "a00081.html#ga8a5f6725f4bb29f58664a994957837e5" > tsc_corrdinate_value_selection_t< / a >   < / td >
< td class = "paramname" > < em > selection< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > The value is an ADC conversion value.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > selection< / td > < td > Select alternative measure value which is Y coordinate value or X coordinate value. See "tsc_corrdinate_value_selection_t". < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
2024-03-18 15:15:10 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > If selection is "kTSC_XCoordinateValueSelection", the API returns x-coordinate vlaue. If selection is "kTSC_YCoordinateValueSelection", the API returns y-coordinate vlaue. < / dd > < / dl >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gade94f3981a3d3a6551e298044178234a" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_EnableInterruptSignals < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2023-11-30 12:55:00 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > Interrupt signal will be set when corresponding event happens. Specific events point to "_tsc_interrupt_signal_mask" . Specific interrupt signal point to "_tsc_interrupt_status_flag_mask";< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > Interrupt signals mask. See "_tsc_interrupt_signal_mask". < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga04eee2a60d370c6999118eb404bfb8e9" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_DisableInterruptSignals < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2023-11-30 12:55:00 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > Interrupt signal will be set when corresponding event happens. Specific events point to "_tsc_interrupt_signal_mask". Specific interrupt signal point to "_tsc_interrupt_status_flag_mask";< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > Interrupt signals mask. See "_tsc_interrupt_signal_mask". < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga8a904d3bd269d266b360bb7c379e5280" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2023-11-30 12:55:00 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_EnableInterrupts < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2023-11-30 12:55:00 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > Notice: Only interrupts and signals are all enabled, interrupts could work normally.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > Interrupts mask. See "_tsc_interrupt_mask". < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga5d88906c4e6be940679fc5a05bf7c107" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2024-03-18 15:15:10 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_DisableInterrupts < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
2022-04-08 14:46:35 +00:00
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
< td class = "paramtype" > uint32_t  < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramname" > < em > mask< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2024-03-18 15:15:10 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > Interrupts mask. See "_tsc_interrupt_mask". < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga5a6cf0faff2c782db22dfd63fa27cfa1" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2024-03-18 15:15:10 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static uint32_t TSC_GetInterruptStatusFlags < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
< / table >
2024-03-18 15:15:10 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > Interrupt status falgs are valid when corresponding interrupt signals are enabled.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
2024-03-18 15:15:10 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > Status flags asserted mask. See "_tsc_interrupt_status_flag_mask". < / dd > < / dl >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gadde562047c2a043235fce4f6aa1d7290" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2024-03-18 15:15:10 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static void TSC_ClearInterruptStatusFlags < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
2023-11-30 12:55:00 +00:00
< td class = "paramname" > < em > base< / em > , < / td >
< / tr >
< tr >
< td class = "paramkey" > < / td >
< td > < / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > uint32_t  < / td >
< td class = "paramname" > < em > mask< / em >   < / td >
2022-04-08 14:46:35 +00:00
< / tr >
< tr >
< td > < / td >
< td > )< / td >
< td > < / td > < td > < / td >
< / tr >
< / table >
2024-03-18 15:15:10 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
2024-03-18 15:15:10 +00:00
< p > Interrupt status falgs are valid when corresponding interrupt signals are enabled.< / p >
2022-04-08 14:46:35 +00:00
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
< tr > < td class = "paramname" > mask< / td > < td > Status flags mask. See "_tsc_interrupt_status_flag_mask". < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "ga692e396189133651ab1bf843eaca5924" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2024-03-18 15:15:10 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static uint32_t TSC_GetADCStatusFlags < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
< / table >
2024-03-18 15:15:10 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
2024-03-18 15:15:10 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > Status flags asserted mask. See "_tsc_adc_status_flag_mask". < / dd > < / dl >
2022-04-08 14:46:35 +00:00
< / div >
< / div >
2024-03-18 15:15:10 +00:00
< a class = "anchor" id = "gab95070c3d36a9b878a7a0a8fc9870138" > < / a >
2022-04-08 14:46:35 +00:00
< div class = "memitem" >
< div class = "memproto" >
2024-03-18 15:15:10 +00:00
< table class = "mlabels" >
< tr >
< td class = "mlabels-left" >
2022-04-08 14:46:35 +00:00
< table class = "memname" >
< tr >
2024-03-18 15:15:10 +00:00
< td class = "memname" > static uint32_t TSC_GetStatusFlags < / td >
2022-04-08 14:46:35 +00:00
< td > (< / td >
2024-03-18 15:15:10 +00:00
< td class = "paramtype" > TSC_Type *  < / td >
< td class = "paramname" > < em > base< / em > < / td > < td > )< / td >
2022-04-08 14:46:35 +00:00
< td > < / td >
< / tr >
< / table >
2024-03-18 15:15:10 +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-04-08 14:46:35 +00:00
< / div > < div class = "memdoc" >
< dl class = "params" > < dt > Parameters< / dt > < dd >
< table class = "params" >
2024-03-18 15:15:10 +00:00
< tr > < td class = "paramname" > base< / td > < td > TSC peripheral base address. < / td > < / tr >
2022-04-08 14:46:35 +00:00
< / table >
< / dd >
< / dl >
2024-03-18 15:15:10 +00:00
< dl class = "section return" > < dt > Returns< / dt > < dd > Status flags asserted mask. See "_tsc_status_flag_mask". < / dd > < / dl >
2022-04-08 14:46:35 +00:00
< / 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 >