<?xml version="1.0" encoding="utf-8" ?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
				<channel rdf:about="http://www.8051projects.net/">
				<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>
				<dc:language>en-gb</dc:language>
				<dc:date>2008-12-01T22:52:56-08:00</dc:date>
				<dc:creator>contact@nospam.com</dc:creator>
				<admin:generatorAgent rdf:resource="http://e107.org" />
				<admin:errorReportsTo rdf:resource="mailto:contact@nospam.com" />
				<sy:updatePeriod>hourly</sy:updatePeriod>
				<sy:updateFrequency>1</sy:updateFrequency>
				<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
				<items>
				<rdf:Seq>
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4388.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4388.html" />
						<rdf:li rdf:resource="http://www.8051projects.net/forum-t4388.html" />
				</rdf:Seq>
				</items>
				</channel>
						<item rdf:about="http://www.8051projects.net/forum-t4388.html">
						<title>ARM tutorial lpc21xx : interrupts and interrupt handling</title>
						<link>http://www.8051projects.net/forum-t4388.html</link>
						<dc:date>2008-12-01T22:52:56-08:00</dc:date>
						<dc:creator></dc:creator>
						<dc:subject></dc:subject>
						<description>here we will discuss the various sorces of interrupts and how to handle them....</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4388.html">
						<title>Re: ARM tutorial lpc21xx : interrupts and interrupt handling</title>
						<link>http://www.8051projects.net/forum-t4388.html</link>
						<dc:date>2008-12-01T22:52:56-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>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 familyref lpcbooksrn from hitech (CPSR). The CPSR contains a number of flags which report and control the operation of the ARM7CPU.The top four bits of the CPSR contain the condition codes which are set by the CPU. The condition codes reportthe result status of a data processing operation. From the condition codes you can tell if a data processinginstruction generated a negative, zero, carry or overflow result. The lowest eight bits in the CPSR contain flagswhich may be set or cleared by the application code. Bits 7 and 8 are the I and F bits. These bits are used toenable and disable the two interrupt sources which are external to the ARM7 CPU. All of the LPC2000peripherals are connected to these two interrupt lines as we shall see later. You should be careful whenprogramming these two bits because in order to disable either interrupt source the bit must be set to ‘1’ not ‘0’as you might expect. Bit 5 is the THUMB bit.The ARM7 CPU is capable of executing two instruction sets; the ARM instruction set which is 32 bits wide andthe THUMB instruction set which is 16 bits wide. Consequently the T bit reports which instruction set is beingexecuted. Your code should not try to set or clear this bit to switch between instruction sets. We will see thecorrect entry mechanism a bit later. The last five bits are the mode bits. The ARM7 has seven differentoperating modes. Your application code will normally run in the user mode with access to the register bank R0 –R15 and the CPSR as already discussed. However in response to an exception such as an interrupt, memoryerror or software interrupt instruction the processor will change modes. When this happens the registers R0 –R12 and R15 remain the same but R13 (LR ) and R14 (SP) are replaced by a new pair of registers unique tothat mode. This means that each mode has its own stack and link register. In addition the fast interrupt mode(FIQ) has duplicate registers for R7 – R12. This means that you can make a fast entry into an FIQ interruptwithout the need to preserve registers onto the stack.</description>
						</item>
						<item rdf:about="http://www.8051projects.net/forum-t4388.html">
						<title>Re: ARM tutorial lpc21xx : interrupts and interrupt handling</title>
						<link>http://www.8051projects.net/forum-t4388.html</link>
						<dc:date>2008-12-01T22:52:56-08:00</dc:date>
						<dc:creator>shyam</dc:creator>
						<dc:subject></dc:subject>
						<description>please post doubts herehttp://www.8051projects.net/forum-t4389-last.html</description>
						</item>
				</rdf:RDF>