<?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>MCUXpresso Config Tools中的主题 Re: Config Tools Pin Label and Identifier</title>
    <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959467#M804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see pdf user manual, chapter "3.4.6 Labels and identifiers", here shortly copy pasted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Labels:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;You can define the label of any pin that can be displayed in user interface for ease of identification.&lt;/P&gt;&lt;P&gt;Boards and kits have pre-defined labels. However, it's also possible to define a pin label listed in the Pins and Routed Pins views.&lt;BR /&gt;To set\update the Labels and Identifier columns visibility, select Edit &amp;gt; Preferences.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Identifiers:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The pin identifier is used to generate the #define in the pin_mux.h file. However, it's an optional parameter. If the parameter is not defined, the code for #define is not generated. Additionally, you can define multiple identifiers, using the “;” character as a separator. You can also set the identifier by typing it directly into the cell in the Identifier column in the Pins and Routed Pins views.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Libor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2019 08:50:14 GMT</pubDate>
    <dc:creator>liborukropec</dc:creator>
    <dc:date>2019-10-24T08:50:14Z</dc:date>
    <item>
      <title>Config Tools Pin Label and Identifier</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959466#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the use case for the pin Label and Identifier in the Config Tools Pins table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2019 20:10:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959466#M803</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2019-10-23T20:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Config Tools Pin Label and Identifier</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959467#M804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see pdf user manual, chapter "3.4.6 Labels and identifiers", here shortly copy pasted:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Labels:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;You can define the label of any pin that can be displayed in user interface for ease of identification.&lt;/P&gt;&lt;P&gt;Boards and kits have pre-defined labels. However, it's also possible to define a pin label listed in the Pins and Routed Pins views.&lt;BR /&gt;To set\update the Labels and Identifier columns visibility, select Edit &amp;gt; Preferences.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Identifiers:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;The pin identifier is used to generate the #define in the pin_mux.h file. However, it's an optional parameter. If the parameter is not defined, the code for #define is not generated. Additionally, you can define multiple identifiers, using the “;” character as a separator. You can also set the identifier by typing it directly into the cell in the Identifier column in the Pins and Routed Pins views.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Libor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2019 08:50:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959467#M804</guid>
      <dc:creator>liborukropec</dc:creator>
      <dc:date>2019-10-24T08:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Config Tools Pin Label and Identifier</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959468#M805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did see this section of the Config Tools user manual. But this does not explain how the label and identifier are used in practice. Any examples?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2019 16:02:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959468#M805</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2019-10-24T16:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Config Tools Pin Label and Identifier</title>
      <link>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959469#M806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the pins is given label, the benefit is that it can be used e.g. in filters:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/93765i4CF38223CBC6006D/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Identifiers are used for defines in pin_mux.c so in case there is need to access particular pin, you can use this custom identifier (in menu Edit | Configuration preferences enable "Generate extended information into header file")&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/*! @name ADC0_DP1 (number 14), MY_BUTTON&lt;BR /&gt;&amp;nbsp; @{ */&lt;BR /&gt;#define BOARD_MY_BUTTON_PERIPHERAL ADC0&amp;nbsp;&amp;nbsp; /*!&amp;lt;@brief Device name: ADC0 */&lt;BR /&gt;#define BOARD_MY_BUTTON_SIGNAL SE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt;@brief ADC0 signal: SE */&lt;BR /&gt;#define BOARD_MY_BUTTON_CHANNEL 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*!&amp;lt;@brief ADC0 SE channel: 1 */&lt;BR /&gt;#define BOARD_MY_BUTTON_PIN_NAME ADC0_DP1 /*!&amp;lt;@brief Pin name */&lt;BR /&gt;#define BOARD_MY_BUTTON_LABEL "MY_BUTTON" /*!&amp;lt;@brief Label */&lt;BR /&gt;#define BOARD_MY_BUTTON_NAME "MY_BUTTON"&amp;nbsp; /*!&amp;lt;@brief Identifier name */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* @} */&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can have big benefit if the same application should work on more boards/processors (where the pin can have different name and thus different define) so it is not necessary to change the main application, because you can use constant that is independent on given HW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also does the code more readable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Libor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2019 07:01:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-Config-Tools/Config-Tools-Pin-Label-and-Identifier/m-p/959469#M806</guid>
      <dc:creator>liborukropec</dc:creator>
      <dc:date>2019-10-25T07:01:29Z</dc:date>
    </item>
  </channel>
</rss>

