Symbian3/PDK/Source/GUID-8FA1B2B0-5842-4D5D-BD61-C2D79B56ADC6.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Tue, 30 Mar 2010 11:42:04 +0100
changeset 4 4816d766a08a
parent 3 46218c8b8afa
child 5 f345bda72bc4
permissions -rw-r--r--
Week 12 contribution of SDK documentation_content. See release notes for details. Fixes Bug 1892, Bug 1522, Bug 1520, Bug 394, Bug 1319, Bug 344, Bug 1897

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<concept id="GUID-8FA1B2B0-5842-4D5D-BD61-C2D79B56ADC6" xml:lang="en"><title>Interrupt Service Routine (ISR)</title><shortdesc>This document describes interrupt service routines as used by device
drivers.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
<p>An ISR is a static function that will be executed when an interrupt occurs
on the interrupt source bound to the ISR. </p>
<codeblock id="GUID-E8416619-9314-5420-8EC1-F8BF804230DF" xml:space="preserve">// Interrupt service routines
static void UartIsr(TAny* aParam);
</codeblock>
<p>An ISR performs the actions necessary to service the event of the peripheral
that generated the interrupt and to remove the condition that caused it to
interrupt. It queues a DFC to do the required processing. It disables the
interrupts and FIQs on ARM, if required, to handle the interrupt, and enables
them before leaving. It can also disable the source of the interrupt that
it is servicing. </p>
</conbody></concept>