<?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 Re: How to control cycles of Timer Our component from PE? in Processor Expert Software</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297891#M2205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looked at the TU0_Disable() method of the TU0 PEx component....it disables the *entire* peripheral. How do I disable the output of just a selected channel? The Vybrid RM mentions an Output Mask (section 39.4.15). This would be ideal, but PEx does not provide an interface for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I just need to use the FTM_PDD_WriteOutputMaskReg() macro in FTM_PDD.h? However, there is no Read version of this macro, so in order to not clobber the existing bits, I'll have to call FTM_OUTMASK_REG() instead: Once for read, then OR my bits, the write it back. Is that going to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Edit: I verified that this indeed works. Using the FTM_OUTMASK_REG() macro is all you need to manipulate the Output Mask of each individual channel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Jul 2014 20:40:36 GMT</pubDate>
    <dc:creator>jackblather</dc:creator>
    <dc:date>2014-07-11T20:40:36Z</dc:date>
    <item>
      <title>How to control cycles of Timer Our component from PE?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297889#M2203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Simple question, how could i set a function for Timer Out component ( which is PWM 50:50 generator, up to 24Mhz i think), to tick for example 10000 periods and then set flag that it done it or wait while it do it and then stop? FRDM-Kl25Z&lt;/P&gt;&lt;P&gt;Strange that there is no build-in function for that :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 May 2014 19:51:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297889#M2203</guid>
      <dc:creator>tomasmickus</dc:creator>
      <dc:date>2014-05-14T19:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to control cycles of Timer Our component from PE?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297890#M2204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there would be the number of pulses up to 256, you can use the PPG_LDD component, which allows to specify the number of pulses. &lt;/P&gt;&lt;P&gt;Otherwise, you would need to enable interrupt and in the OnInterrupt event routine increment a software counter and after it reaches given number (e.g.10000) call the Disable method of the component to stop pulse generation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 May 2014 13:51:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297890#M2204</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2014-05-15T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to control cycles of Timer Our component from PE?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297891#M2205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I looked at the TU0_Disable() method of the TU0 PEx component....it disables the *entire* peripheral. How do I disable the output of just a selected channel? The Vybrid RM mentions an Output Mask (section 39.4.15). This would be ideal, but PEx does not provide an interface for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps I just need to use the FTM_PDD_WriteOutputMaskReg() macro in FTM_PDD.h? However, there is no Read version of this macro, so in order to not clobber the existing bits, I'll have to call FTM_OUTMASK_REG() instead: Once for read, then OR my bits, the write it back. Is that going to work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Edit: I verified that this indeed works. Using the FTM_OUTMASK_REG() macro is all you need to manipulate the Output Mask of each individual channel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jul 2014 20:40:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297891#M2205</guid>
      <dc:creator>jackblather</dc:creator>
      <dc:date>2014-07-11T20:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to control cycles of Timer Our component from PE?</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297892#M2206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Your approach is perfectly ok, however, a simpler solution can be using the method &lt;EM&gt;SelectOutputAction&lt;/EM&gt; of the TimerUnit_LDD coponent (I suppose you are using it).&lt;/P&gt;&lt;P&gt;If you use OUTPUT_NONE option there, no output is performed for a channel specified by the ChannelIdx parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Petr Hradsky&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jul 2014 13:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-control-cycles-of-Timer-Our-component-from-PE/m-p/297892#M2206</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2014-07-14T13:40:10Z</dc:date>
    </item>
  </channel>
</rss>

