<?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: How to use PDD macros in CW V10.4 step by step</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234297#M1235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one might be helpful: &lt;A href="http://mcuoneclipse.com/2013/05/11/low-level-coding-with-pdd-physical-device-driver/" title="http://mcuoneclipse.com/2013/05/11/low-level-coding-with-pdd-physical-device-driver/"&gt;Low-Level Coding with PDD (Physical Device Driver) | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As for documentation: I click on the function/macro in the source and press F3, this gets me to the macro definition which has example/documentation for it. Not like a manual, but helped me to use the PDD macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Apr 2014 19:12:54 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2014-04-23T19:12:54Z</dc:date>
    <item>
      <title>How to use PDD macros in CW V10.4 step by step</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234295#M1233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Physical Device Drivers (PDD) macros is a software layer that provides set of methods for accessing microcontroller peripheral configuration registers. &lt;/P&gt;&lt;P&gt;PDD macros are a good companion to Peripheral Initialization components (like Init_GPIO, Init_TPM etc..) that provide complete initialization code for a peripheral so the user can then just use PDD macros for runtime control of the peripheral.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1. Add corresponding Peripheral Initialization component for your task and configure it ( they are named Init_{&lt;EM&gt;peripheral&lt;/EM&gt;} ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In the Components view, the Peripheral Initialization components contain a PDD sub-folder with a list of macros only relevant for the selected peripheral. Unfold the component to get the PDD sub folder visible.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_0.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39393iF206FC776FA4BFC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_0.png" alt="pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jiveImage" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;3. Unfold the PDD folder and drag and drop macro you need to use (add semilcolon and optinaly a parametr):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_12.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39375i34AF961D7D7727B1/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_12.png" alt="pastedImage_12.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The first parameter of all macros is base address of the peripheral and is filled automaticaly with the _DEVICE constant generated for the component if you drag it from Init_&amp;nbsp; component. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Include the corresponding header file. PDD macros are located wihtin the following folder:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; {CodeWarrior}\MCU\ProcessorExpert\lib\Kinetis\pdd\inc\&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_13.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39376i8C007FA01375CB49/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_13.png" alt="pastedImage_13.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For details please go to the PEx documentation. Available through "Help Contents" command under "Help" menu of CW and then select the following section CodeWarrior for Microcontrollers V10.x &amp;gt; Processor Expert Manuals &amp;gt; Processor Expert User Manual &amp;gt; Application Design &amp;gt; &lt;STRONG&gt;Low-level Access to Peripherals&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Vojtech Filip&lt;/P&gt;&lt;P&gt;Processor Expert Support Team&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 May 2013 12:09:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234295#M1233</guid>
      <dc:creator>vfilip</dc:creator>
      <dc:date>2013-05-11T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PDD macros in CW V10.4 step by step</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234296#M1234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN class="j-post-author"&gt;&lt;STRONG&gt;&lt;A href="https://community.nxp.com/people/VF"&gt;VF&lt;/A&gt;&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;Is there any documents on using these PDD components ? I mean syntax of the PDD function. At least in PE components there is an option oh help in right click on the components but in these how do we know What to write in the function? I am using CodeWarrior 10.5&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;Kind Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;Amit Kumar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 11:59:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234296#M1234</guid>
      <dc:creator>Amit_Kumar1</dc:creator>
      <dc:date>2014-04-23T11:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PDD macros in CW V10.4 step by step</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234297#M1235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one might be helpful: &lt;A href="http://mcuoneclipse.com/2013/05/11/low-level-coding-with-pdd-physical-device-driver/" title="http://mcuoneclipse.com/2013/05/11/low-level-coding-with-pdd-physical-device-driver/"&gt;Low-Level Coding with PDD (Physical Device Driver) | MCU on Eclipse&lt;/A&gt;&lt;/P&gt;&lt;P&gt;As for documentation: I click on the function/macro in the source and press F3, this gets me to the macro definition which has example/documentation for it. Not like a manual, but helped me to use the PDD macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 19:12:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234297#M1235</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2014-04-23T19:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to use PDD macros in CW V10.4 step by step</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234298#M1236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erich , The post is helpful :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 03:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/How-to-use-PDD-macros-in-CW-V10-4-step-by-step/m-p/234298#M1236</guid>
      <dc:creator>Amit_Kumar1</dc:creator>
      <dc:date>2014-04-24T03:16:08Z</dc:date>
    </item>
  </channel>
</rss>

