diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-D0F5D40A-28D2-4A2E-9B40-180537E60F56.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-D0F5D40A-28D2-4A2E-9B40-180537E60F56.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,87 @@ + + + + + +Interrupt Client Interface GuideProvides information to handle and control interrupts in +the system. +

The purpose of this document is to describe interrupt specific +functions for the kernel side device drivers.

+
+ Interface classes + + + +API +Description + + + + +

Interrupt

+

Exports interrupt functionality to device +drivers and other kernel-side code

+
+ + +
+
Interrupt +class

The Interrupt class provides functions +for using interrupts. The Symbian platform defines this class and +the implementation for each of the functions is defined by at the +hardware level.

The Interrupt class provides the following functions.

+ + + +Function +Return Type +Description + + + + +

Interrupt:: Bind(TInt anId, TIsr anIsr, TAny* aPtr)

+

TInt

+

Associates the specified Interrupt Service Routine (ISR) +function with the specified interrupt Id.

+
+ +

Interrupt::Unbind(TInt anId)

+

TInt

+

Unbinds the ISR function from the specified interrupt Id.

+
+ +

Interrupt::Enable(TInt anId)

+

TInt

+

Enables the specified interrupt.

+
+ +

Interrupt::Disable(TInt anId)

+

TInt

+

Disables the specified interrupt.

+
+ +

Interrupt::Clear(TInt anId)

+

TInt

+

Clears the interrupt pending signal at the interrupt controller +hardware level.

+
+ +

Interrupt::SetPriority(TInt anId, TInt aPriority)

+

TInt

+

Changes the priority of the specified interrupt to the new +specified value.

+
+ + +
+
+Interrupt +Technology Guide +
\ No newline at end of file