<?xml version="1.0" encoding="utf-8"?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rss  version="2.0">
				<channel>
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>

<language>en-gb</language>
				<copyright><a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/in/" target="_blank"><img alt="Creative Commons License" width="80" height="15" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/2.5/in/80x15.png" target="_blank" /></a>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/in/" target="_blank">Creative Commons Attribution-Noncommercial 2.5 India License</a>.<a href='http://www.8051projects.net/disclaimer.htm' target='_blank' />Rickey's World Disclaimer</a></copyright>
				<managingEditor>Ajay Bhargav - contact@nospam.com</managingEditor>
				<webMaster>contact@nospam.com</webMaster>
				<pubDate>Mon, 01 Dec 2008 11:47:18 -0800</pubDate>
				<lastBuildDate>Mon, 01 Dec 2008 11:47:18 -0800</lastBuildDate>
				<docs>http://backend.userland.com/rss</docs>
				<generator>e107 (http://e107.org)</generator>
				<ttl>60</ttl>
				<textInput>
				<title>Search</title>
				<description>Search 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes</description>
				<name>query</name>
				<link>http://www.8051projects.net/search.php</link>
				</textInput>
						<item>
						<title>ARM tutorial lpc21xx : interrupts and interrupt handling</title>
<link>http://www.8051projects.net/forum-t4388.html</link>
<description><![CDATA[here we will discuss the various sorces of interrupts and how to handle them....]]></description>
<pubDate>Sun, 30 Dec 2007 07:45:17 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4388.html</guid>
</item>
						<item>
						<title>Re: ARM tutorial lpc21xx : interrupts and interrupt handling</title>
<link>http://www.8051projects.net/forum-t4388.html</link>
<description><![CDATA[before starting lets have a litle discussion on the most important registers  which u wud consider while programming for interrupt sources....   it is like the PSW for 51 family<br /><br />ref <br />lpcbooksrn from hitech<br /> <div class='indent'><br />(CPSR). The CPSR contains a number of flags which report and control the operation of the ARM7<br />CPU.<br />The top four bits of the CPSR contain the condition codes which are set by the CPU. The condition codes report<br />the result status of a data processing operation. From the condition codes you can tell if a data processing<br />instruction generated a negative, zero, carry or overflow result. The lowest eight bits in the CPSR contain flags<br />which may be set or cleared by the application code. Bits 7 and 8 are the I and F bits. These bits are used to<br />enable and disable the two interrupt sources which are external to the ARM7 CPU. All of the LPC2000<br />peripherals are connected to these two interrupt lines as we shall see later. You should be careful when<br />programming these two bits because in order to disable either interrupt source the bit must be set to ‘1’ not ‘0’<br />as you might expect. Bit 5 is the THUMB bit.<br /><br />The ARM7 CPU is capable of executing two instruction sets; the ARM instruction set which is 32 bits wide and<br />the THUMB instruction set which is 16 bits wide. Consequently the T bit reports which instruction set is being<br />executed. Your code should not try to set or clear this bit to switch between instruction sets. We will see the<br />correct entry mechanism a bit later. The last five bits are the mode bits. The ARM7 has seven different<br />operating modes. Your application code will normally run in the user mode with access to the register bank R0 –<br />R15 and the CPSR as already discussed. However in response to an exception such as an interrupt, memory<br />error or software interrupt instruction the processor will change modes. When this happens the registers R0 –<br />R12 and R15 remain the same but R13 (LR ) and R14 (SP) are replaced by a new pair of registers unique to<br />that mode. This means that each mode has its own stack and link register. In addition the fast interrupt mode<br />(FIQ) has duplicate registers for R7 – R12. This means that you can make a fast entry into an FIQ interrupt<br />without the need to preserve registers onto the stack.<br /></div> <br /><br /><br /><br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sun, 30 Dec 2007 11:03:12 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4388.html</guid>
</item>
						<item>
						<title>Re: ARM tutorial lpc21xx : interrupts and interrupt handling</title>
<link>http://www.8051projects.net/forum-t4388.html</link>
<description><![CDATA[<br /><strong class='bbcode bold'>please post doubts here<br /><a class='bbcode' href='http://www.8051projects.net/forum-t4389-last.html' rel='external'  target='_blank'>http://www.8051projects.net/forum-t4389-last.html</a></strong>]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sun, 30 Dec 2007 11:30:03 -0800</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t4388.html</guid>
</item>
				</channel>
				</rss>