<?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>LPC MicrocontrollersのトピックRe: accessing peripherals in assembler</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-peripherals-in-assembler/m-p/763118#M30729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian Benton,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;BR /&gt;When debugging the demo, you can see assemble codes which seems like the interpretation of C codes.&lt;BR /&gt;I'd highly recommend you refer to these assemble codes for details.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 01:07:09 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2018-06-12T01:07:09Z</dc:date>
    <item>
      <title>accessing peripherals in assembler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-peripherals-in-assembler/m-p/763117#M30728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In C the header file chip.h which include such things as adc15xx.h sets up the addresses for all the peripheral registers.&lt;/P&gt;&lt;P&gt;When writing a function in assembler, is there a way of accessing this information?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example: C knows that&amp;nbsp;ADC-&amp;gt;CTRL refers to the control register of the ADC converter and compiles the correct value for the address of this register, but can I access that information from assember, by writing something similar to LDR R3,=&lt;SPAN&gt;ADC-&amp;gt;CTRL instead of first having to look up its address in the manual and define ADC_CTRL again&amp;nbsp; as .equ ADC_CTRL, 0x40000000 ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2018 13:00:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-peripherals-in-assembler/m-p/763117#M30728</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2018-06-08T13:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: accessing peripherals in assembler</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-peripherals-in-assembler/m-p/763118#M30729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ian Benton,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and the opportunity to serve you.&lt;BR /&gt;When debugging the demo, you can see assemble codes which seems like the interpretation of C codes.&lt;BR /&gt;I'd highly recommend you refer to these assemble codes for details.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 01:07:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/accessing-peripherals-in-assembler/m-p/763118#M30729</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2018-06-12T01:07:09Z</dc:date>
    </item>
  </channel>
</rss>

