<?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: Ram palette</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Ram-palette/m-p/518543#M2736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by siriasis on Thu Jan 12 16:06:06 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your response. Now it is clear for me. It is basically a color index module. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:35:39 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:35:39Z</dc:date>
    <item>
      <title>Ram palette</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Ram-palette/m-p/518541#M2734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by siriasis on Tue Jan 10 16:58:04 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Guys&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am a novice in LPC1788 and has just started reading about LCD controller. There is one thing that is not clear for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't understand the meaning of RAM palette. Could you please explain me in a few words what is a Ram palette and how&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to configure it. Why it is made accessible via color palette registers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:35:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Ram-palette/m-p/518541#M2734</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ram palette</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Ram-palette/m-p/518542#M2735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wellsk on Wed Jan 11 17:39:33 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The RAM palette is just an array of memory in the LCD controller than translates a color index value to a color bit pattern on the LCD bus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The RAM palette allows up to 256 entries to be defined at 16 bits/color per entry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can use the palette RAM to define your own color patterns for color index values used in your frame buffer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, you might want to use the following indices for the palette RAM...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Index 0 = 0x0000 = BLACK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Index 1 = 0x001F = Blue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Index 2 = 0x07E0 = Green&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Index 3 = 0xF100 = Red&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Index 4 = 0xFFFF = White&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So instead of using the direct color values (0x0000, 0xFFFF, etc.), you can use the index (0, 4) into the palette RAM lookup table to select the color for a element on the display. The drawback is that you can only get a maximum of 256 colors out of a selection of 65536 colors. The advantage is that your frame buffer only uses 8-bits per pixel instead of 16-bits per pixel, cutting your frame buffer memory and display refresh bandwidth in half.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Ram-palette/m-p/518542#M2735</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ram palette</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Ram-palette/m-p/518543#M2736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by siriasis on Thu Jan 12 16:06:06 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much for your response. Now it is clear for me. It is basically a color index module. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:35:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Ram-palette/m-p/518543#M2736</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:35:39Z</dc:date>
    </item>
  </channel>
</rss>

