<?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 lpcopen Chip_SWM_MovablePinUnAssign in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpcopen-Chip-SWM-MovablePinUnAssign/m-p/540027#M6760</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was developing an application for LPC81x and needed this function, but it does not exist.&lt;/P&gt;&lt;P&gt;Here a suggestion to create one..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* unassign a movable pin function to a physical pin */&lt;/P&gt;&lt;P&gt;void Chip_SWM_MovablePinUnAssign(CHIP_SWM_PIN_MOVABLE_T movable)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int pinshift = PINSHIFT(movable), regIndex = PINASSIGN_IDX(movable);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp = LPC_SWM-&amp;gt;PINASSIGN[regIndex] &amp;amp; (~(0xFF &amp;lt;&amp;lt; pinshift));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_SWM-&amp;gt;PINASSIGN[regIndex] = temp | (0xFF &amp;lt;&amp;lt; pinshift);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2016 15:12:49 GMT</pubDate>
    <dc:creator>alsaleem</dc:creator>
    <dc:date>2016-07-26T15:12:49Z</dc:date>
    <item>
      <title>lpcopen Chip_SWM_MovablePinUnAssign</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpcopen-Chip-SWM-MovablePinUnAssign/m-p/540027#M6760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was developing an application for LPC81x and needed this function, but it does not exist.&lt;/P&gt;&lt;P&gt;Here a suggestion to create one..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/* unassign a movable pin function to a physical pin */&lt;/P&gt;&lt;P&gt;void Chip_SWM_MovablePinUnAssign(CHIP_SWM_PIN_MOVABLE_T movable)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; uint32_t temp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int pinshift = PINSHIFT(movable), regIndex = PINASSIGN_IDX(movable);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; temp = LPC_SWM-&amp;gt;PINASSIGN[regIndex] &amp;amp; (~(0xFF &amp;lt;&amp;lt; pinshift));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_SWM-&amp;gt;PINASSIGN[regIndex] = temp | (0xFF &amp;lt;&amp;lt; pinshift);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2016 15:12:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpcopen-Chip-SWM-MovablePinUnAssign/m-p/540027#M6760</guid>
      <dc:creator>alsaleem</dc:creator>
      <dc:date>2016-07-26T15:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: lpcopen Chip_SWM_MovablePinUnAssign</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/lpcopen-Chip-SWM-MovablePinUnAssign/m-p/540028#M6761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; font-size: 12pt; font-family: Times New Roman,serif;"&gt;Hi，&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV style="background-color: inherit;"&gt;&lt;DIV&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-size: 14px; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px;"&gt;&lt;SPAN style="background-color: inherit; font-family: Times New Roman,serif;"&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P style="color: #000000; font-family: 微软雅黑; font-style: normal; font-weight: normal; text-align: left; text-indent: 0px; font-size: 16px;"&gt;&lt;SPAN style="background-color: inherit; font-family: Times New Roman,serif;"&gt;Thanks for your sharing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 5px 0; background-color: inherit;"&gt;Have a great day,&lt;BR style="background-color: inherit;" /&gt;Ping&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 5px 0; background-color: inherit;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 5px 0; background-color: inherit;"&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR style="background-color: inherit;" /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR style="background-color: inherit;" /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2016 03:24:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/lpcopen-Chip-SWM-MovablePinUnAssign/m-p/540028#M6761</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2016-07-28T03:24:58Z</dc:date>
    </item>
  </channel>
</rss>

