<?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>Processor Expert Software中的主题 Re: Problem with parameters in SetOffsetTicks method.</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/Problem-with-parameters-in-SetOffsetTicks-method/m-p/302558#M2265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh my!&lt;/P&gt;&lt;P&gt;I really messed up there... but...&lt;/P&gt;&lt;P&gt;Thank you!!!! You have saved me! Really, I can't tell how gratefull I am!&lt;/P&gt;&lt;P&gt;Saludos desde México! :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 May 2014 07:16:49 GMT</pubDate>
    <dc:creator>kiven</dc:creator>
    <dc:date>2014-05-22T07:16:49Z</dc:date>
    <item>
      <title>Problem with parameters in SetOffsetTicks method.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Problem-with-parameters-in-SetOffsetTicks-method/m-p/302556#M2263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just got my kl46z.&lt;/P&gt;&lt;P&gt;Im using a TimerUnit to make 2 PWM signals, one on each channel (0 &amp;amp; 1), and I want to change the offset values by using SetOffsetTicks method.&lt;/P&gt;&lt;P&gt;The problem is that when I use the SetOffsetTicks method I get some errors.&lt;/P&gt;&lt;P&gt;The code I use is this one:&lt;/P&gt;&lt;P&gt; TU2_SetOffsetTicks(LDD_TDeviceData *DeviceDataPtr, uint8_t 0, TU2_TValueType 25000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cause it didn't work I tried with this one:&lt;/P&gt;&lt;P&gt; TU2_SetOffsetTicks( LDD_TDeviceData *TU2_TDeviceDataPtr, uint8_t 0, TU2_TValueType 25000);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The errors that I get are these ones:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;../Sources/Events.c: In function 'AS1_OnRxChar':&amp;nbsp; //*****************Im trying to use this method (SetOffsetTicks) inside this Serial communication event but even if I try to use it in the main code I still get this.&lt;/P&gt;&lt;P&gt;../Sources/Events.c:101:26: error: expected expression before 'LDD_TDeviceData'&lt;/P&gt;&lt;P&gt;mingw32-make: *** [Sources/Events.o] Error 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have Auto initialization enabled.&lt;/P&gt;&lt;P&gt;How do I fix this?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 May 2014 14:59:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Problem-with-parameters-in-SetOffsetTicks-method/m-p/302556#M2263</guid>
      <dc:creator>kiven</dc:creator>
      <dc:date>2014-05-21T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with parameters in SetOffsetTicks method.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Problem-with-parameters-in-SetOffsetTicks-method/m-p/302557#M2264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seeems that the problem is in the syntax - you need to call it using proper C syntax (don't use type names in the call!) like this :&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;TU2_SetOffsetTicks(TU2_DeviceData, 0, 25000);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;The TU2_DeviceData is a device structure automatically created for you by Auto initialization so you can reference it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12.727272033691406px;"&gt;&lt;BR /&gt;&lt;/SPAN&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, 22 May 2014 06:50:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Problem-with-parameters-in-SetOffsetTicks-method/m-p/302557#M2264</guid>
      <dc:creator>Petr_H</dc:creator>
      <dc:date>2014-05-22T06:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with parameters in SetOffsetTicks method.</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/Problem-with-parameters-in-SetOffsetTicks-method/m-p/302558#M2265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh my!&lt;/P&gt;&lt;P&gt;I really messed up there... but...&lt;/P&gt;&lt;P&gt;Thank you!!!! You have saved me! Really, I can't tell how gratefull I am!&lt;/P&gt;&lt;P&gt;Saludos desde México! :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 May 2014 07:16:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/Problem-with-parameters-in-SetOffsetTicks-method/m-p/302558#M2265</guid>
      <dc:creator>kiven</dc:creator>
      <dc:date>2014-05-22T07:16:49Z</dc:date>
    </item>
  </channel>
</rss>

