<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic S32K344 MCAL WdgModule - Question about a Wdg_SetTriggerCondition() in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-MCAL-WdgModule-Question-about-a-Wdg-SetTriggerCondition/m-p/1876368#M35899</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a doubt in some of your RTDs functions. You use the function Wdg_ChannelSetTriggerCondition(timeout) to periodically service the Wdg. In the description of the function you specify that this timeout is in miliseconds. However, in the following line:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Wdg_au32Timeout[Instance] = (uint32)(Timeout * Wdg_apConfigPtr[Instance]-&amp;gt;Wdg_u32TriggerSourceClock) + ElapsedTime;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly is this calculation? Shouldn't we just equal the timeout to the Wdg_au32Timeout[Instance]?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Wdg_au32Timeout[Instance] = Timeout&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 28 May 2024 14:00:02 GMT</pubDate>
    <dc:creator>Rmpr</dc:creator>
    <dc:date>2024-05-28T14:00:02Z</dc:date>
    <item>
      <title>S32K344 MCAL WdgModule - Question about a Wdg_SetTriggerCondition()</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-MCAL-WdgModule-Question-about-a-Wdg-SetTriggerCondition/m-p/1876368#M35899</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a doubt in some of your RTDs functions. You use the function Wdg_ChannelSetTriggerCondition(timeout) to periodically service the Wdg. In the description of the function you specify that this timeout is in miliseconds. However, in the following line:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Wdg_au32Timeout[Instance] = (uint32)(Timeout * Wdg_apConfigPtr[Instance]-&amp;gt;Wdg_u32TriggerSourceClock) + ElapsedTime;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly is this calculation? Shouldn't we just equal the timeout to the Wdg_au32Timeout[Instance]?&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Wdg_au32Timeout[Instance] = Timeout&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 14:00:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-MCAL-WdgModule-Question-about-a-Wdg-SetTriggerCondition/m-p/1876368#M35899</guid>
      <dc:creator>Rmpr</dc:creator>
      <dc:date>2024-05-28T14:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 MCAL WdgModule - Question about a Wdg_SetTriggerCondition()</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-MCAL-WdgModule-Question-about-a-Wdg-SetTriggerCondition/m-p/1877605#M35981</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220829"&gt;@Rmpr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The equation provided in the code calculates the number of ticks required to have the defined timeout value ((milliseconds) considering the configured clock frequency and the elapsed time since the channel started with Gpt_StartTimer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 20:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-MCAL-WdgModule-Question-about-a-Wdg-SetTriggerCondition/m-p/1877605#M35981</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-05-29T20:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 MCAL WdgModule - Question about a Wdg_SetTriggerCondition()</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-MCAL-WdgModule-Question-about-a-Wdg-SetTriggerCondition/m-p/1879665#M36146</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 08:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-MCAL-WdgModule-Question-about-a-Wdg-SetTriggerCondition/m-p/1879665#M36146</guid>
      <dc:creator>Rmpr</dc:creator>
      <dc:date>2024-06-03T08:49:49Z</dc:date>
    </item>
  </channel>
</rss>

