<?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>Kinetis Software Development KitのトピックRe: Number conversion host to big endian</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Number-conversion-host-to-big-endian/m-p/1027359#M8022</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the feedback.&lt;/P&gt;&lt;P&gt;I didn't know this macros, and them are very useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2019 07:31:12 GMT</pubDate>
    <dc:creator>jordi_becares</dc:creator>
    <dc:date>2019-12-12T07:31:12Z</dc:date>
    <item>
      <title>Number conversion host to big endian</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Number-conversion-host-to-big-endian/m-p/1027357#M8020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on MKE1xF family over SDK2.5 and I'm looking for a solution for endian to host converter like htons().&lt;/P&gt;&lt;P&gt;My problem is that if I had a number and I want to convert to little/big endian, what is the method to use? The idea is use a common method for multiplatform, like htob (host to big endian) or htol (host to littel endian). In other platforms K60 MQX 4.1 there is support for this conversions&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any support for this family and SDK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Number-conversion-host-to-big-endian/m-p/1027357#M8020</guid>
      <dc:creator>jordi_becares</dc:creator>
      <dc:date>2019-12-10T06:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Number conversion host to big endian</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Number-conversion-host-to-big-endian/m-p/1027358#M8021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordi,&lt;/P&gt;&lt;P&gt;There is some ARM function you can use.&lt;/P&gt;&lt;P&gt;__REV: Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x78563412.&lt;/P&gt;&lt;P&gt;For example:&amp;nbsp;&amp;nbsp;&amp;nbsp; A=__REV(B);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //A,B is 32bit variable&lt;/P&gt;&lt;P&gt;__REVSH: Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For example, 0x0080 becomes 0x8000.&lt;/P&gt;&lt;P&gt;For example: C=__REVSH(D);&amp;nbsp;&amp;nbsp; //C,D is 16bit variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 07:18:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Number-conversion-host-to-big-endian/m-p/1027358#M8021</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2019-12-12T07:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Number conversion host to big endian</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Number-conversion-host-to-big-endian/m-p/1027359#M8022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the feedback.&lt;/P&gt;&lt;P&gt;I didn't know this macros, and them are very useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 07:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Number-conversion-host-to-big-endian/m-p/1027359#M8022</guid>
      <dc:creator>jordi_becares</dc:creator>
      <dc:date>2019-12-12T07:31:12Z</dc:date>
    </item>
  </channel>
</rss>

