<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://e2echina.ti.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MSP 低功耗微控制器论坛 - 最近的话题</title><link>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum</link><description /><dc:language>zh-CN</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Sep 2026 06:53:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum" /><item><title>MSPM0L1105: MSPM0L 如何对SWD接口使用密码？</title><link>https://e2echina.ti.com/thread/1093645?ContentTypeID=0</link><pubDate>Wed, 09 Sep 2026 06:53:03 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:6c493c9c-bb58-4463-9194-cb68cd505c7f</guid><dc:creator>X HS</dc:creator><slash:comments>7</slash:comments><comments>https://e2echina.ti.com/thread/1093645?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1093645/mspm0l1105-mspm0l-swd/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1105" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1105&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;如题，我想对SWD接口使用密码，我有试过配置NVM的BCR部分，如下图：&lt;img src="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/1805.image.png" alt="image.png" width="458" height="149" data-temp-id="image.png-60563"&gt;但是单靠这个无法正常烧录，并且会导致MCU异常，无法烧录。我查找资料又设置烧录的Flash相关设置，然后可以烧录成功，但是烧录进去后无法再次烧录，我有配置密码，如下图：&lt;/p&gt;
&lt;p&gt;&lt;img src="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/2061.image.png" alt="image.png" width="456" height="119" data-temp-id="image.png-79168"&gt;&lt;/p&gt;
&lt;p&gt;但是还是无法解锁芯片的SWD。我该怎么办？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0L1105: MSPM0如何防止Hex被读出？</title><link>https://e2echina.ti.com/thread/1093445?ContentTypeID=0</link><pubDate>Tue, 08 Sep 2026 01:17:36 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:cebeae2e-3db4-4de5-a1f2-9ddd65251af9</guid><dc:creator>X HS</dc:creator><slash:comments>6</slash:comments><comments>https://e2echina.ti.com/thread/1093445?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1093445/mspm0l1105-mspm0-hex/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1105" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1105&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;我正在使用MSPM0L1105做项目，我老板担心其他人反编译出MCU的.Hex文件之类的，所以想对MCU的Flash上锁之类的动作（无法读取Flash中的程序和数据），我想请教一下有什么例程或者资料可以看一下吗？上锁之后如何重烧录的方法可以详细说明一下吗？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0-SDK: 烧写固件，无法解锁，恢复出厂不成功</title><link>https://e2echina.ti.com/thread/1091932?ContentTypeID=0</link><pubDate>Fri, 28 Aug 2026 08:41:55 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:bf50e8c3-ed1b-4719-b461-ce8ebcb569cf</guid><dc:creator>Carson Wang</dc:creator><slash:comments>2</slash:comments><comments>https://e2echina.ti.com/thread/1091932?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1091932/mspm0-sdk/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/tool/cn/MSPM0-SDK" class="internal-link folder tool" title="Link to Tool Folder" target="_blank"&gt;MSPM0-SDK&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;问题出现在烧写固件时，烧写过程进行了一半，SWD接口松动，中断了烧写，再次烧写无法就进行了，于是恢复出厂设置失败，下面是log,使用的是UiFlash.&lt;/p&gt;
&lt;p&gt;1.尝试在CCS中使用Project-lss debug把SWD时钟降低为100K，然后恢复出厂和Mass Erase依然无效&lt;/p&gt;
&lt;p&gt;2.这个问题发生了很多次，因为我们使用的是顶针式的烧写口，必须用收扶住才能烧写。但应该可以在烧写失败时能重新烧写才对啊。&lt;/p&gt;
&lt;p&gt;[2026/8/28 下午12:06:50] [INFO] CS_DAP_0: GEL Output: Initiating Device Mass Erase [2026/8/28 下午12:06:50] [INFO] CS_DAP_0: GEL Output: Attempting CS_DAP connection [2026/8/28 下午12:06:51] [INFO] CS_DAP_0: GEL Output: Attempting SEC_AP connection [2026/8/28 下午12:06:51] [INFO] CS_DAP_0: GEL Output: Command Sent [2026/8/28 下午12:06:52] [INFO] CS_DAP_0: GEL Output: Start hardware Reset using NRST [2026/8/28 下午12:06:52] [INFO] CS_DAP_0: GEL Output: Initiating BOOTRST Board Reset [2026/8/28 下午12:06:52] [INFO] CS_DAP_0: GEL Output: Reset line asserted [2026/8/28 下午12:06:52] [INFO] CS_DAP_0: GEL Output: Reset line de-asserted [2026/8/28 下午12:06:52] [INFO] CS_DAP_0: GEL Output: Board Reset Complete [2026/8/28 下午12:06:52] [INFO] CS_DAP_0: GEL Output: Reset done [2026/8/28 下午12:06:52] [INFO] CS_DAP_0: GEL Output: SEC_AP Disconnect [2026/8/28 下午12:06:52] [INFO] CS_DAP_0: GEL Output: SEC_AP Reconnect [2026/8/28 下午12:07:12] [ERROR] CS_DAP_0: Trouble Reading Register SECAP_RCR: (Error -2131 @ 0x2020C) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 20.2.0.3575) [2026/8/28 下午12:07:12] [ERROR] CS_DAP_0: GEL: Error while executing GEL_DAPInit_SECAPCommand(): Target failed to read register SECAP_RCR at (&amp;#39;REG&amp;#39;::SECAP_RCR&amp;amp;0xFFFFU) [mspm0_cs_dap_init.gel:247] at GEL_DAPInit_WaitForResponse() [mspm0_cs_dap_init.gel:426] at GEL_DAPInit_SECAPCommand()&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0G3218-Q1: 仿真工具</title><link>https://e2echina.ti.com/thread/1091907?ContentTypeID=0</link><pubDate>Fri, 28 Aug 2026 02:01:17 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:30d352e6-5e20-49b9-a5a4-296630d78162</guid><dc:creator>song yan</dc:creator><slash:comments>2</slash:comments><comments>https://e2echina.ti.com/thread/1091907?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1091907/mspm0g3218-q1/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0G3218-Q1" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0G3218-Q1&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;
&lt;li&gt;选择这个工具 &amp;lt;MSPM0G3218 LaunchPad development Kit&amp;gt; ,通过 SWDIO和SWCLK接入到自己开发的PCB板，是否可以进行仿真，调试，下载程序&lt;br&gt;2.&amp;nbsp; 这个工具使用的是3.3V，而我们的开发板是1.8V，这个如何匹配呢&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0L1306: 例程“bsl_software_invoke_app_demo_uart_LP_MSPM0L1306_nortos_ticlang”如何使用串口验证BSL?</title><link>https://e2echina.ti.com/thread/1091141?ContentTypeID=0</link><pubDate>Tue, 25 Aug 2026 03:02:34 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:7b09afc0-2ad8-446f-b180-991c94ba20aa</guid><dc:creator>X HS</dc:creator><slash:comments>2</slash:comments><comments>https://e2echina.ti.com/thread/1091141?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1091141/mspm0l1306-bsl_software_invoke_app_demo_uart_lp_mspm0l1306_nortos_ticlang-bsl/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1306" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1306&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Other Parts Discussed in Thread:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/tool/cn/UNIFLASH" class="internal-link folder tool" title="Link to Tool Folder" target="_blank"&gt;UNIFLASH&lt;/a&gt;,&lt;/p&gt;&lt;p&gt;如题，我想请教一下例程&amp;ldquo;bsl_software_invoke_app_demo_uart_LP_MSPM0L1306_nortos_ticlang&amp;rdquo;如何使用串口验证BSL?我已经把例程烧录进去了，然后按下按键确实可以进入BSL，但是我无法用uniflash通过串口烧录新的代码验证BSL。&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0L1105: MSPM0和BQ76905通信卡死怎么处理？</title><link>https://e2echina.ti.com/thread/1091100?ContentTypeID=0</link><pubDate>Mon, 24 Aug 2026 02:07:01 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:cbc8f289-bf30-4b02-9df9-e757ca1e4a01</guid><dc:creator>X HS</dc:creator><slash:comments>2</slash:comments><comments>https://e2echina.ti.com/thread/1091100?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1091100/mspm0l1105-mspm0-bq76905/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1105" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1105&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Other Parts Discussed in Thread:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/BQ76905" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;BQ76905&lt;/a&gt;&lt;/p&gt;&lt;p&gt;1、上电对BQ初始化时卡死。我的MCU的3.3V是用BQ76905的REGOUT输出的，BQ没电后MCU也会没电，但是发现产品在装配时如果抖动或者有点接触不好时，那么会出现BQ没电但是MCU还有电的瞬间(个人猜测是这样，示波器观测断电时的Vbat电压和3.3V电压，在Vbat低于3V后过20ms3.3V电源还有1.882V电压，此时应该是BQ没电，MCU有电)，然后装配好后两者都有电，这个时候MCU会卡死在对BQ的初始化中，&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;while ((gI2cControllerStatus != I2C_STATUS_TX_COMPLETE) &amp;amp;&amp;amp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(gI2cControllerStatus != I2C_STATUS_ERROR)) {&lt;/div&gt;
&lt;div&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __WFE();&lt;/div&gt;
&lt;div&gt;&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;应该是卡死在这行代码中，我目前是在初始化前加上一个延时来处理的，但是我们的新版电路对上电时间有了要求，所以我不能再继续使用那个延时，我想请教一下这个通讯卡死有什么方法处理吗？&lt;/div&gt;
&lt;div&gt;2、上电后卡死怎么办？这个目前没有出现，但是我有点担心。因为我的客户要求的是AFE和MCU都具备独立的保护检测，但是目前MCU会因为IIC通讯卡死，也就是说MCU的保护不是独立的，会被AFE影响。&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0L1105: 我是一个MSPM0的新手，我想知道如何使用BSL。</title><link>https://e2echina.ti.com/thread/1090878?ContentTypeID=0</link><pubDate>Fri, 21 Aug 2026 06:34:09 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:02ce721c-a4a0-4a35-bf9e-1f0d649b6791</guid><dc:creator>X HS</dc:creator><slash:comments>6</slash:comments><comments>https://e2echina.ti.com/thread/1090878?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1090878/mspm0l1105-mspm0-bsl/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1105" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1105&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Other Parts Discussed in Thread:&lt;/b&gt;  &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1306" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1306&lt;/a&gt;, &lt;a href="https://www.ti.com.cn/tool/cn/UNIFLASH" class="internal-link folder tool" title="Link to Tool Folder" target="_blank"&gt;UNIFLASH&lt;/a&gt;&lt;/p&gt;&lt;p&gt;我是一个接触MSPM0L1105两个月的新手，我的客户要求我使用BSL，我看了一些文档，但是我还是不知道该怎么做，我有查看文档Application Note &amp;rdquo;MSPM0 引导加载程序实现&amp;ldquo;和User&amp;#39;s Guide &amp;ldquo;MSPM0 引导加载程序 &amp;rdquo;，但是我还是不知道该如何上手，我现在有两块MSPM0L1306的评估版，我想知道我怎么使用那些例程验证BSL功能？我的最终目标是在我的板子上通过串口实现BSL,这样我的客户使用串口就可以升级固件。&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0L1105: MSPM0L1105的IIC中断能否在执行时被取消？</title><link>https://e2echina.ti.com/thread/1090875?ContentTypeID=0</link><pubDate>Fri, 21 Aug 2026 06:12:38 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:6fec4b15-42fd-49eb-9173-bf2fb7a93428</guid><dc:creator>X HS</dc:creator><slash:comments>3</slash:comments><comments>https://e2echina.ti.com/thread/1090875?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1090875/mspm0l1105-mspm0l1105-iic/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1105" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1105&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Other Parts Discussed in Thread:&lt;/b&gt;  &lt;a href="https://www.ti.com.cn/product/cn/BQ76905" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;BQ76905&lt;/a&gt;&lt;/p&gt;&lt;p&gt;我正在使用MSPM0L1105与BQ76905，他们之间使用IIC通信，我想请教一下如果MSPM0L105执行到IIC中断中时，这个时候有另一个更高优先级的中断触发了，在更高优先级中断中判断出IIC通信超时，需要关掉IIC，这个时候我代码里关掉IIC外设(使用DL_I2C_reset和DL_I2C_disable函数)，代码能正常运行吗？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR2311: MSP430FR2311 No Output &amp; Permanent Device Failure, All External Circuit Voltages Measure Normal</title><link>https://e2echina.ti.com/thread/1089945?ContentTypeID=0</link><pubDate>Mon, 17 Aug 2026 06:15:59 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:db86077c-fae5-4d7e-b814-d2db145db92b</guid><dc:creator>Wang Yue</dc:creator><slash:comments>1</slash:comments><comments>https://e2echina.ti.com/thread/1089945?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1089945/msp430fr2311-msp430fr2311-no-output-permanent-device-failure-all-external-circuit-voltages-measure-normal/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR2311" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR2311&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hello TI Support,&lt;/p&gt;
&lt;p&gt;We have failed MSP430FR2311IPW20R samples after reliability testing at -25&amp;deg;C and 55&amp;deg;C. All samples worked perfectly before the environmental test, which indicates the firmware is functioning correctly.&lt;/p&gt;
&lt;p&gt;After failure, all voltage levels measured at external circuit test points remain normal. The only abnormality is that the MCU gives no response when GPIO outputs are supposed to trigger. Once the device fails, we cannot access the chip via JTAG or BSL. The debug interface lock prevents us from reading the firmware content inside the device. No short circuit is found on power pins of failed samples.&lt;/p&gt;
&lt;p&gt;X-ray inspection has been performed, and the images are attached for your reference.&lt;/p&gt;
&lt;p&gt;Could you please advise possible failure mechanisms matching these symptoms?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/6242.xray.jpg" alt="xray.jpg" width="667" height="500" data-temp-id="xray.jpg-277792"&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR2311: MSP430FR2311 No Output &amp; Permanent Device Failure, All External Circuit Voltages Measure Normal</title><link>https://e2echina.ti.com/thread/1089944?ContentTypeID=0</link><pubDate>Mon, 17 Aug 2026 06:14:55 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:ed97cdf0-b5e3-4461-924f-799c0ccbaa62</guid><dc:creator>Wang Yue</dc:creator><slash:comments>2</slash:comments><comments>https://e2echina.ti.com/thread/1089944?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1089944/msp430fr2311-msp430fr2311-no-output-permanent-device-failure-all-external-circuit-voltages-measure-normal/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR2311" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR2311&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hello TI Support,&lt;/p&gt;
&lt;p&gt;We have failed MSP430FR2311IPW20R samples after reliability testing at -25&amp;deg;C and 55&amp;deg;C. All samples worked perfectly before the environmental test, which indicates the firmware is functioning correctly.&lt;/p&gt;
&lt;p&gt;After failure, all voltage levels measured at external circuit test points remain normal. The only abnormality is that the MCU gives no response when GPIO outputs are supposed to trigger. Once the device fails, we cannot access the chip via JTAG or BSL. The debug interface lock prevents us from reading the firmware content inside the device. No short circuit is found on power pins of failed samples.&lt;/p&gt;
&lt;p&gt;X-ray inspection has been performed, and the images are attached for your reference.&lt;/p&gt;
&lt;p&gt;Could you please advise possible failure mechanisms matching these symptoms?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/xray.jpg" alt="xray.jpg" width="667" height="500" data-temp-id="xray.jpg-277792"&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR6043: 关于飞行时间查偶尔抖降为0是什么原因导致的？</title><link>https://e2echina.ti.com/thread/1087727?ContentTypeID=0</link><pubDate>Fri, 07 Aug 2026 02:31:23 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:95f33fd7-4339-4ba5-ab0d-1e5b092be0b9</guid><dc:creator>liqiang li</dc:creator><slash:comments>2</slash:comments><comments>https://e2echina.ti.com/thread/1087727?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1087727/msp430fr6043-0/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR6043" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR6043&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/b1bdd7b01b148f23796d31001a9367a7.png" alt="b1bdd7b01b148f23796d31001a9367a7.png" data-temp-id="b1bdd7b01b148f23796d31001a9367a7.png-205093"&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0C1104: MSPM0V1104：在SysConfig中Disable NRST后，硬件上是否还强制要求外接上拉电阻？</title><link>https://e2echina.ti.com/thread/1086794?ContentTypeID=0</link><pubDate>Tue, 28 Jul 2026 08:08:08 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:57634c81-1487-4126-95e8-1a27483743cf</guid><dc:creator>Nalani Flynns</dc:creator><slash:comments>3</slash:comments><comments>https://e2echina.ti.com/thread/1086794?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1086794/mspm0c1104-mspm0v1104-sysconfig-disable-nrst/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0C1104" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0C1104&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Other Parts Discussed in Thread:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/tool/cn/SYSCONFIG" class="internal-link folder tool" title="Link to Tool Folder" target="_blank"&gt;SYSCONFIG&lt;/a&gt;,&lt;/p&gt;&lt;p&gt;我目前正在使用MSPMOV1104进行设计。为了复用引脚，我通过SysConfig的SYSCTL将NRST引脚配置为了&amp;ldquo;Disable NRST&amp;rdquo;。&lt;/p&gt;
&lt;p&gt;请问在原理图设计上，既然软件中已经禁用了复位功能，该引脚是否还需要强制外接上拉电阻（例如数据手册推荐47k22）？&lt;/p&gt;
&lt;p&gt;我主要的顾虑是：在上电瞬间（POR）到软件配置生效之前这段&amp;ldquo;空窗期&amp;rdquo;内，芯片硬件默认该引脚为复位输入。如果不加外部上拉，内部默认的上拉能力是否足够防止误复位？是否存在由于环境噪声导致MCU一直处于复位状态，从而永远无法启动去执行&amp;ldquo;Disable NRST&amp;quot;代码的风险？&lt;/p&gt;
&lt;p&gt;期待您的专业解答，谢谢！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0G3107: M0G3107QRHBRQ1接收数据异常</title><link>https://e2echina.ti.com/thread/1081825?ContentTypeID=0</link><pubDate>Mon, 29 Jun 2026 04:00:10 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:c5c36d7f-c30b-4c2b-85d2-e649e28b4986</guid><dc:creator>sheng lao</dc:creator><slash:comments>1</slash:comments><comments>https://e2echina.ti.com/thread/1081825?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1081825/mspm0g3107-m0g3107qrhbrq1/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0G3107" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0G3107&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;MCU: M0G3107QRHBRQ1&amp;nbsp;&lt;/p&gt;
&lt;p&gt;CAN: TJA1044BTK/0J&lt;/p&gt;
&lt;p&gt;CAN总线上挂有四个相同的设备，设备正常状态下均处于休眠状态。 CAN盒发出数据，由CAN IC唤醒MCU，MCU去读取数据，当温度低于-40&amp;deg;时，CAN接收到的数据正确，但是MCU收到数据对不上，也加了上拉电阻，想确认下是什么原因会导致低温数据异常&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0G3507: MSPM0G3507: I2C1 Controller (callback mode) ISR stops firing after bus fault, reset the i2c controller, but failed</title><link>https://e2echina.ti.com/thread/1076808?ContentTypeID=0</link><pubDate>Thu, 04 Jun 2026 00:02:46 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:2a92988a-9713-406e-a4bd-f18586813f43</guid><dc:creator>Xu Chen</dc:creator><slash:comments>1</slash:comments><comments>https://e2echina.ti.com/thread/1076808?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1076808/mspm0g3507-mspm0g3507-i2c1-controller-callback-mode-isr-stops-firing-after-bus-fault-reset-the-i2c-controller-but-failed/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0G3507" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0G3507&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have an MSPM0G3507 with &lt;strong&gt;I2C0 as Target&lt;/strong&gt; (responding to an upstream master at 0x50) and &lt;strong&gt;I2C1 as Controller&lt;/strong&gt; (reading an NSA2300 sensor at 0x6D and a downstream MCU at 0x50 on a separate physical bus). Both I2C instances run at 100kHz.&lt;/p&gt;
&lt;p&gt;When the I2C1 bus experiences a fault (e.g., slave holds SCL low, or a hot-plug glitch), my error recovery performs:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;&lt;code&gt;I2C_close(i2cHandle);
i2cClearBus();          // GPIO bit-bang: 9 SCL pulses + STOP condition
i2cHandle = I2C_open(CONFIG_I2C_0, &amp;amp;i2cParams);
I2C_setClockTimeout(i2cHandle, ...);
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;After this sequence, &lt;code&gt;I2C_open()&lt;/code&gt; returns a non-NULL handle (success), and &lt;code&gt;I2C_transfer()&lt;/code&gt; returns &lt;code&gt;true&lt;/code&gt; (transfer queued). &lt;strong&gt;But the transfer callback never fires.&lt;/strong&gt; The ISR (&lt;code&gt;I2C1_IRQHandler&lt;/code&gt;) appears to stop triggering entirely. Every subsequent transfer times out the same way &amp;mdash; &lt;code&gt;I2C_transfer()&lt;/code&gt; returns true, but the callback never runs, even for transactions where the slave ACKs its address.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/hdd_5F00_i2c_5F00_payload_5F00_manager.c" target="_blank" rel="noopener" data-temp-id="hdd_i2c_payload_manager.c-17406"&gt;hdd_i2c_payload_manager.c&lt;/a&gt; &lt;a href="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/ti_5F00_msp_5F00_dl_5F00_config.c" target="_blank" rel="noopener" data-temp-id="ti_msp_dl_config.c-5778"&gt;ti_msp_dl_config.c&lt;/a&gt; &lt;a href="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/i2c_5F00_controller.c" target="_blank" rel="noopener" data-temp-id="i2c_controller.c-21718"&gt;i2c_controller.c&lt;/a&gt; &lt;a href="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/ti_5F00_drivers_5F00_config.c" target="_blank" rel="noopener" data-temp-id="ti_drivers_config.c-11812"&gt;ti_drivers_config.c&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/5554.image.png" alt="image.png" data-temp-id="image.png-102146"&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR5994: 对于FRAM区域能否被LEA外设访问</title><link>https://e2echina.ti.com/thread/1076370?ContentTypeID=0</link><pubDate>Fri, 29 May 2026 02:52:28 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:0d05e6b2-8151-4631-80b0-01422e941aea</guid><dc:creator>longlong ma</dc:creator><slash:comments>1</slash:comments><comments>https://e2echina.ti.com/thread/1076370?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1076370/msp430fr5994-fram-lea/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR5994" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR5994&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;你好&amp;nbsp;&lt;br&gt;软件上需要进行FFT运算, LEA的DMA操作 能否直接访问FRAM, 采样信号频率是30K, 目前推算出来对存储需求大, 请问 专家 MSP430FR5994这款处理器,能否支持 这样的系统架构?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR6047: 流道为空管时，程序跑飞问题</title><link>https://e2echina.ti.com/thread/1074473?ContentTypeID=0</link><pubDate>Thu, 21 May 2026 01:48:27 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:6a2fd14f-157b-4b36-9461-2c29107424bc</guid><dc:creator>LT1 Shen1</dc:creator><slash:comments>17</slash:comments><comments>https://e2echina.ti.com/thread/1074473?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1074473/msp430fr6047/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR6047" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR6047&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;此前我询问过此问题，但依旧没解决，现在我有新的发现，程序是我结合DEMO程序自己写的，首先我确认我在使用2MHz超声波晶片换能器时，无论管路有无液体，程序运行均正常，且USS库能正常返回数值。当我将换能器更换为1MHz时，并通过USS图形软件生成了对应的.h文件，程序烧录后，在管路有液体时，程序执行也正常，但是当管路无液体时，程序执行USS_runAlgorithmsFixedPoint函数后，会跑飞。&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0L1105: 烧录出现报错(Error -6305) PRSC module failed to write to a router register.</title><link>https://e2echina.ti.com/thread/1073581?ContentTypeID=0</link><pubDate>Thu, 14 May 2026 03:22:55 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:4bf7b9c0-9b6c-422e-85b9-f1a49ca3968c</guid><dc:creator>X HS</dc:creator><slash:comments>1</slash:comments><comments>https://e2echina.ti.com/thread/1073581?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1073581/mspm0l1105-error--6305-prsc-module-failed-to-write-to-a-router-register/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1105" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1105&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;我正在使用CCS调试MSPML1105,一开始一切正常，能正常烧录，然后我给我的板子上焊接了一个按键(与PA21引脚连接)，然后再继续调试，debug时出现了这个报错，我该怎么做？我觉得这和我的焊接没有任何关系，因为我还有一块板子，他的按键一开始就是焊接好的，那块板子一开始也可以正常工作，但是后续也出现了这个报错，然后就无法烧录了，出现这个报错该如何解决？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0G3507: MSPM0G3507 为什么解锁芯片程序可以烧录进去，CCS和uniflash一直显示DAP连接失败？</title><link>https://e2echina.ti.com/thread/1072390?ContentTypeID=0</link><pubDate>Thu, 07 May 2026 14:36:34 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:673385cd-43c0-45fc-bdf2-afbf08bec0c2</guid><dc:creator>zedong mao</dc:creator><slash:comments>2</slash:comments><comments>https://e2echina.ti.com/thread/1072390?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1072390/mspm0g3507-mspm0g3507-ccs-uniflash-dap/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0G3507" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0G3507&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Other Parts Discussed in Thread:&lt;/b&gt;  &lt;a href="https://www.ti.com.cn/tool/cn/UNIFLASH" class="internal-link folder tool" title="Link to Tool Folder" target="_blank"&gt;UNIFLASH&lt;/a&gt;&lt;/p&gt;&lt;p&gt;MSPM0G3507 为什么解锁芯片程序可以烧录进去，CCS和uniflash一直显示DAP连接失败？&lt;img src="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/0702.image.png" alt="image.png" data-temp-id="image.png-19997"&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSPM0L1105: MSPM0L系列MCU使用IO口唤醒的疑问。</title><link>https://e2echina.ti.com/thread/1072111?ContentTypeID=0</link><pubDate>Wed, 06 May 2026 02:06:14 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:64572e8b-18d3-4106-9f96-063c08d01563</guid><dc:creator>X HS</dc:creator><slash:comments>2</slash:comments><comments>https://e2echina.ti.com/thread/1072111?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1072111/mspm0l1105-mspm0l-mcu-io/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSPM0L1105" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSPM0L1105&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;我看手册里描述是这样的，只有特定结构的IO可以使用唤醒功能让MCU退出低功耗模式，但是所有中断都可以触发唤醒控制器(WUC)，我想问下两种唤醒有什么区别吗？这是不是意味着所有能进行外部中断的IO口都可以通过中断来唤醒MCU？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR6047: 程序死机问题</title><link>https://e2echina.ti.com/thread/1070752?ContentTypeID=0</link><pubDate>Tue, 28 Apr 2026 09:44:51 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:09550ec6-6f5c-4c96-9d2b-8473045aa5ec</guid><dc:creator>LT1 Shen1</dc:creator><slash:comments>4</slash:comments><comments>https://e2echina.ti.com/thread/1070752?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1070752/msp430fr6047/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR6047" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR6047&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;我参照DEMO程序，按照我的需求更改了一版软件程序，使用的是2MHz晶片，做了约50个部件运行均正常。现在我将晶片更换成了1MHz，并修改了程序，但程序会卡死在这个函数commonWaitForconversion，我确认硬件是正常的，因我烧录2MHz的程序连接2MHz的晶片时能够正常运行。以下是我变更为1MHz后的USS_userConfig.h:&lt;/p&gt;
&lt;p&gt;/* --COPYRIGHT--,TI&lt;br&gt;&amp;nbsp;*MSP Source and Object Code Software License Agreement&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**IMPORTANT - PLEASE CAREFULLY READ THE FOLLOWING LICENSE AGREEMENT, WHICH IS LEGALLY BINDING. &amp;nbsp;AFTER YOU READ IT, YOU WILL BE ASKED WHETHER YOU ACCEPT AND AGREE TO ITS TERMS. &amp;nbsp;DO NOT CLICK &amp;nbsp;&amp;quot;I ACCEPT&amp;quot; UNLESS: (1) YOU WILL USE THE LICENSED MATERIALS FOR YOUR OWN BENEFIT AND PERSONALLY ACCEPT, AGREE TO AND INTEND TO BE BOUND BY THESE TERMS; OR (2) YOU ARE AUTHORIZED TO, AND INTEND TO BE BOUND BY, THESE TERMS ON BEHALF OF YOUR COMPANY.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**Important - Read carefully: This Source and Object Code Software License Agreement (&amp;quot;Agreement&amp;quot;) is a legal agreement between you and Texas Instruments Incorporated (&amp;quot;TI&amp;quot;). &amp;nbsp;In this Agreement &amp;quot;you&amp;quot; means you personally if you will exercise the rights granted for your own benefit, but it means your company (or you on behalf of your company) if you will exercise the rights granted for your company&amp;#39;s benefit. &amp;nbsp;The &amp;quot;Licensed Materials&amp;quot; subject to this Agreement include the software programs and any associated electronic documentation (in each case, in whole or in part) that accompany this Agreement, are set forth in the applicable software manifest and you access &amp;quot;on-line&amp;quot;, as well as any updates or upgrades to such software programs or documentation, if any, provided to you at TI&amp;#39;s sole discretion. &amp;nbsp;The Licensed Materials are specifically designed and licensed for use solely and exclusively with MSP microcontroller devices manufactured by or for TI (&amp;quot;TI Devices&amp;quot;). &amp;nbsp;By installing, copying or otherwise using the Licensed Materials you agree to abide by the provisions set forth herein. &amp;nbsp;This Agreement is displayed for you to read prior to using the Licensed Materials. &amp;nbsp;If you choose not to accept or agree with these provisions, do not download or install the Licensed Materials.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**Note Regarding Possible Access to Other Licensed Materials: &amp;nbsp;The Licensed Materials may be bundled with software and associated electronic documentation, if any, licensed under terms other than the terms of this Agreement (in whole or in part, &amp;quot;Other Licensed Materials&amp;quot;), including, for example Open Source Software and/or TI-owned or third party Proprietary Software licensed under such other terms. &amp;nbsp;&amp;quot;Open Source Software&amp;quot; means any software licensed under terms requiring that (A) other software (&amp;quot;Proprietary Software&amp;quot;) incorporated, combined or distributed with such software or developed using such software: (i) be disclosed or distributed in source code form; or (ii) otherwise be licensed on terms inconsistent with the terms of this Agreement, including but not limited to permitting use of the Proprietary Software on or with devices other than TI Devices, or (B) require the owner of Proprietary Software to license any of its patents to users of the Open Source Software and/or Proprietary Software incorporated, combined or distributed with such Open Source Software or developed using such Open Source Software.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**If by accepting this Agreement, you gain access to Other Licensed Materials, they will be listed in the applicable software manifest. &amp;nbsp;Your use of the Other Licensed Materials is subject to the applicable other licensing terms acknowledgements and disclaimers as specified in the applicable software manifest and/or identified or included with the Other Licensed Materials in the software bundle. &amp;nbsp;For clarification, this Agreement does not limit your rights under, or grant you rights that supersede, the terms of any applicable Other Licensed Materials license agreement. &amp;nbsp;If any of the Other Licensed Materials is Open Source Software that has been provided to you in object code only under terms that obligate TI to provide to you or show you where you can access the source code versions of such Open Source Software, TI will provide to you, or show you where you can access, such source code if you contact TI at Texas Instruments Incorporated, 12500 TI Boulevard, Mail Station 8638, Dallas, Texas 75243, Attention: Contracts Manager, Embedded Processing. &amp;nbsp;In the event you choose not to accept or agree with the terms in any applicable Other Licensed Materials license agreement, you must terminate this Agreement.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**1. &amp;nbsp; &amp;nbsp;License Grant and Use Restrictions.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**a. &amp;nbsp; &amp;nbsp;Licensed Materials License Grant. &amp;nbsp;Subject to the terms of this Agreement, TI hereby grants to you a limited, non-transferable, non-exclusive, non-assignable, non-sublicensable, fully paid-up and royalty-free license to:&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;i. &amp;nbsp; &amp;nbsp;Limited Source Code License: &amp;nbsp;make copies, prepare derivative works, display internally and use internally the Licensed Materials provided to you in source code for the sole purpose of developing object and executable versions of such Licensed Materials, or any derivative thereof, that execute solely and exclusively on TI Devices, for end use in Licensee Products, and maintaining and supporting such Licensed Materials, or any derivative thereof, and Licensee Products. &amp;nbsp;For purposes of this Agreement, &amp;quot;Licensee Product&amp;quot; means a product that consists of both hardware, including one or more TI Devices, and software components, including only executable versions of the Licensed Materials that execute solely and exclusively on such TI Devices.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ii. &amp;nbsp; &amp;nbsp;Object Code Evaluation, Testing and Use License: &amp;nbsp;make copies, display internally, distribute internally and use internally the Licensed Materials in object code for the sole purposes of evaluating and testing the Licensed Materials and designing and developing Licensee Products, and maintaining and supporting the Licensee Products;&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;iii. &amp;nbsp; &amp;nbsp;Demonstration License: &amp;nbsp;demonstrate to third parties the Licensed Materials executing solely and exclusively on TI Devices as they are used in Licensee Products, provided that such Licensed Materials are demonstrated in object or executable versions only and&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;iv. &amp;nbsp; &amp;nbsp;Production and Distribution License: &amp;nbsp;make, use, import, export and otherwise distribute the Licensed Materials as part of a Licensee Product, provided that such Licensee Products include only embedded executable copies of such Licensed Materials that execute solely and exclusively on TI Devices.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;b. &amp;nbsp; &amp;nbsp;Contractors. &amp;nbsp;The licenses granted to you hereunder shall include your on-site and off-site contractors (either an individual or entity), while such contractors are performing work for or providing services to you, provided that such contractors have executed work-for-hire agreements with you containing applicable terms and conditions consistent with the terms and conditions set forth in this Agreement and provided further that you shall be liable to TI for any breach by your contractors of this Agreement to the same extent as you would be if you had breached the Agreement yourself.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;c. &amp;nbsp; &amp;nbsp;No Other License. &amp;nbsp;Nothing in this Agreement shall be construed as a license to any intellectual property rights of TI other than those rights embodied in the Licensed Materials provided to you by TI. &amp;nbsp;EXCEPT AS PROVIDED HEREIN, NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHTS IS GRANTED HEREIN.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;d. &amp;nbsp; &amp;nbsp;Covenant not to Sue. &amp;nbsp;During the term of this Agreement, you agree not to assert a claim against TI or its licensees that the Licensed Materials infringe your intellectual property rights.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;e. &amp;nbsp; &amp;nbsp;Restrictions. &amp;nbsp;You shall maintain the source code versions of the Licensed Materials under password control protection and shall not disclose such source code versions of the Licensed Materials, to any person other than your employees and contractors whose job performance requires access. &amp;nbsp;You shall not use the Licensed Materials with a processing device other than a TI Device, and you agree that any such unauthorized use of the Licensed Materials is a material breach of this Agreement. &amp;nbsp;You shall not use the Licensed Materials for the purpose of analyzing or proving infringement of any of your patents by either TI or TI&amp;#39;s customers. &amp;nbsp;Except as expressly provided in this Agreement, you shall not copy, publish, disclose, display, provide, transfer or make available the Licensed Materials to any third party and you shall not sublicense, transfer, or assign the Licensed Materials or your rights under this Agreement to any third party. &amp;nbsp;You shall not mortgage, pledge or encumber the Licensed Materials in any way. &amp;nbsp;You may use the Licensed Materials with Open Source Software or with software developed using Open Source Software tools provided you do not incorporate, combine or distribute the Licensed Materials in a manner that subjects the Licensed Materials to any license obligations or any other intellectual property related terms of any license governing such Open Source Software.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;f. &amp;nbsp; &amp;nbsp;Termination. &amp;nbsp;This Agreement is effective on the date the Licensed Materials are delivered to you together with this Agreement and will remain in full force and effect until terminated. &amp;nbsp;You may terminate this Agreement at any time by written notice to TI. &amp;nbsp;Without prejudice to any other rights, if you fail to comply with the terms of this Agreement or you are acquired, TI may terminate your right to use the Licensed Materials upon written notice to you. &amp;nbsp;Upon termination of this Agreement, you will destroy any and all copies of the Licensed Materials in your possession, custody or control and provide to TI a written statement signed by your authorized representative certifying such destruction. Except for Sections 1(a), 1(b) and 1(d), all provisions of this Agreement shall survive termination of this Agreement.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**2. &amp;nbsp; &amp;nbsp;Licensed Materials Ownership. &amp;nbsp;The Licensed Materials are licensed, not sold to you, and can only be used in accordance with the terms of this Agreement. &amp;nbsp;Subject to the licenses granted to you pursuant to this Agreement, TI and its licensors own and shall continue to own all right, title and interest in and to the Licensed Materials, including all copies thereof. &amp;nbsp;You agree that all fixes, modifications and improvements to the Licensed Materials conceived of or made by TI that are based, either in whole or in part, on your feedback, suggestions or recommendations are the exclusive property of TI and all right, title and interest in and to such fixes, modifications or improvements to the Licensed Materials will vest solely in TI. &amp;nbsp;Moreover, you acknowledge and agree that when your independently developed software or hardware components are combined, in whole or in part, with the Licensed Materials, your right to use the combined work that includes the Licensed Materials remains subject to the terms and conditions of this Agreement.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**3. &amp;nbsp; &amp;nbsp;Intellectual Property Rights.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;a. &amp;nbsp; &amp;nbsp;The Licensed Materials contain copyrighted material, trade secrets and other proprietary information of TI and its licensors and are protected by copyright laws, international copyright treaties, and trade secret laws, as well as other intellectual property laws. &amp;nbsp;To protect TI&amp;#39;s and its licensors&amp;#39; rights in the Licensed Materials, you agree, except as specifically permitted by statute by a provision that cannot be waived by contract, not to &amp;quot;unlock&amp;quot;, decompile, reverse engineer, disassemble or otherwise translate to a human-perceivable form any portions of the Licensed Materials provided to you in object code format only, nor permit any person or entity to do so. &amp;nbsp;You shall not remove, alter, cover, or obscure any confidentiality, trade secret, trade mark, patent, copyright or other proprietary notice or other identifying marks or designs from any component of the Licensed Materials and you shall reproduce and include in all copies of the Licensed Materials the copyright notice(s) and proprietary legend(s) of TI and its licensors as they appear in the Licensed Materials. &amp;nbsp;TI reserves all rights not specifically granted under this Agreement.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;b. &amp;nbsp; &amp;nbsp;Certain Licensed Materials may be based on industry recognized standards or software programs published by industry recognized standards bodies and certain third parties may claim to own patents, copyrights, and other intellectual property rights that cover implementation of those standards. &amp;nbsp;You acknowledge and agree that this Agreement does not convey a license to any such third party patents, copyrights, and other intellectual property rights and that you are solely responsible for any patent, copyright, or other intellectual property right claim that relates to your use or distribution of the Licensed Materials or your use or distribution of your products that include or incorporate the Licensed Materials. &amp;nbsp;Moreover, you acknowledge that you are responsible for any fees or royalties that may be payable to any third party based on such third party&amp;#39;s interests in the Licensed Materials or any intellectual property rights that cover implementation of any industry recognized standard, any software program published by any industry recognized standards bodies or any other proprietary technology.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**4. &amp;nbsp; &amp;nbsp;Confidential Information. &amp;nbsp;You acknowledge and agree that the Licensed Materials contain trade secrets and other confidential information of TI and its licensors. &amp;nbsp;You agree to use the Licensed Materials solely within the scope of the licenses set forth herein, to maintain the Licensed Materials in strict confidence, to use at least the same procedures and degree of care that you use to prevent disclosure of your own confidential information of like importance but in no instance less than reasonable care, and to prevent disclosure of the Licensed Materials to any third party, except as may be necessary and required in connection with your rights and obligations hereunder; provided, however, that you may not provide the Licensed Materials to any business organization or group within your company or to customers or contractors that design or manufacture semiconductors unless TI gives written consent. &amp;nbsp;You agree to obtain executed confidentiality agreements with your employees and contractors having access to the Licensed Materials and to diligently take steps to enforce such agreements in this respect. &amp;nbsp;TI may disclose your contact information to TI&amp;#39;s licensors.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**5. &amp;nbsp; &amp;nbsp;Warranties and Limitations. &amp;nbsp;THE LICENSED MATERIALS ARE PROVIDED &amp;quot;AS IS&amp;quot;. &amp;nbsp;FURTHERMORE, YOU ACKNOWLEDGE AND AGREE THAT THE LICENSED MATERIALS HAVE NOT BEEN TESTED OR CERTIFIED BY ANY GOVERNMENT AGENCY OR INDUSTRY REGULATORY ORGANIZATION OR ANY OTHER THIRD PARTY ORGANIZATION. &amp;nbsp;YOU AGREE THAT PRIOR TO USING, INCORPORATING OR DISTRIBUTING THE LICENSED MATERIALS IN OR WITH ANY COMMERCIAL PRODUCT THAT YOU WILL THOROUGHLY TEST THE PRODUCT AND THE FUNCTIONALITY OF THE LICENSED MATERIALS IN OR WITH THAT PRODUCT AND BE SOLELY RESPONSIBLE FOR ANY PROBLEMS OR FAILURES.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**TI AND ITS LICENSORS MAKE NO WARRANTY OR REPRESENTATION, EITHER EXPRESS, IMPLIED OR STATUTORY, REGARDING THE LICENSED MATERIALS, INCLUDING BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADE SECRETS OR OTHER INTELLECTUAL PROPERTY RIGHTS. &amp;nbsp;YOU AGREE TO USE YOUR INDEPENDENT JUDGMENT IN DEVELOPING YOUR PRODUCTS. &amp;nbsp;NOTHING CONTAINED IN THIS AGREEMENT WILL BE CONSTRUED AS A WARRANTY OR REPRESENTATION BY TI TO MAINTAIN PRODUCTION OF ANY TI SEMICONDUCTOR DEVICE OR OTHER HARDWARE OR SOFTWARE WITH WHICH THE LICENSED MATERIALS MAY BE USED.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**IN NO EVENT SHALL TI OR ITS LICENSORS, BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, PUNITIVE OR CONSEQUENTIAL DAMAGES, HOWEVER CAUSED, ON ANY THEORY OF LIABILITY, IN CONNECTION WITH OR ARISING OUT OF THIS AGREEMENT OR THE USE OF THE LICENSED MATERIALS REGARDLESS OF WHETHER TI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. &amp;nbsp;EXCLUDED DAMAGES INCLUDE, BUT ARE NOT LIMITED TO, COST OF REMOVAL OR REINSTALLATION, OUTSIDE COMPUTER TIME, LABOR COSTS, LOSS OF DATA, LOSS OF GOODWILL, LOSS OF PROFITS, LOSS OF SAVINGS, OR LOSS OF USE OR INTERRUPTION OF BUSINESS. &amp;nbsp;IN NO EVENT WILL TI&amp;#39;S OR ITS LICENSORS&amp;#39; AGGREGATE LIABILITY UNDER THIS AGREEMENT OR ARISING OUT OF YOUR USE OF THE LICENSED MATERIALS EXCEED FIVE HUNDRED U.S. DOLLARS (US$500).&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;Because some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages or limitation on how long an implied warranty lasts, the above limitations or exclusions may not apply to you.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**6. &amp;nbsp; &amp;nbsp;Indemnification Disclaimer. &amp;nbsp;YOU ACKNOWLEDGE AND AGREE THAT TI SHALL NOT BE LIABLE FOR AND SHALL NOT DEFEND OR INDEMNIFY YOU AGAINST ANY THIRD PARTY INFRINGEMENT CLAIM THAT RELATES TO OR IS BASED ON YOUR MANUFACTURE, USE, OR DISTRIBUTION OF THE LICENSED MATERIALS OR YOUR MANUFACTURE, USE, OFFER FOR SALE, SALE, IMPORTATION OR DISTRIBUTION OF YOUR PRODUCTS THAT INCLUDE OR INCORPORATE THE LICENSED MATERIALS.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**7. &amp;nbsp; &amp;nbsp;No Technical Support. &amp;nbsp;TI and its licensors are under no obligation to install, maintain or support the Licensed Materials.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**8. &amp;nbsp; &amp;nbsp;Notices. &amp;nbsp;All notices to TI hereunder shall be delivered to Texas Instruments Incorporated, 12500 TI Boulevard, Mail Station 8638, Dallas, Texas 75243, Attention: Contracts Manager - Embedded Processing, with a copy to Texas Instruments Incorporated, 13588 N. Central Expressway, Mail Station 3999, Dallas, Texas 75243, Attention: Law Department - Embedded Processing. &amp;nbsp;All notices shall be deemed served when received by TI.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**9. &amp;nbsp; &amp;nbsp;Export Control. &amp;nbsp;The Licensed Materials are subject to export control under the U.S. Commerce Department&amp;#39;s Export Administration Regulations (&amp;quot;EAR&amp;quot;). &amp;nbsp;Unless prior authorization is obtained from the U.S. Commerce Department, neither you nor your subsidiaries shall export, re-export, or release, directly or indirectly (including, without limitation, by permitting the Licensed Materials to be downloaded), any technology, software, or software source code, received from TI, or export, directly or indirectly, any direct product of such technology, software, or software source code, to any person, destination or country to which the export, re-export, or release of the technology, software, or software source code, or direct product is prohibited by the EAR. &amp;nbsp;You represent and warrant that you (i) are not located in, or under the control of, a national or resident of Cuba, Iran, North Korea, Sudan and Syria or any other country subject to a U.S. goods embargo; (ii) are not on the U.S. Treasury Department&amp;#39;s List of Specially Designated Nationals or the U.S. Commerce Department&amp;#39;s Denied Persons List or Entity List; and (iii) will not use the Licensed Materials or transfer the Licensed Materials for use in any military, nuclear, chemical or biological weapons, or missile technology end-uses. &amp;nbsp;Any software export classification made by TI shall not be construed as a representation or warranty regarding the proper export classification for such software or whether an export license or other documentation is required for the exportation of such software.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**10. &amp;nbsp; &amp;nbsp;Governing Law and Severability; Waiver. &amp;nbsp;This Agreement will be governed by and interpreted in accordance with the laws of the State of Texas, without reference to conflict of laws principles. &amp;nbsp;If for any reason a court of competent jurisdiction finds any provision of the Agreement to be unenforceable, that provision will be enforced to the maximum extent possible to effectuate the intent of the parties, and the remainder of the Agreement shall continue in full force and effect. &amp;nbsp;This Agreement shall not be governed by the United Nations Convention on Contracts for the International Sale of Goods, or by the Uniform Computer Information Transactions Act (UCITA). &amp;nbsp;The parties agree that non-exclusive jurisdiction for any dispute arising out of or relating to this Agreement lies within the courts located in the State of Texas. &amp;nbsp;Notwithstanding the foregoing, any judgment may be enforced in any United States or foreign court, and either party may seek *** relief in any United States or foreign court. &amp;nbsp;Failure by TI to enforce any provision of this Agreement shall not be deemed a waiver of future enforcement of that or any other provision in this Agreement or any other agreement that may be in place between the parties.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**11. &amp;nbsp; &amp;nbsp;PRC Provisions. &amp;nbsp;If you are located in the People&amp;#39;s Republic of China (&amp;quot;PRC&amp;quot;) or if the Licensed Materials will be sent to the PRC, the following provisions shall apply:&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp;a. &amp;nbsp; &amp;nbsp;Registration Requirements. &amp;nbsp;You shall be solely responsible for performing all acts and obtaining all approvals that may be required in connection with this Agreement by the government of the PRC, including but not limited to registering pursuant to, and otherwise complying with, the PRC Measures on the Administration of Software Products, Management Regulations on Technology Import-Export, and Technology Import and Export Contract Registration Management Rules. &amp;nbsp;Upon receipt of such approvals from the government authorities, you shall forward evidence of all such approvals to TI for its records. &amp;nbsp;In the event that you fail to obtain any such approval or registration, you shall be solely responsible for any and all losses, damages or costs resulting therefrom, and shall indemnify TI for all such losses, damages or costs.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**b. &amp;nbsp; &amp;nbsp;Governing Language. &amp;nbsp;This Agreement is written and executed in the English language and shall be authoritative and controlling, whether or not translated into a language other than English to comply with law or for reference purposes. &amp;nbsp;If a translation of this Agreement is required for any purpose, including but not limited to registration of the Agreement pursuant to any governmental laws, regulations or rules, you shall be solely responsible for creating such translation.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**12. &amp;nbsp; &amp;nbsp;Contingencies. &amp;nbsp; &amp;nbsp;TI shall not be in breach of this Agreement and shall not be liable for any non-performance or delay in performance if such non-performance or delay is due to a force majeure event or other circumstances beyond TI&amp;#39;s reasonable control.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;**13. &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Entire Agreement. &amp;nbsp;This is the entire agreement between you and TI and this Agreement supersedes any prior agreement between the parties related to the subject matter of this Agreement. &amp;nbsp;Notwithstanding the foregoing, any signed and effective software license agreement relating to the subject matter hereof and stating expressly that such agreement shall control regardless of any subsequent click-wrap, shrink-wrap or web-wrap, shall supersede the terms of this Agreement. &amp;nbsp;No amendment or modification of this Agreement will be effective unless in writing and signed by a duly authorized representative of TI. &amp;nbsp;You hereby warrant and represent that you have obtained all authorizations and other applicable consents required empowering you to enter into this Agreement.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* --/COPYRIGHT--*/&lt;br&gt;#ifndef _USERCONFIG_H_&lt;br&gt;#define _USERCONFIG_H_&lt;/p&gt;
&lt;p&gt;//#############################################################################&lt;br&gt;//&lt;br&gt;//! \file &amp;nbsp; ussSwLib_userConfig.h&lt;br&gt;//!&lt;br&gt;//! \brief &amp;nbsp;USS SW Library configuration file&lt;br&gt;//! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;br&gt;//&lt;br&gt;// &amp;nbsp;Group: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MSP&lt;br&gt;// &amp;nbsp;Target Device: &amp;nbsp;MSP430FR604x&lt;br&gt;//&lt;br&gt;// &amp;nbsp;(C) Copyright 2019, Texas Instruments, Inc.&lt;br&gt;//#############################################################################&lt;br&gt;// TI Release: USSLib_02_40_00_00&lt;br&gt;// Release Date: February 22, 2020&lt;br&gt;//#############################################################################&lt;/p&gt;
&lt;p&gt;//*****************************************************************************&lt;br&gt;// includes&lt;br&gt;//*****************************************************************************&lt;br&gt;#include &amp;lt;msp430.h&amp;gt;&lt;br&gt;#include &amp;lt;stdint.h&amp;gt;&lt;br&gt;#include &amp;lt;stdbool.h&amp;gt;&lt;br&gt;#include &amp;quot;ussSwLib.h&amp;quot;&lt;br&gt;#include &amp;quot;USS_Lib_HAL.h&amp;quot;&lt;br&gt;#include &amp;quot;IQmathLib.h&amp;quot;&lt;br&gt;#include &amp;quot;ussSwLibCalibration.h&amp;quot;&lt;/p&gt;
&lt;p&gt;//*****************************************************************************&lt;br&gt;//! \addtogroup ussSwLib_userConfig&lt;br&gt;//! @{&lt;br&gt;//*****************************************************************************&lt;/p&gt;
&lt;p&gt;#ifdef __cplusplus&lt;/p&gt;
&lt;p&gt;extern &amp;quot;C&amp;quot;&lt;br&gt;{&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;* The following macros allows user to select tone generation type&lt;br&gt;* *****************************************************************************/&lt;br&gt;#define USS_PULSE_MODE_SINGLE_TONE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_PULSE_MODE_DUAL_TONE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br&gt;#define USS_PULSE_MODE_MULTI_TONE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;* The following macros allows user to select default&lt;br&gt;* Absolute time of flight computation option&lt;br&gt;* To switch between computation option update&lt;br&gt;* USS_ALG_ABS_TOF_COMPUTATION_MODE macro with the desired computation option&lt;br&gt;******************************************************************************/&lt;br&gt;#define USS_ALG_ABS_TOF_COMPUTATION_MODE_LOBE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_ALG_ABS_TOF_COMPUTATION_MODE_HILBERT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;br&gt;#define USS_ALG_ABS_TOF_COMPUTATION_MODE_LOBE_WIDE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;br&gt;#define USS_ALG_ABS_TOF_COMPUTATION_MODE_HILBERT_WIDE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/p&gt;
&lt;p&gt;&lt;br&gt;/*******************************************************************************&lt;br&gt;* The following macros allows user to select default&lt;br&gt;* DtoF computation option&lt;br&gt;* To switch between computation option update&lt;br&gt;* USS_ALG_DTOF_COMPUTATION_MODE macro with the desired computation&lt;br&gt;* option&lt;br&gt;******************************************************************************/&lt;br&gt;#define USS_ALG_DTOF_COMPUTATION_OPTION_WATER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br&gt;#define USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;/*******************************************************************************&lt;br&gt;&amp;nbsp; * The following macros allows user to select default&lt;br&gt;&amp;nbsp; * DToF estimate windowing options&lt;br&gt;&amp;nbsp; * To switch between computation option update&lt;br&gt;&amp;nbsp; * USS_ALG_DTOF_WINDOWING_MODE macro with the desired computation option&lt;br&gt;&amp;nbsp; * when USS_ALG_DTOF_COMPUTATION_MODE = USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE&lt;br&gt;&amp;nbsp; ******************************************************************************/&lt;br&gt;&amp;nbsp; #define USS_ALG_DTOF_EST_WINDOW_OPTION_DISABLED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;&amp;nbsp; #define USS_ALG_DTOF_EST_WINDOW_OPTION_ESTIMATE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br&gt;&amp;nbsp; #define USS_ALG_DTOF_EST_WINDOW_OPTION_DYNAMIC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;br&gt;&amp;nbsp; #define USS_ALG_DTOF_EST_WINDOW_OPTION_STATIC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;/p&gt;
&lt;p&gt;&amp;nbsp;/*******************************************************************************&lt;br&gt;&amp;nbsp; * The following macros allows user to select default&lt;br&gt;&amp;nbsp; * DToF estimate windowing options&lt;br&gt;&amp;nbsp; * To switch between computation option update&lt;br&gt;&amp;nbsp; * USS_ALG_DTOF_WINDOWING_MODE macro with the desired computation option&lt;br&gt;&amp;nbsp; * when USS_ALG_DTOF_COMPUTATION_MODE = USS_ALG_DTOF_COMPUTATION_OPTION_WATER&lt;br&gt;&amp;nbsp; ******************************************************************************/&lt;br&gt;&amp;nbsp; #define USS_ALG_DTOF_WATER_WINDOW_OPTION_DISABLED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;&amp;nbsp; #define USS_ALG_DTOF_WATER_WINDOW_OPTION_ENABLED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;/*******************************************************************************&lt;br&gt;&amp;nbsp; * The following macros allows user to select default&lt;br&gt;&amp;nbsp; * volume flow calibration options&lt;br&gt;&amp;nbsp; * To switch between computation option update&lt;br&gt;&amp;nbsp; * USS_ALG_VFR_CALIB_MODE macro with the desired computation option&lt;br&gt;&amp;nbsp; ******************************************************************************/&lt;br&gt;&amp;nbsp; #define USS_ALG_VFR_CALIB_OPTION_DISABLED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;&amp;nbsp; #define USS_ALG_VFR_CALIB_OPTION_FLOW &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br&gt;&amp;nbsp; #define USS_ALG_VFR_CALIB_OPTION_FLOW_TEMPERATURE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;/*******************************************************************************&lt;br&gt;&amp;nbsp;* The following macros allows user to select default&lt;br&gt;&amp;nbsp;* Volume computation option&lt;br&gt;&amp;nbsp;* To switch between computation option update&lt;br&gt;&amp;nbsp;* USS_ALG_VOLUME_RATE_COMPUTATION_MODE macro with the desired computation&lt;br&gt;&amp;nbsp;* option&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_ALG_VOLUME_RATE_COMPUTATION_OPTION_WATER &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_ALG_VOLUME_RATE_COMPUTATION_OPTION_GENERIC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br&gt;#define USS_ALG_VOLUME_RATE_COMPUTATION_OPTION_GAS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_VOLUME_RATE_COMPUTATION_OPTION_GENERIC&lt;/p&gt;
&lt;p&gt;//******************************************************************************&lt;br&gt;// defines&lt;br&gt;//******************************************************************************&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* USS PULSE GENERATION CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* The following parameters configures the ultrasonic pulse generation&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_PULSE_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_PULSE_MODE_SINGLE_TONE&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#if (USS_PULSE_MODE == USS_PULSE_MODE_SINGLE_TONE)&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES_F1 &amp;nbsp; &amp;nbsp;20&lt;br&gt;#define USS_F1_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1000000&lt;br&gt;#define USS_PULSE_DUTYPERCENT_F1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_NUM_OF_EXCITATION_PULSES_F1&lt;br&gt;#elif defined(__MSP430_HAS_SAPH_A__)&lt;br&gt;#if (USS_PULSE_MODE == USS_PULSE_MODE_DUAL_TONE)&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES_F1 &amp;nbsp; &amp;nbsp;20&lt;br&gt;#define USS_F1_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1000000&lt;br&gt;#define USS_PULSE_DUTYPERCENT_F1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES_F2 &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_F2_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_PULSE_DUTYPERCENT_F2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; (USS_NUM_OF_EXCITATION_PULSES_F1 + USS_NUM_OF_EXCITATION_PULSES_F2)&lt;br&gt;#elif (USS_PULSE_MODE == USS_PULSE_MODE_MULTI_TONE)&lt;br&gt;#define USS_F1_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1000000&lt;br&gt;#define USS_F2_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_NUM_OF_TRILL_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; ((2*(USS_NUM_OF_TRILL_PULSES + USS_NUM_OF_ADDTL_TRILL_PULSES)))&lt;br&gt;#endif&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&amp;nbsp;#if (USS_PULSE_MODE == USS_PULSE_MODE_MULTI_TONE)&lt;br&gt;#define USS_NUM_OF_ADDTL_TRILL_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#define USS_ADDTL_BIN_PATTERN_SIZE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_NUM_OF_STOP_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY MEMORY OPTIMIZATION CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* The following parameters allows to user to reduce capture buffer size and&lt;br&gt;&amp;nbsp;* temporary LEA and FRAM buffers.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#if defined(__MSP430_HAS_SAPH_A__)&lt;br&gt;#define USS_SW_LIB_APP_MAX_CAPTURE_SIZE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 500&lt;br&gt;#if (USS_PULSE_MODE == USS_PULSE_MODE_MULTI_TONE)&lt;br&gt;#define USS_NUM_OF_MAX_TRILL_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;br&gt;#define USS_NUM_OF_MAX_ADDTL_TRILL_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 10&lt;br&gt;#endif&lt;br&gt;#else&lt;br&gt;#define USS_SW_LIB_APP_MAX_CAPTURE_SIZE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;330&lt;br&gt;#endif&lt;br&gt;#define USS_SW_LIB_APP_MAX_FILTER_LENGTH &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&lt;br&gt;#define USS_SW_LIB_APP_MAX_FILTER_OPTIONS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5&lt;br&gt;#define USS_SW_LIB_APP_MAX_HILBERT_FILTER_OPTIONS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;br&gt;#define USS_SW_LIB_APP_MAX_HILBERT_FILTER_LENGTH &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;12&lt;br&gt;#if (USS_PULSE_MODE == USS_PULSE_MODE_MULTI_TONE)&lt;br&gt;#define USS_BINARY_ARRAY_MAX_SIZE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;400&lt;br&gt;#else&lt;br&gt;#define USS_BINARY_ARRAY_MAX_SIZE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&lt;br&gt;#endif&lt;br&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY CAPTURE ACCUMULATION CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* The following parameters allows to enable/disable capture accumulation&lt;br&gt;&amp;nbsp;* options. WARNING: Enabling accumulation will increase LEA RAM requirements&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_SW_LIB_ENABLE_ACCUMULATION valid options:&lt;br&gt;&amp;nbsp;* -true&lt;br&gt;&amp;nbsp;* -false&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_ALG_DTOF_INTERVAL valid options:&lt;br&gt;&amp;nbsp;* &amp;nbsp;-USS_dtof_volume_flow_calculation_interval_1 (default)&lt;br&gt;&amp;nbsp;* &amp;nbsp;-USS_dtof_volume_flow_calculation_interval_2&lt;br&gt;&amp;nbsp;* &amp;nbsp;-USS_dtof_volume_flow_calculation_interval_4&lt;br&gt;&amp;nbsp;* &amp;nbsp;-USS_dtof_volume_flow_calculation_interval_8&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* The following definitions are used to initialize the following library&lt;br&gt;&amp;nbsp;* parameter:&lt;br&gt;&amp;nbsp;* -USS_Capture_Configuration.isCapAccumulationEnabled&lt;br&gt;&amp;nbsp;* -USS_Algorithms_User_Configuration.dtofVolInterval&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_SW_LIB_ENABLE_ACCUMULATION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; false&lt;br&gt;#if (USS_SW_LIB_ENABLE_ACCUMULATION == false)&lt;br&gt;#define USS_ALG_DTOF_INTERVAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_dtof_volume_flow_calculation_interval_1&lt;br&gt;#else&lt;br&gt;#warning &amp;quot;Update to desired calculation interval&amp;quot;&lt;br&gt;#define USS_ALG_DTOF_INTERVAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_dtof_volume_flow_calculation_interval_4&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY CLOCK DEFINITION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* IMPORTANT: The following defines only specify MCLK and LFXT frequencies at&lt;br&gt;&amp;nbsp;* which the application is configured to run. The library DOES NOT configure&lt;br&gt;&amp;nbsp;* MCLK, SMCLK or LFXT.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* This parameter are also using in the derived parameter section to calculate&lt;br&gt;&amp;nbsp;* HSPLL counts and LFXT counts.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_MCLK_FREQ_IN_HZ valid options:&lt;br&gt;&amp;nbsp;* - Valid device specific MCLK frequency options&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_LFXT_FREQ_IN_HZ valid options:&lt;br&gt;&amp;nbsp;* - Valid device specific MCLK frequency options&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_SYS_MEASUREMENT_PERIOD (in LFXT cycles) valid range:&lt;br&gt;&amp;nbsp;* -min: 655 (20 milliseconds)&lt;br&gt;&amp;nbsp;* -max: 65535 (2 seconds)&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#if (USS_PULSE_MODE == USS_PULSE_MODE_MULTI_TONE)&lt;br&gt;#define USS_MCLK_FREQ_IN_HZ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 16000000&lt;br&gt;#else&lt;br&gt;#define USS_MCLK_FREQ_IN_HZ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 8000000&lt;br&gt;#endif&lt;br&gt;#define USS_SMCLK_FREQ_IN_HZ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8000000&lt;br&gt;#define USS_LFXT_FREQ_IN_HZ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 32768&lt;br&gt;#define USS_SYS_MEASUREMENT_PERIOD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;983&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY DIAGNOSTIC CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* The following configuration allows the application to obtain additional debug&lt;br&gt;&amp;nbsp;* message codes during the application process.&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_DIAGNOSTIC_MODE valid options:&lt;br&gt;&amp;nbsp;* - USS_diagnostics_mode_2 (default)&lt;br&gt;&amp;nbsp;* - USS_diagnostics_mode_0&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_DIAGNOSTIC_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_diagnostics_mode_2&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY METER CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* The following configuration allows the application to configure meter&lt;br&gt;&amp;nbsp;* specific parameter&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_ACOUSTIC_LENGTH (Acoustic length in us at room temperature)&lt;br&gt;&amp;nbsp;* USS_VOLUME_SCALE_FACTOR (Volume Flow Rate Scale Factor)&lt;br&gt;&amp;nbsp;* USS_VFR_LARGE_PIPE_ADDL_SF (Volume Flow Rate Additional Scale Factor)&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_ACOUSTIC_LENGTH &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 70&lt;br&gt;#define USS_VOLUME_SCALE_FACTOR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12742000&lt;br&gt;// The following #define must be set to 1.0f or larger&lt;br&gt;#define USS_VFR_LARGE_PIPE_ADDL_SF &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.000000f&lt;br&gt;// The following #define must be :&lt;br&gt;// Set to false if USS_VFR_LARGE_PIPE_ADDL_SF == 1.0f&lt;br&gt;// Set to true if USS_VFR_LARGE_PIPE_ADDL_SF &amp;gt; 1.0f)&lt;br&gt;#define USS_VFR_LARGE_PIPE_ADDL_SF_ENABLE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; false&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY BASIC ULTRASONIC FIRING/CAPTURE CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* The library basic configuration section has been split in the following&lt;br&gt;&amp;nbsp;* sections:&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* -USS FREQUENCY CONFIGURATION PARAMETERS&lt;br&gt;&amp;nbsp;* -USS CAPTURE SEQUENCE CONFIGURATION&lt;br&gt;&amp;nbsp;* -USS PULSE GENERATION CONFIGURATION&lt;br&gt;&amp;nbsp;* -USS CALIBRATION CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* USS FREQUENCY CONFIGURATION PARAMETERS&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_HSPLL_FREQ_IN_MHZ valid parameters:&lt;br&gt;&amp;nbsp;* - 80 (default), 79, 78, 77, 76, 75, 74, 73, 72, 71, 70, 69, 68&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_HSPLL_INPUT_CLK_TYPE valid parameters:&lt;br&gt;&amp;nbsp;* - USS_HSPLL_input_clock_type_ceramic_resonator (default)&lt;br&gt;&amp;nbsp;* - USS_HSPLL_input_clock_type_crystal&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_OVER_SAMPLE_RATE valid parameters:&lt;br&gt;&amp;nbsp;* -10&lt;br&gt;&amp;nbsp;* -20 (default)&lt;br&gt;&amp;nbsp;* -40&lt;br&gt;&amp;nbsp;* -80&lt;br&gt;&amp;nbsp;* -160&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_PLL_XTAL_IN_MHZ valid parameters:&lt;br&gt;&amp;nbsp;* -USS_HSPLL_input_clock_freq_8_MHz&lt;br&gt;&amp;nbsp;* -USS_HSPLL_input_clock_freq_4_MHz&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_OUTPUT_PLL_XTAL valid parameters:&lt;br&gt;&amp;nbsp;* -false (default)&lt;br&gt;&amp;nbsp;* -true&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_HSPLL_FREQ_IN_MHZ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;80&lt;br&gt;#define USS_HSPLL_INPUT_CLK_TYPE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_HSPLL_input_clock_type_ceramic_resonator&lt;br&gt;#define USS_SDHS_OVER_SAMPLE_RATE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;br&gt;#define USS_PLL_XTAL_IN_MHZ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_HSPLL_input_clock_freq_8_MHz&lt;br&gt;#define USS_OUTPUT_PLL_XTAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;false&lt;br&gt;#define USS_HSPLL_TOLERANCE_PERCENT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.5&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* USS CAPTURE SEQUENCE CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_SEQUENCE_SELECTION valid parameters:&lt;br&gt;&amp;nbsp;* - USS_CAPTURE_SEQUENCE_SELECTION_CH0&lt;br&gt;&amp;nbsp;* - USS_CAPTURE_SEQUENCE_SELECTION_CH1&lt;br&gt;&amp;nbsp;* - USS_CAPTURE_SEQUENCE_SELECTION_CH0_CH0&lt;br&gt;&amp;nbsp;* - USS_CAPTURE_SEQUENCE_SELECTION_CH0_CH1 (default)&lt;br&gt;&amp;nbsp;* - USS_CAPTURE_SEQUENCE_SELECTION_CH1_CH0&lt;br&gt;&amp;nbsp;* - USS_CAPTURE_SEQUENCE_SELECTION_CH1_CH1&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* USS_CAPTURE_DURATION_USEC vaild range:&lt;br&gt;&amp;nbsp;* -min: 1 usec&lt;br&gt;&amp;nbsp;* -max: Varies depending on USS_SW_LIB_APP_MAX_CAPTURE_SIZE,&lt;br&gt;&amp;nbsp;* &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_SDHS_OVER_SAMPLE_RATE and USS_HSPLL_FREQ_IN_MHZ&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* For further details regarding min and max values for the following parameter&lt;br&gt;&amp;nbsp;* please refer the USS Library API Guide.&lt;br&gt;&amp;nbsp;* USS_GAIN_RANGE&lt;br&gt;&amp;nbsp;* USS_START_CAPTURE_SEC&lt;br&gt;&amp;nbsp;* USS_ADC_SAMP_COUNT_SEC&lt;br&gt;&amp;nbsp;* USS_RESTART_CAP_COUNT_SEC&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_SEQUENCE_SELECTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_CAPTURE_SEQUENCE_SELECTION_CH0_CH1&lt;br&gt;#define USS_CAPTURE_DURATION_USEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40&lt;br&gt;#define USS_GAIN_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_Capture_Gain_Range_1_0&lt;br&gt;#define USS_START_CAPTURE_SEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.5E-5&lt;br&gt;#define USS_ADC_SAMP_COUNT_SEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 5.2999996E-5&lt;br&gt;#define USS_RESTART_CAP_COUNT_SEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3.000E-3&lt;/p&gt;
&lt;p&gt;#if(USSSWLIB_ENABLE_EXTERNAL_CIRCUITRY_CONTROL == true)&lt;br&gt;#define USS_MEASUREMENT_TURN_ON_EXTERNAL_AMP_SEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0&lt;br&gt;#define USS_MEASUREMENT_ASQTRIGGER_DELAY_SEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100e-6f&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* USS CALIBRATION CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* The following parameters configures the ultrasonic:&lt;br&gt;&amp;nbsp;* -Automatic Gain Calibration Constant&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* For further details regarding the following parameter please refer the USS&lt;br&gt;&amp;nbsp;* Library API Guide.&lt;br&gt;&amp;nbsp;* USS_AGC_CONSTANT&lt;br&gt;&amp;nbsp;* USS_ALG_CALIBRATED_UPS_DC_OFFSET&lt;br&gt;&amp;nbsp;* USS_ALG_CALIBRATED_DNS_DC_OFFSET&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_AGC_CONSTANT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;60&lt;br&gt;#define USS_ALG_CALIBRATED_UPS_DC_OFFSET &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br&gt;#define USS_ALG_CALIBRATED_DNS_DC_OFFSET &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;/p&gt;
&lt;p&gt;&lt;br&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY BASIC ALGORITHM CONFIGURATION&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;/p&gt;
&lt;p&gt;#define USS_ALG_ABS_TOF_COMPUTATION_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_ABS_TOF_COMPUTATION_MODE_LOBE&lt;br&gt;#define USS_ALG_DTOF_COMPUTATION_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE&lt;br&gt;#define USS_ALG_VOLUME_RATE_COMPUTATION_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_VOLUME_RATE_COMPUTATION_OPTION_WATER&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#define USS_ALG_ABS_TOF_INTERVAL &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br&gt;#if (USS_ALG_DTOF_COMPUTATION_MODE == USS_ALG_DTOF_COMPUTATION_OPTION_WATER)&lt;br&gt;#define USS_ALG_DTOF_WINDOWING_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_DTOF_WATER_WINDOW_OPTION_ENABLED&lt;br&gt;#elif (USS_ALG_DTOF_COMPUTATION_MODE == USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE)&lt;br&gt;#define USS_ALG_DTOF_WINDOWING_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_DTOF_EST_WINDOW_OPTION_ESTIMATE&lt;br&gt;#endif&lt;br&gt;#define USS_ALG_FILT_IS_FILTER_ENABLED &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;false&lt;br&gt;#define USS_ENABLE_ABSTOF_LOBE_OFFSET_CORRECTION &amp;nbsp; &amp;nbsp; &amp;nbsp;true&lt;br&gt;#define USS_ALG_VFR_CALIB_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_VFR_CALIB_OPTION_DISABLED&lt;br&gt;#define USS_ALG_ENABLE_ESTIMATE_TEMPERATURE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; false&lt;br&gt;#define USS_ALG_ADC_ADDITIONAL_CAP_DLY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0&lt;br&gt;#define USS_ALG_DCOFFSET &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_ALG_CLOCK_RELATIVERROR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;_IQ27(0.0)&lt;br&gt;#define USS_ALG_ABS_TOF_HILB_USE_CUSTOM_COEFF &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; false&lt;/p&gt;
&lt;p&gt;#if(USS_ALG_DTOF_WINDOWING_MODE != USS_ALG_DTOF_EST_WINDOW_OPTION_DISABLED)&lt;br&gt;#define USS_ALG_WIN_START_INDEX_BACK_OFF_NUM_CYCLES &amp;nbsp; 2&lt;br&gt;#define USS_ALG_WIN_TRAP_RAMP_NUM_CYCLES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4&lt;br&gt;#define USS_ALG_WIN_NUM_CYCLES_DELTA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br&gt;#define USS_ALG_WIN_PEAK_INDEX_2_EDGES_NUM_CYLES &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_ALG_WIN_NUM_CYCLES &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(USS_NUM_OF_EXCITATION_PULSES + \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_WIN_NUM_CYCLES_DELTA)&lt;br&gt;#endif&lt;br&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY ADVANCED ALGORITHM CONFIGURATION&lt;br&gt;&amp;nbsp;* For more information regarding the following parameter please refer to the&lt;br&gt;&amp;nbsp;* USS API Library Guide&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#if (USS_ALG_ABS_TOF_COMPUTATION_MODE == USS_ALG_ABS_TOF_COMPUTATION_MODE_LOBE)&lt;/p&gt;
&lt;p&gt;#define USS_ALG_RATIO_OF_TRACK_LOBE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.11&lt;br&gt;#define USS_ALG_NUM_PULS_BEFORE_THRSH &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;br&gt;#define USS_ALG_SEARCH_LOBE_SAMP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br&gt;#define USS_ALG_MAX_RATIO_PEAK_2_PEAK_VAR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.2&lt;br&gt;#define USS_ALG_CORR_VAL_THRSH_CHK_FACT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.05&lt;br&gt;#define USS_ALG_SIGN_VAL_THRSH_CHK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;br&gt;#elif (USS_ALG_ABS_TOF_COMPUTATION_MODE == USS_ALG_ABS_TOF_COMPUTATION_MODE_HILBERT)&lt;br&gt;#define USS_ALG_ABS_TOF_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br&gt;#define USS_ALG_ABS_TOF_POS_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_ABS_TOF_SEARCH_RANGE&lt;br&gt;#define USS_ALG_ABS_TOF_NEG_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-(USS_NUM_OF_EXCITATION_PULSES + USS_ALG_ABS_TOF_SEARCH_RANGE)&lt;br&gt;#define USS_ALG_ABS_TOF_HILB_CROSS_THRESHOLD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11.0&lt;br&gt;#define USS_ALG_CORR_VAL_THRSH_CHK_FACT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.05&lt;br&gt;#define USS_ALG_SIGN_VAL_THRSH_CHK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;br&gt;#elif (USS_ALG_ABS_TOF_COMPUTATION_MODE == USS_ALG_ABS_TOF_COMPUTATION_MODE_LOBE_WIDE)&lt;br&gt;#define USS_ALG_ABS_TOF_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br&gt;#define USS_ALG_ABS_TOF_POS_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_ABS_TOF_SEARCH_RANGE&lt;br&gt;#define USS_ALG_ABS_TOF_NEG_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-(USS_NUM_OF_EXCITATION_PULSES + USS_ALG_ABS_TOF_SEARCH_RANGE)&lt;br&gt;#define USS_ALG_RATIO_OF_TRACK_LOBE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.11&lt;br&gt;#elif (USS_ALG_ABS_TOF_COMPUTATION_MODE == USS_ALG_ABS_TOF_COMPUTATION_MODE_HILBERT_WIDE)&lt;br&gt;#define USS_ALG_ABS_TOF_HILB_CROSS_THRESHOLD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;11.0&lt;br&gt;#define USS_ALG_ABS_TOF_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3&lt;br&gt;#define USS_ALG_ABS_TOF_POS_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_ALG_ABS_TOF_SEARCH_RANGE&lt;br&gt;#define USS_ALG_ABS_TOF_NEG_SEARCH_RANGE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-(USS_NUM_OF_EXCITATION_PULSES + USS_ALG_ABS_TOF_SEARCH_RANGE)&lt;br&gt;#else&lt;br&gt;#error &amp;quot;Invalid Absolute ToF Algorithm Option&amp;quot;&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#if (USS_ALG_DTOF_COMPUTATION_MODE == USS_ALG_DTOF_COMPUTATION_OPTION_WATER)&lt;br&gt;#define USS_ALG_NUM_CYCLES_SEARCH_CORR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;br&gt;#define USS_ALG_HIGH_FLOW_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;(USS_highFlow_option_disabled)&lt;br&gt;#define USS_ALG_CYCLESLIPTHRESHOLD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1.1&lt;br&gt;#define USS_ALG_THRESHOLDX1X3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2000000&lt;br&gt;#elif (USS_ALG_DTOF_COMPUTATION_MODE == USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE)&lt;br&gt;#define USS_ALG_MAX_SAMPLE_SHIFT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20&lt;br&gt;#define USS_ALG_THRESHOLDX1X3 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2000000&lt;br&gt;#else&lt;br&gt;#error &amp;quot;Invalid Delta ToF Algorithm Option&amp;quot;&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;br&gt;/*******************************************************************************&lt;br&gt;* LIBRARY ALGORITHM BAND-PASS AND HILBERT COEFFICIENT&lt;br&gt;******************************************************************************/&lt;/p&gt;
&lt;p&gt;#define USS_SW_LIB_APP_FILTER_COEFFICIENTS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;USS_filterCoeffs_3400000Hz &amp;nbsp; */ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp; &amp;nbsp;0xFEEA, 0xFFDA, 0xF4E6, 0xFBA5, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xFFBB, 0x03BC, 0x155D, 0xDE0E, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xF5A0, 0x2E9C, 0xF5A0, 0xDE0E, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x155D, 0x03BC, 0xFFBB, 0xFBA5, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xF4E6, 0xFFDA, 0xFEEA, 0x0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;USS_filterCoeffs_3600000Hz &amp;nbsp; */ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp; &amp;nbsp;0x002B, 0xFF01, 0xF563, 0x050D, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xFE4C, 0x0F1B, 0x0FDC, 0xE05C, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xFAC9, 0x302A, 0xFAC9, 0xE05C, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0FDC, 0x0F1B, 0xFE4C, 0x050D, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xF563, 0xFF01, 0x002B, 0x0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;USS_filterCoeffs_3800000Hz &amp;nbsp; */ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp; &amp;nbsp;0x0120, 0xFAD8, 0xFA10, 0x06E7, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xFE1E, 0x14A0, 0x0848, 0xE00B, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xFE43, 0x2DAF, 0xFE43, 0xE00B, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0848, 0x14A0, 0xFE1E, 0x06E7, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xFA10, 0xFAD8, 0x0120, 0x0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;USS_filterCoeffs_4000000Hz &amp;nbsp; */ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp; &amp;nbsp;0x0000, 0xF68E, 0x0000, 0x037C, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0000, 0x1714, 0x0000, 0xE229, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0000, 0x2D64, 0x0000, 0xE229, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0000, 0x1714, 0x0000, 0x037C, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0000, 0xF68E, 0x0000, 0x0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;USS_filterCoeffs_Custom &amp;nbsp; */ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {0}, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; };&lt;/p&gt;
&lt;p&gt;#define USS_SW_LIB_APP_HILB_FILTER_COEFFICIENTS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; { &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;Predefined Hilbert transform coefficients &amp;nbsp; */ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; { &amp;nbsp;0xFD84, 0x0000, 0xF11F, 0x0000, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0xB38F, 0x0000, 0x4C71, 0x0000, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0EE1, 0x0000, 0x027C, 0x0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; /* &amp;nbsp;USS Hilbert Coeffs Custom &amp;nbsp; */ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {0}, &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; };&lt;/p&gt;
&lt;p&gt;/*******************************************************************************&lt;br&gt;&amp;nbsp;* LIBRARY ADVANCED ULTRASONIC FIRING/CAPTURE CONFIGURATION&lt;br&gt;&amp;nbsp;*&lt;br&gt;&amp;nbsp;* For more information regarding the following parameter please refer to the&lt;br&gt;&amp;nbsp;* USS API Library Guide&lt;br&gt;&amp;nbsp;******************************************************************************/&lt;br&gt;#define USS_EOF_SEQUENCE_SELECTION USS_measurement_end_of_sequence_state_power_off&lt;br&gt;#define USS_CH0_DRIVE_STRENGHT &amp;nbsp; &amp;nbsp; USS_measurement_drive_strength_pre_trimmed_drive&lt;br&gt;#define USS_CH1_DRIVE_STRENGHT &amp;nbsp; &amp;nbsp; USS_measurement_drive_strength_pre_trimmed_drive&lt;br&gt;#define USS_PAUSE_STATE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_measurement_pause_state_low&lt;br&gt;#define USS_PULSE_POLARITY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_measurement_pulse_polarity_excitation_starts_on_high_pulse&lt;br&gt;#define USS_PGA_IN_BIAS_COUNT_SEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.0&lt;br&gt;#define USS_TURN_ON_ADC_COUNT_SEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5.0E-6&lt;br&gt;#define USS_TIME_OUT_COUNT_SEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3000e-6&lt;br&gt;#define USS_HSPLL_USSXTAL_SETTLING_USEC &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5000&lt;br&gt;#define USS_ENABLE_UUPSPREQIGINTERRUPT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; false&lt;br&gt;#define USS_ENABLE_SAPH_PING_TRANSMIT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;false&lt;br&gt;#define USS_ENABLE_WINDOW_HI_COMP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;false&lt;br&gt;#define USS_ENABLE_WINDOW_LO_COMP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;false&lt;br&gt;#define USS_WINDOW_HIGH_THRESHOLD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (1040)&lt;br&gt;#define USS_WINDOW_LOW_THRESHOLD &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (-1040)&lt;br&gt;#define USS_TRIGGER_CONFIG &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_Triger_Configuration_Software_Trigger&lt;br&gt;#define USS_ULP_BIAS_DELAY &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_measurement_ULP_bias_delay_300_usec&lt;br&gt;#define USS_BIAS_IMPEDANCE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_measurement_bias_impedance_2800_Ohms&lt;br&gt;#define USS_MUX_CHARGE_PUMP_MODE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_measurement_mux_charge_pump_always_off&lt;/p&gt;
&lt;p&gt;/******************************************************************************&lt;br&gt;* LIBRARY DERIVED PARAMETER SECTION&lt;br&gt;*&lt;br&gt;* The following section performs additional library configuration based on the&lt;br&gt;* parameter selection above.&lt;br&gt;*&lt;br&gt;* It is highly recommended to not modify the following sections&lt;br&gt;*&lt;br&gt;******************************************************************************/&lt;br&gt;#if (USS_PULSE_MODE == USS_PULSE_MODE_SINGLE_TONE)&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_NUM_OF_EXCITATION_PULSES_F1&lt;br&gt;#elif defined(__MSP430_HAS_SAPH_A__)&lt;br&gt;#if (USS_PULSE_MODE == USS_PULSE_MODE_DUAL_TONE)&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; (USS_NUM_OF_EXCITATION_PULSES_F1 + USS_NUM_OF_EXCITATION_PULSES_F2)&lt;br&gt;#elif (USS_PULSE_MODE == USS_PULSE_MODE_MULTI_TONE)&lt;br&gt;#define USS_NUM_OF_EXCITATION_PULSES &amp;nbsp; &amp;nbsp; &amp;nbsp; ((2*(USS_NUM_OF_TRILL_PULSES + USS_NUM_OF_ADDTL_TRILL_PULSES)))&lt;br&gt;#endif&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#if (USS_ALG_ABS_TOF_COMPUTATION_MODE == USS_ALG_ABS_TOF_COMPUTATION_MODE_LOBE)&lt;br&gt;#define USS_ALG_ABS_TOF_COMPUTATION (USS_Alg_AbsToF_Calculation_Option_lobe)&lt;br&gt;#elif (USS_ALG_ABS_TOF_COMPUTATION_MODE == USS_ALG_ABS_TOF_COMPUTATION_MODE_HILBERT)&lt;br&gt;#define USS_ALG_ABS_TOF_COMPUTATION (USS_Alg_AbsToF_Calculation_Option_hilbert)&lt;br&gt;#elif (USS_ALG_ABS_TOF_COMPUTATION_MODE == USS_ALG_ABS_TOF_COMPUTATION_MODE_LOBE_WIDE)&lt;br&gt;#define USS_ALG_ABS_TOF_COMPUTATION (USS_Alg_AbsToF_Calculation_Option_lobeWide)&lt;br&gt;#elif (USS_ALG_ABS_TOF_COMPUTATION_MODE == USS_ALG_ABS_TOF_COMPUTATION_MODE_HILBERT_WIDE)&lt;br&gt;#define USS_ALG_ABS_TOF_COMPUTATION ( \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; USS_Alg_AbsToF_Calculation_Option_hilbertWide)&lt;br&gt;#else&lt;br&gt;#error &amp;quot;Invalid Abs ToF computation option&amp;quot;&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#if (USS_ALG_DTOF_COMPUTATION_MODE == USS_ALG_DTOF_COMPUTATION_OPTION_WATER)&lt;br&gt;#define USS_ALG_DELTA_TOF_COMPUTATION_OPTION &amp;nbsp;(USS_Alg_dToF_Calculation_Option_water)&lt;br&gt;#elif (USS_ALG_DTOF_COMPUTATION_MODE == USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE)&lt;br&gt;#define USS_ALG_DELTA_TOF_COMPUTATION_OPTION &amp;nbsp;(USS_Alg_dToF_Calculation_Option_estimate)&lt;br&gt;#else&lt;br&gt;#error &amp;quot;Invalid Delta ToF computation option&amp;quot;&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#if (USS_ALG_VOLUME_RATE_COMPUTATION_MODE == USS_ALG_VOLUME_RATE_COMPUTATION_OPTION_WATER)&lt;br&gt;#define USS_ALG_VOLUME_RATE_COMPUTATION_OPTION (USS_Alg_volume_flow_Calculation_Option_water)&lt;br&gt;#elif (USS_ALG_VOLUME_RATE_COMPUTATION_MODE == USS_ALG_VOLUME_RATE_COMPUTATION_OPTION_GENERIC)&lt;br&gt;#define USS_ALG_VOLUME_RATE_COMPUTATION_OPTION (USS_Alg_volume_flow_Calculation_Option_generic)&lt;br&gt;#else&lt;br&gt;#error &amp;quot;Invalid volume flow rate computation option&amp;quot;&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#define USS_ALG_IS_INIT_ALGORITHMS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;false&lt;/p&gt;
&lt;p&gt;#if (USS_PULSE_MODE &amp;gt; 2)&lt;br&gt;#error \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;Pulse mode not supported. Please modify USS_PULSE_MODE to a valid configuration.&amp;quot;&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#if defined(__MSP430_HAS_SAPH_A__)&lt;br&gt;#if (USS_NUM_OF_ADDTL_TRILL_PULSES &amp;gt; 0)&lt;br&gt;#warning \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;User must provide additional pulse configuration by defining xtraepulse, xtraxpulse, xtraxhper, xtraxlper, xtrahper, xtralper in variables in USS_userConfig.c&amp;quot;&lt;br&gt;#if (USS_ADDTL_BIN_PATTERN_SIZE == 0)&lt;br&gt;#error &amp;quot;USS_ADDTL_BIN_PATTERN_SIZE cannot be set to 0 when USS_NUM_OF_ADDTL_TRILL_PULSES &amp;gt; 0&amp;quot;&lt;br&gt;#endif&lt;br&gt;#elif (USS_NUM_OF_ADDTL_TRILL_PULSES &amp;lt; 0)&lt;br&gt;#error &amp;quot;Invalid number of USS_NUM_OF_ADDTL_TRILL_PULSES&amp;quot;&lt;br&gt;#endif&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#if (USS_HSPLL_FREQ_IN_MHZ == 80)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_80_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;80e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 79)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_79_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;79e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 78)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_78_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;78e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 77)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_77_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;77e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 76)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_76_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;76e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 75)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_75_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;75e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 74)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_74_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;74e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 73)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_73_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;73e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 72)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_72_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;72e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 71)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_71_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;71e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 70)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_70_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;70e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 69)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_69_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;69e6&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 68)&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_68_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;68e6&lt;br&gt;#else&lt;br&gt;#define &amp;nbsp; &amp;nbsp;USS_HSPLL_FREQ &amp;nbsp; &amp;nbsp;USS_HSPLL_output_clk_freq_80_MHz&lt;br&gt;#define USS_PLL_FREQ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;80e6&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#define USS_START_PPG_COUNT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;((USS_PLL_FREQ*USS_START_CAPTURE_SEC)/16)&lt;br&gt;#define USS_TURN_ON_ADC_COUNT &amp;nbsp; &amp;nbsp; &amp;nbsp;((USS_PLL_FREQ*USS_TURN_ON_ADC_COUNT_SEC)/16)&lt;br&gt;#define USS_PGA_IN_BIAS_COUNT &amp;nbsp; &amp;nbsp; &amp;nbsp;((USS_PLL_FREQ*USS_PGA_IN_BIAS_COUNT_SEC)/16)&lt;br&gt;#define USS_ADC_SAMP_COUNT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ((USS_PLL_FREQ*USS_ADC_SAMP_COUNT_SEC)/16)&lt;br&gt;#define USS_RESTART_CAP_COUNT &amp;nbsp; &amp;nbsp; &amp;nbsp;((USS_PLL_FREQ * USS_RESTART_CAP_COUNT_SEC / \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;16) / 16)&lt;br&gt;#define USS_TIME_OUT_COUNT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ((USS_PLL_FREQ * USS_TIME_OUT_COUNT_SEC / \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4) / 16)&lt;br&gt;#define USS_LOW_POWER_RESTART_CAP_COUNT (USS_LFXT_FREQ_IN_HZ * \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_RESTART_CAP_COUNT_SEC)&lt;/p&gt;
&lt;p&gt;#define USS_HSPLL_TEMP &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ((USS_PLL_FREQ) / 1600)&lt;br&gt;#define USS_HSPLL_TEMP2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;((USS_HSPLL_TEMP) * (USS_HSPLL_TOLERANCE_PERCENT))&lt;br&gt;#define USS_HSPLL_TOLERANCE &amp;nbsp; &amp;nbsp;(USS_HSPLL_TEMP2*RESONATOR_CALIB_MONITORING_ACLK/(USS_LFXT_FREQ_IN_HZ))&lt;/p&gt;
&lt;p&gt;// Macros used to place variables in LEA RAM memory section&lt;br&gt;#if defined(__TI_COMPILER_VERSION__)&lt;br&gt;#define _PRAGMA(x) _Pragma (#x)&lt;br&gt;#define USS_LEA_DATA(var,align) _PRAGMA(DATA_SECTION(var,&amp;quot;.leaRAM&amp;quot;))\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _PRAGMA(DATA_ALIGN(var,(align)))&lt;br&gt;#elif defined(__IAR_SYSTEMS_ICC__)&lt;br&gt;#define _PRAGMA(x) _Pragma (#x)&lt;br&gt;#define USS_LEA_DATA(var,align) _PRAGMA(location=&amp;quot;LEARAM&amp;quot;)\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; _PRAGMA(data_alignment=align)&lt;br&gt;#elif defined(__GNUC__)&lt;br&gt;#define USS_LEA_DATA(var,align) __attribute__((section(&amp;quot;.leaRAM&amp;quot;)))\&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; __attribute__((aligned(align)))&lt;br&gt;#else&lt;br&gt;#define USS_LEA_DATA(var,align)&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;// This section of the header checks if the application maximum capture size&lt;br&gt;// is below the supported USS SW library capture size&lt;/p&gt;
&lt;p&gt;#if(USS_SW_LIB_ENABLE_ACCUMULATION == true)&lt;br&gt;#if (USS_SW_LIB_APP_MAX_CAPTURE_SIZE &amp;gt; 372)&lt;br&gt;#error \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;USS_SW_LIB_APP_MAX_CAPTURE_SIZE in USS_userConfig.h file must be less than 372&amp;quot;&lt;br&gt;#else&lt;br&gt;#define USS_SW_LIB_APP_MAX_ACC_BLOCK &amp;nbsp;(2 * USS_SW_LIB_APP_MAX_CAPTURE_SIZE)&lt;br&gt;#endif&lt;br&gt;#else&lt;br&gt;#if (USS_SW_LIB_APP_MAX_CAPTURE_SIZE &amp;gt; 620)&lt;br&gt;#error \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;USS_SW_LIB_APP_MAX_CAPTURE_SIZE in USS_userConfig.h file must be less than 620&amp;quot;&lt;br&gt;#else&lt;br&gt;#define USS_SW_LIB_APP_MAX_ACC_BLOCK &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#endif&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#define ROUND_UP(N, S) ((((N) + (S) - 1) / (S)) * (S))&lt;br&gt;#define TEMP_SETL &amp;nbsp; &amp;nbsp; (USS_HSPLL_USSXTAL_SETTLING_USEC * USS_LFXT_FREQ_IN_HZ)&lt;br&gt;#define USS_HSPLL_USSXTAL_SETTLING_COUNT_TEMP ROUND_UP((TEMP_SETL/100000),10)&lt;br&gt;#define USS_HSPLL_USSXTAL_SETTLING_COUNT (USS_HSPLL_USSXTAL_SETTLING_COUNT_TEMP \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; / 10)&lt;/p&gt;
&lt;p&gt;#define DIV_ROUND(N, D) (((N) + ((D)/2)) / (D))&lt;/p&gt;
&lt;p&gt;#if(USS_ALG_DTOF_WINDOWING_MODE != USS_ALG_DTOF_EST_WINDOW_OPTION_DISABLED)&lt;/p&gt;
&lt;p&gt;#if (USS_ALG_DTOF_COMPUTATION_MODE == USS_ALG_DTOF_COMPUTATION_OPTION_WATER)&lt;br&gt;#define USS_SW_LIB_APP_MAX_WINDOW_RAMP_SIZE (USS_SW_LIB_APP_MAX_CAPTURE_SIZE + USS_SW_LIB_APP_MAX_FILTER_LENGTH)&lt;br&gt;#elif (USS_ALG_DTOF_COMPUTATION_MODE == USS_ALG_DTOF_COMPUTATION_OPTION_ESTIMATE)&lt;br&gt;#define WINDOW_RAMP_TEMP_NUMERATOR (USS_ALG_WIN_TRAP_RAMP_NUM_CYCLES * USS_PLL_FREQ)&lt;br&gt;#define WINDOW_RAMP_TEMP_DENOMINATOR (USS_F1_FREQ &amp;nbsp;* USS_SDHS_OVER_SAMPLE_RATE)&lt;br&gt;#define USS_SW_LIB_APP_MAX_WINDOW_RAMP_TMP DIV_ROUND(WINDOW_RAMP_TEMP_NUMERATOR,WINDOW_RAMP_TEMP_DENOMINATOR)&lt;br&gt;#define USS_SW_LIB_APP_MAX_WINDOW_RAMP_SIZE ((int)USS_SW_LIB_APP_MAX_WINDOW_RAMP_TMP + 2)&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#endif&lt;/p&gt;
&lt;p&gt;#if (USS_ALG_FILT_IS_FILTER_ENABLED == true)&lt;br&gt;#if (USS_SDHS_OVER_SAMPLE_RATE == 20)&lt;br&gt;#if (USS_HSPLL_FREQ_IN_MHZ == 80)&lt;br&gt;#define USS_ALG_FILT_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 3&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 76)&lt;br&gt;#define USS_ALG_FILT_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 72)&lt;br&gt;#define USS_ALG_FILT_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;br&gt;#elif (USS_HSPLL_FREQ_IN_MHZ == 68)&lt;br&gt;#define USS_ALG_FILT_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0&lt;br&gt;#else&lt;br&gt;#warning &amp;quot;No predefined band-pass filter is available for the selected USS_OVER_SAMPLE_RATE and USS_HSPLL_FREQ frequency. User is responsible of defining USS_filterCoeffs_Custom entry below&amp;quot;&lt;br&gt;#define USS_ALG_FILT_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;br&gt;#endif&lt;br&gt;#else&lt;br&gt;#warning &amp;quot;No predefined band-pass filter is available for the selected USS_OVER_SAMPLE_RATE and USS_HSPLL_FREQ frequency. User is responsible of defining USS_filterCoeffs_Custom entry below&amp;quot;&lt;br&gt;#define USS_ALG_FILT_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4&lt;br&gt;#endif&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#if (USS_ALG_ABS_TOF_HILB_USE_CUSTOM_COEFF == false)&lt;br&gt;#define USS_HILB_ALG_FILT_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#else&lt;br&gt;#warning \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;Detected custom hilbert coefficient configuration. Please confirm USS_filterCoeffs_Custom has a valid coefficient configuration&amp;quot;&lt;br&gt;#define USS_HILB_ALG_FILT_OPTION &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#if (USS_SDHS_OVER_SAMPLE_RATE == 10)&lt;br&gt;#define USS_OVER_SAMPLE_RATE \&lt;br&gt;&amp;nbsp; &amp;nbsp; USS_Capture_Over_Sample_Rate_10&lt;br&gt;#elif (USS_SDHS_OVER_SAMPLE_RATE == 20)&lt;br&gt;#define USS_OVER_SAMPLE_RATE \&lt;br&gt;&amp;nbsp; &amp;nbsp; USS_Capture_Over_Sample_Rate_20&lt;br&gt;#elif (USS_SDHS_OVER_SAMPLE_RATE == 40)&lt;br&gt;#define USS_OVER_SAMPLE_RATE \&lt;br&gt;&amp;nbsp; &amp;nbsp; USS_Capture_Over_Sample_Rate_40&lt;br&gt;#elif (USS_SDHS_OVER_SAMPLE_RATE == 80)&lt;br&gt;#define USS_OVER_SAMPLE_RATE \&lt;br&gt;&amp;nbsp; &amp;nbsp; USS_Capture_Over_Sample_Rate_80&lt;br&gt;#elif (USS_SDHS_OVER_SAMPLE_RATE == 160)&lt;br&gt;#define USS_OVER_SAMPLE_RATE \&lt;br&gt;&amp;nbsp; &amp;nbsp; USS_Capture_Over_Sample_Rate_160&lt;br&gt;#else&lt;br&gt;#error &amp;quot;Invalid USS_SDHS_OVER_SAMPLE_RATE configuration&amp;quot;&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#define USS_USER_CONFIG_NUMBER_OF_SAMPLES_PER_CAPTURE &amp;nbsp; &amp;nbsp;\&lt;br&gt;&amp;nbsp; ((USS_CAPTURE_DURATION_USEC*USS_HSPLL_FREQ_IN_MHZ)/USS_SDHS_OVER_SAMPLE_RATE)&lt;/p&gt;
&lt;p&gt;#if (USS_USER_CONFIG_NUMBER_OF_SAMPLES_PER_CAPTURE &amp;gt; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;USS_SW_LIB_APP_MAX_CAPTURE_SIZE)&lt;br&gt;#error \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;USS_USER_CONFIG_NUMBER_OF_SAMPLES_PER_CAPTURE exceeds USS_SW_LIB_APP_MAX_CAPTURE_SIZE&amp;quot;&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#if (USS_PULSE_MODE != USS_PULSE_MODE_SINGLE_TONE)&lt;br&gt;#ifdef __MSP430_HAS_SAPH__&lt;br&gt;#error \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;quot;Dual or Multi-Tone configuration is not supported on MSP430 devices without SAPH_A module&amp;quot;&lt;br&gt;#endif&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;#if (USSSWLIB_ENABLE_EXTERNAL_CIRCUITRY_CONTROL == true)&lt;br&gt;#define USS_MEASUREMENT_TURN_ON_EXTERNAL_AMP_COUNT &amp;nbsp;(USS_SMCLK_FREQ_IN_HZ * \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;USS_MEASUREMENT_TURN_ON_EXTERNAL_AMP_SEC)&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#define USS_MEASUREMENT_ASQTRIGGER_DELAY_CYCLES &amp;nbsp; &amp;nbsp; &amp;nbsp; \&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (USS_MEASUREMENT_ASQTRIGGER_DELAY_SEC*USS_SMCLK_FREQ_IN_HZ)&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#define USS_Alg_dToF_Calculation_Option_water &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1&lt;br&gt;#define USS_Alg_dToF_Calculation_Option_estimate &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_highFlow_option_disabled &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;br&gt;#define USS_highFlow_option_version1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1&lt;br&gt;#define USS_highFlow_option_version2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2&lt;/p&gt;
&lt;p&gt;&lt;br&gt;#if (USS_ALG_DELTA_TOF_COMPUTATION_OPTION == USS_Alg_dToF_Calculation_Option_water)&lt;br&gt;#if (USS_ALG_HIGH_FLOW_OPTION != USS_highFlow_option_disabled)&lt;br&gt;#warning &amp;quot;USS_highFlow_option_version1 and USS_highFlow_option_version2 are \&lt;br&gt;discourage for new development. It is highly recommended to switch to \&lt;br&gt;USS_ALG_DELTA_TOF_COMPUTATION_OPTION = USS_Alg_dToF_Calculation_Option_estimate.\&lt;br&gt;When using USS_Alg_dToF_Calculation_Option_estimate, USS_ALG_HIGH_FLOW_OPTION \&lt;br&gt;is a don&amp;#39;t care.&amp;quot;&lt;br&gt;#endif&lt;br&gt;#endif&lt;/p&gt;
&lt;p&gt;&lt;br&gt;//******************************************************************************&lt;/p&gt;
&lt;p&gt;//*****************************************************************************&lt;br&gt;// typedefs&lt;br&gt;//*****************************************************************************&lt;/p&gt;
&lt;p&gt;//*****************************************************************************&lt;br&gt;// globals&lt;br&gt;//*****************************************************************************&lt;br&gt;//! \brief global ultrasonic library configuration&lt;br&gt;//!&lt;/p&gt;
&lt;p&gt;extern USS_SW_Library_configuration gussConfig;&lt;br&gt;extern USS_Pulse_Single_Dual_Tone_Configuration singDualToneConfig;&lt;br&gt;extern USS_Pulse_Multitone_Configuration multiToneConfig;&lt;br&gt;extern USS_Pulse_Additional_End_of_Sequence_Configuration ussEndOfSeq;&lt;br&gt;//*****************************************************************************&lt;br&gt;// the function prototypes&lt;br&gt;//*****************************************************************************&lt;/p&gt;
&lt;p&gt;#ifdef __cplusplus&lt;br&gt;}&lt;br&gt;#endif // extern &amp;quot;C&amp;quot;&lt;br&gt;//@} &amp;nbsp;// ingroup&lt;/p&gt;
&lt;p&gt;#endif // end of &amp;nbsp;_USERCONFIG_H_ definition&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR6043: MSP430FR6043有锁频环吗？</title><link>https://e2echina.ti.com/thread/1067971?ContentTypeID=0</link><pubDate>Sun, 12 Apr 2026 04:47:29 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:444650a9-ea55-4812-94ae-4b889b498158</guid><dc:creator>weiliang qin</dc:creator><slash:comments>3</slash:comments><comments>https://e2echina.ti.com/thread/1067971?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1067971/msp430fr6043-msp430fr6043/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR6043" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR6043&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;如题，DCO时钟源是不是没有FLL？如果没有我如何更准确的控制它的频率呢？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR6047: 如何确定最优的脉冲个数与ratioOfTrackLobeToPeak。</title><link>https://e2echina.ti.com/thread/1066517?ContentTypeID=0</link><pubDate>Fri, 03 Apr 2026 07:56:22 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:a90fb9c2-af77-4475-be34-37e66ac6dab4</guid><dc:creator>LT1 Shen1</dc:creator><slash:comments>3</slash:comments><comments>https://e2echina.ti.com/thread/1066517?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1066517/msp430fr6047-ratiooftracklobetopeak/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR6047" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR6047&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="image.png" src="https://e2echina.ti.com/cfs-file/__key/communityserver-discussions-components-files/55/5076.image.png" data-temp-id="image.png-146449"&gt;这是我在同一个部件上，使用不同的激励脉冲个数采集到的AD波形，从这三个图来看，我认为最优的脉冲个数应该在12个或者13个，不知道我理解得对不对，我的判定方式是5个脉冲时后面跟着一个小整幅的尾巴，我最好的激励个数是在此尾巴前，我使用的晶片频率为2MHz。&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>EVM430-FR6043: 能否获得20m范围内物体的chirp超声回波原始数据？</title><link>https://e2echina.ti.com/thread/1065823?ContentTypeID=0</link><pubDate>Sat, 28 Mar 2026 13:03:50 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:6e08129f-9032-4c90-b2f4-5e9078dddf17</guid><dc:creator>qiao yan</dc:creator><slash:comments>1</slash:comments><comments>https://e2echina.ti.com/thread/1065823?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1065823/evm430-fr6043-20m-chirp/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/tool/cn/EVM430-FR6043" class="internal-link folder tool" title="Link to Tool Folder" target="_blank"&gt;EVM430-FR6043&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;我想获得20m范围内物体的chirp超声回波原始数据，EVM430_FR6043能实现发射chirp信号并保存接收到的ADC数据吗？130KHz的频率能满足探测20m的距离吗？&lt;/p&gt;
&lt;div id="WidgetFloaterPanels" class="LTRStyle" style="direction:ltr;display:none;text-align:left;"&gt;
&lt;div id="WidgetFloater" style="display:none;"&gt;
&lt;div id="WidgetLogoPanel"&gt;&lt;span id="WidgetTranslateWithSpan"&gt;&lt;span&gt;TRANSLATE with &lt;/span&gt;&lt;/span&gt; &lt;span id="WidgetCloseButton" title="Exit Translation"&gt;x&lt;/span&gt;&lt;/div&gt;
&lt;div id="LanguageMenuPanel"&gt;
&lt;div class="DDStyle_outer"&gt;&lt;span id="__LanguageMenu_header" class="DDStyle"&gt;English&lt;/span&gt;
&lt;div style="left:0;position:relative;text-align:left;"&gt;
&lt;div style="position:absolute;"&gt;
&lt;div id="__LanguageMenu_popup" class="DDStyle" style="display:none;"&gt;
&lt;table id="LanguageMenu" border="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#ar"&gt;Arabic&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#he"&gt;Hebrew&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#pl"&gt;Polish&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#bg"&gt;Bulgarian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#hi"&gt;Hindi&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#pt"&gt;Portuguese&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#ca"&gt;Catalan&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#mww"&gt;Hmong Daw&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#ro"&gt;Romanian&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#zh-CHS"&gt;Chinese Simplified&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#hu"&gt;Hungarian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#ru"&gt;Russian&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#zh-CHT"&gt;Chinese Traditional&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#id"&gt;Indonesian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#sk"&gt;Slovak&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#cs"&gt;Czech&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#it"&gt;Italian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#sl"&gt;Slovenian&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#da"&gt;Danish&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#ja"&gt;Japanese&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#es"&gt;Spanish&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#nl"&gt;Dutch&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#tlh"&gt;Klingon&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#sv"&gt;Swedish&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#en"&gt;English&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#ko"&gt;Korean&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#th"&gt;Thai&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#et"&gt;Estonian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#lv"&gt;Latvian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#tr"&gt;Turkish&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#fi"&gt;Finnish&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#lt"&gt;Lithuanian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#uk"&gt;Ukrainian&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#fr"&gt;French&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#ms"&gt;Malay&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#ur"&gt;Urdu&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#de"&gt;German&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#mt"&gt;Maltese&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#vi"&gt;Vietnamese&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#el"&gt;Greek&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#no"&gt;Norwegian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#cy"&gt;Welsh&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href="#ht"&gt;Haitian Creole&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;a href="#fa"&gt;Persian&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="CTFLinksPanel"&gt;&lt;span id="ExternalLinksPanel"&gt;&lt;a id="HelpLink" title="Help" href="https://go.microsoft.com/?linkid=9722454" rel="noopener noreferrer" target="_blank"&gt; &lt;/a&gt; &lt;a id="EmbedLink" title="Get this widget for your own site"&gt;&lt;/a&gt;  &lt;a id="ShareLink" title="Share translated page with friends"&gt;&lt;/a&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div id="FloaterProgressBar"&gt;&lt;span id="ProgressFill"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id="WidgetFloaterCollapsed" style="display:none;"&gt;&lt;span&gt;TRANSLATE with &lt;/span&gt;&lt;/div&gt;
&lt;div id="FloaterSharePanel" style="display:none;"&gt;
&lt;div id="ShareTextDiv"&gt;&lt;span id="ShareTextSpan"&gt; COPY THE URL BELOW &lt;/span&gt;&lt;/div&gt;
&lt;div id="ShareTextboxDiv"&gt;&lt;!--a id="TwitterLink" title="Share on Twitter"&gt; &lt;img id="TwitterImg" /&gt;&lt;/a&gt; &lt;a--&gt;  &lt;a id="EmailLink" title="Email this translation"&gt;&lt;/a&gt; &lt;/div&gt;
&lt;div id="ShareFooter"&gt;&lt;span id="ShareHelpSpan"&gt;&lt;a id="ShareHelpLink"&gt;&lt;/a&gt; &lt;/span&gt; &lt;span id="ShareBackSpan"&gt;&lt;a id="ShareBack" title="Back To Translation"&gt;&lt;/a&gt; Back&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id="FloaterEmbed" style="display:none;"&gt;
&lt;div id="EmbedTextDiv"&gt;&lt;span id="EmbedTextSpan"&gt;EMBED THE SNIPPET BELOW IN YOUR SITE&lt;/span&gt; &lt;a id="EmbedHelpLink" title="Copy this code and place it into your HTML."&gt;&lt;/a&gt; &lt;/div&gt;
&lt;div id="EmbedTextboxDiv"&gt;&lt;/div&gt;
&lt;div id="EmbedNoticeDiv"&gt;&lt;span id="EmbedNoticeSpan"&gt;Enable collaborative features and customize widget: &lt;a href="http://www.bing.com/widget/translator" rel="noopener noreferrer" target="_blank"&gt;Bing Webmaster Portal&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div id="EmbedFooterDiv"&gt;&lt;span id="EmbedBackSpan"&gt;Back&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR6047: USS_initAlgorithms</title><link>https://e2echina.ti.com/thread/1064383?ContentTypeID=0</link><pubDate>Mon, 23 Mar 2026 04:07:38 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:43388db2-e445-43d7-bac1-e14a3ac54c87</guid><dc:creator>guo ronghua</dc:creator><slash:comments>3</slash:comments><comments>https://e2echina.ti.com/thread/1064383?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1064383/msp430fr6047-uss_initalgorithms/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR6047" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR6047&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;你好！我在用MSP430FR6047开发液体流量计发现一个问题，如果在管道空管状态下执行了USS_initAlgorithms，我再次充满管道并且通一定的流量，此时测出来的值就不准了。我已经定位到是USS_initAlgorithms的问题，如果不是在空管状态下执行USS_initAlgorithms，就不会出现上述异常。&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>MSP430FR6047: EVM430-FR6047官方开发板使用CCS中的超声波水表demo，希望通过其它mcu进行配置与数据获取</title><link>https://e2echina.ti.com/thread/1064271?ContentTypeID=0</link><pubDate>Fri, 20 Mar 2026 02:07:43 GMT</pubDate><guid isPermaLink="false">91561404-af28-475a-b96b-cb6cbaadd097:e373f0fd-9d57-4727-ad9c-4fee3c258ef1</guid><dc:creator>shuhang song</dc:creator><slash:comments>3</slash:comments><comments>https://e2echina.ti.com/thread/1064271?ContentTypeID=0</comments><wfw:commentRss>https://e2echina.ti.com/support/microcontrollers/msp430/f/msp-low-power-microcontroller-forum/1064271/msp430fr6047-evm430-fr6047-ccs-demo-mcu/rss?ContentTypeId=0</wfw:commentRss><description>&lt;p&gt;&lt;b&gt;Part Number:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/product/cn/MSP430FR6047" class="internal-link folder product" title="Link to Product Folder" target="_blank"&gt;MSP430FR6047&lt;/a&gt;&lt;br /&gt;&lt;b&gt;Other Parts Discussed in Thread:&lt;/b&gt; &lt;a href="https://www.ti.com.cn/tool/cn/EVM430-FR6047" class="internal-link folder tool" title="Link to Tool Folder" target="_blank"&gt;EVM430-FR6047&lt;/a&gt;&lt;/p&gt;&lt;p&gt;您好！我正在使用EVM430-FR6047开发板，现已可以通过上位机USS与开发板进行通信获取数据&lt;/p&gt;
&lt;p&gt;希望确认CCS中的超声波水表demo是否与板子原有发货时的固件一致？&lt;/p&gt;
&lt;p&gt;同时我希望不使用USS上位机，而是使用其它MCU与其通信，比如I2C或UART，用来集成更多的采集器数据，但我并不清楚具体的通讯协议，比如串口发送什么数据能调用某个函数进行配置？或如何读取到数据？也不清楚这些函数的传入参数的范围，请问是否有对应的说明？类似I2C读写某个地址或UART的通讯交互协议？&lt;/p&gt;
&lt;p&gt;希望得到支持与回复，谢谢！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>