<?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 Re: LPC 1769 Adressing in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533690#M3722</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m3t4lukas on Thu Feb 09 05:44:38 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! That was what I was looking for :) So reading a pinstate is also done with masking :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I can concentrate on functionality :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 03:01:22 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T03:01:22Z</dc:date>
    <item>
      <title>LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533679#M3711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m3t4lukas on Sat Feb 04 02:52:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm new to the LPC 1769 and wanted to know if there's any chance to put bits for example into P0.1 (J6-10) or P0.2 (J6-21). Before I used to write programs for the 6502 in Assembler. There I can set or unset the outputs by having their address. Is there a chance to get the addresses for the J6-XX outputs to control them directly?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533679#M3711</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:14Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533680#M3712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat Feb 04 03:41:32 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Addresses are described in User Manual UM10360 :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.nxp.com/download/pip/LPC1769FBD100/user_manual&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Table 101. GPIO register map (local bus accessible registers - enhanced GPIO features)&lt;BR /&gt;Generic&lt;BR /&gt;Name&lt;BR /&gt;Description Access Reset&lt;BR /&gt;value[1]&lt;BR /&gt;PORTn Register&lt;BR /&gt;Name &amp;amp; Address&lt;BR /&gt;FIODIR Fast GPIO Port Direction control register. This register&lt;BR /&gt;individually controls the direction of each port pin.&lt;BR /&gt;R/W 0 FIO0DIR - 0x2009 C000&lt;BR /&gt;FIO1DIR - 0x2009 C020&lt;BR /&gt;FIO2DIR - 0x2009 C040&lt;BR /&gt;FIO3DIR - 0x2009 C060&lt;BR /&gt;FIO4DIR - 0x2009 C080&lt;BR /&gt;FIOMASK Fast Mask register for port. Writes, sets, clears, and reads to&lt;BR /&gt;port (done via writes to FIOPIN, FIOSET, and FIOCLR, and&lt;BR /&gt;reads of FIOPIN) alter or return only the bits enabled by zeros&lt;BR /&gt;in this register.&lt;BR /&gt;R/W 0 FIO0MASK - 0x2009 C010&lt;BR /&gt;FIO1MASK - 0x2009 C030&lt;BR /&gt;FIO2MASK - 0x2009 C050&lt;BR /&gt;FIO3MASK - 0x2009 C070&lt;BR /&gt;FIO4MASK - 0x2009 C090&lt;BR /&gt;FIOPIN Fast Port Pin value register using FIOMASK. The current state&lt;BR /&gt;of digital port pins can be read from this register, regardless of&lt;BR /&gt;pin direction or alternate function selection (as long as pins are&lt;BR /&gt;not configured as an input to ADC). The value read is masked&lt;BR /&gt;by ANDing with inverted FIOMASK. Writing to this register&lt;BR /&gt;places corresponding values in all bits enabled by zeros in&lt;BR /&gt;FIOMASK.&lt;BR /&gt;Important: if an FIOPIN register is read, its bit(s) masked with&lt;BR /&gt;1 in the FIOMASK register will be read as 0 regardless of the&lt;BR /&gt;physical pin state.&lt;BR /&gt;R/W 0 FIO0PIN - 0x2009 C014&lt;BR /&gt;FIO1PIN - 0x2009 C034&lt;BR /&gt;FIO2PIN - 0x2009 C054&lt;BR /&gt;FIO3PIN - 0x2009 C074&lt;BR /&gt;FIO4PIN - 0x2009 C094&lt;BR /&gt;FIOSET Fast Port Output Set register using FIOMASK. This register&lt;BR /&gt;controls the state of output pins. Writing 1s produces highs at&lt;BR /&gt;the corresponding port pins. Writing 0s has no effect. Reading&lt;BR /&gt;this register returns the current contents of the port output&lt;BR /&gt;register. Only bits enabled by 0 in FIOMASK can be altered.&lt;BR /&gt;R/W 0 FIO0SET - 0x2009 C018&lt;BR /&gt;FIO1SET - 0x2009 C038&lt;BR /&gt;FIO2SET - 0x2009 C058&lt;BR /&gt;FIO3SET - 0x2009 C078&lt;BR /&gt;FIO4SET - 0x2009 C098&lt;BR /&gt;FIOCLR Fast Port Output Clear register using FIOMASK. This register&lt;BR /&gt;controls the state of output pins. Writing 1s produces lows at&lt;BR /&gt;the corresponding port pins. Writing 0s has no effect. Only bits&lt;BR /&gt;enabled by 0 in FIOMASK can be altered.&lt;BR /&gt;WO 0 FIO0CLR - 0x2009 C01C&lt;BR /&gt;FIO1CLR - 0x2009 C03C&lt;BR /&gt;FIO2CLR - 0x2009 C05C&lt;BR /&gt;FIO3CLR - 0x2009 C07C&lt;BR /&gt;FIO4CLR - 0x2009 C09C&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Setting / resetting bits is described several times here :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=2463&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This addressing stuff is done here by CMSIS, which includes a lot of structs (in LPC17xx.h) to access all registers :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Another option is Bit-Banding, which is described here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.faqs/ka4203.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;The Cortex-M3 processor has a feature known as "bit-banding". This&amp;nbsp; allows an individual bit in a memory-mapped mailbox or peripheral&amp;nbsp; register to be set/cleared by a single store/load instruction to an&amp;nbsp; bit-band aliased memory address, rather than using a conventional&amp;nbsp; read/modify/write instruction sequence.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;Sample: &lt;/SPAN&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/BitBanding?highlight=%28bit-banding%29&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533680#M3712</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533681#M3713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m3t4lukas on Sat Feb 04 05:08:16 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't find this table 101 nowhere in the manual...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533681#M3713</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533682#M3714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ex-kayoda on Sat Feb 04 05:12:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Chapter '9.5 Register description' :rolleyes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533682#M3714</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533683#M3715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat Feb 04 05:14:27 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Page 122 :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533683#M3715</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533684#M3716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m3t4lukas on Sat Feb 04 05:16:09 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My search tool didn't found it :P&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533684#M3716</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533685#M3717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by OXO on Sat Feb 04 05:18:00 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Zero&lt;/STRONG&gt;&lt;BR /&gt;Page 122 :)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You have way too much patience Mr 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;:D&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533685#M3717</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533686#M3718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ex-kayoda on Sat Feb 04 05:32:49 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Working on a boring windows :mad: program today, so every diversion is welcome...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533686#M3718</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533687#M3719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Sat Feb 04 05:53:55 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing windows stuff isn't very exciting, so a little diversion is convenient :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533687#M3719</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533688#M3720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m3t4lukas on Thu Feb 09 03:35:53 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay, writing is okay now, what about reading? I don't need an interrupt necessarily. I read chapter 8 and 9 from the manual, but honestly I don't understand half of it :(&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I need to do is a function as a kind of handler of the pins, just with read (returning HI or LOW), set HI (1) and set LOW (0).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lukas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533688#M3720</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533689#M3721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Thu Feb 09 03:49:08 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;What are we talking about :confused: Simple input setup ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See #2 of &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=2417&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533689#M3721</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: LPC 1769 Adressing</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533690#M3722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by m3t4lukas on Thu Feb 09 05:44:38 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! That was what I was looking for :) So reading a pinstate is also done with masking :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I can concentrate on functionality :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 03:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/LPC-1769-Adressing/m-p/533690#M3722</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T03:01:22Z</dc:date>
    </item>
  </channel>
</rss>

