<?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: What's the difference between BitIO and BitIO_LDD in PE? in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437429#M11933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Historically, there were first the Embedded Components (aka 'Beans'). This is what you have for example as BitIO.&lt;/P&gt;&lt;P&gt;Because that API (no device handle used) did not scale well if used in a context with an operating system, a new category of components (LDD = Logical Device Drivers) had been created. To provide compatibility, some of the 'Beans' for Kinetis are a wrapper to the LDD components to make migration of projects easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As all the LDD components need to have a 'device handle' as parameter, you can create that handle either with the Init() method, or have it created automatically with the 'Auto initialization' setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: you might have a read here about some of the things I mentioned: &lt;A href="http://mcuoneclipse.com/2012/07/26/there-is-a-time-and-date-for-both-worlds/" title="http://mcuoneclipse.com/2012/07/26/there-is-a-time-and-date-for-both-worlds/"&gt;There is a Time and Date for both Worlds | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Jun 2015 18:10:44 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2015-06-27T18:10:44Z</dc:date>
    <item>
      <title>What's the difference between BitIO and BitIO_LDD in PE?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437428#M11932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone tell me what's the different ?&lt;/P&gt;&lt;P&gt;sounds the same to me . I found BitIO_LDD has one more function "Auto initialization" . &lt;/P&gt;&lt;P&gt;But still confuse me that why a lot of peripheral has other _LDD type component?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 14:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437428#M11932</guid>
      <dc:creator>修華許</dc:creator>
      <dc:date>2015-06-27T14:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between BitIO and BitIO_LDD in PE?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437429#M11933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Historically, there were first the Embedded Components (aka 'Beans'). This is what you have for example as BitIO.&lt;/P&gt;&lt;P&gt;Because that API (no device handle used) did not scale well if used in a context with an operating system, a new category of components (LDD = Logical Device Drivers) had been created. To provide compatibility, some of the 'Beans' for Kinetis are a wrapper to the LDD components to make migration of projects easier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As all the LDD components need to have a 'device handle' as parameter, you can create that handle either with the Init() method, or have it created automatically with the 'Auto initialization' setting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: you might have a read here about some of the things I mentioned: &lt;A href="http://mcuoneclipse.com/2012/07/26/there-is-a-time-and-date-for-both-worlds/" title="http://mcuoneclipse.com/2012/07/26/there-is-a-time-and-date-for-both-worlds/"&gt;There is a Time and Date for both Worlds | MCU on Eclipse&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jun 2015 18:10:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437429#M11933</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-27T18:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between BitIO and BitIO_LDD in PE?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437430#M11934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich:&lt;/P&gt;&lt;P&gt;According to your article. &lt;/P&gt;&lt;P&gt;I think for the one who dosen't&amp;nbsp; use a RTOS should have to choose non-LDD device than LDD-deivce.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I found your article date , it is written in 2012.&lt;/P&gt;&lt;P&gt;I guess&amp;nbsp; we can use dual interface but not only LDD right now?&lt;/P&gt;&lt;P&gt;So I can use BitIO than BitIO_LDD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if I want to use a SPI interface , I had better to choose Synchro Master than SPI Master LDD , right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 04:00:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437430#M11934</guid>
      <dc:creator>修華許</dc:creator>
      <dc:date>2015-06-28T04:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between BitIO and BitIO_LDD in PE?</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437431#M11935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use BitIO and BitIO both with and without an RTOS, it does not matter. The BitIIO_LDD is more 'tuned' towards if you are using MQX, but really: an RTOS should not make a dependency on drivers, or use an abstraction layer, like the Kinetis SDK.&lt;/P&gt;&lt;P&gt;Mentioning the SDK: if you are using the Kinetis SDK, then there is a third category of components, the fsl_xxx ones. If using the Kinetis SDK, both the BitIO and BitIO_LDD ones are not available (working).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for the SPI: I prefer to use the SynchroMaster component, as having an easier API and easier to use. But it is up to you: you can use the one or the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Jun 2015 05:39:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/What-s-the-difference-between-BitIO-and-BitIO-LDD-in-PE/m-p/437431#M11935</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-06-28T05:39:53Z</dc:date>
    </item>
  </channel>
</rss>

