diff -r 578be2adaf3e -r 307f4279f433 Adaptation/GUID-F9051D21-3E4C-4645-BD04-06606E849AEF.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Adaptation/GUID-F9051D21-3E4C-4645-BD04-06606E849AEF.dita Fri Oct 15 14:32:18 2010 +0100 @@ -0,0 +1,66 @@ + + + + + +Interrupt Interface OverviewProvides a summary of the Interrupt platform service interface. +

The Interrupt interface is provided by functions of the Interrupt class. The class is defined in the os/kernelhwsrv/kernel/eka/include/kernel/arm/assp.h file. +The Interrupt class functions must be implemented +by the baseport variant to enable device drivers and other kernel +side code to handle the interrupts.

+
+ Interrupt handling functions + + + +API +Description + + + + +Interrupt::Bind(TInt anId, TIsr anIsr, TAny* aPtr) +Allows an Interrupt Service Routine (ISR) to be associated +with a specified interrupt ID in the anId parameter. + + +Interrupt::Unbind(TInt anId) +Unbinds an ISR from a specified interrupt ID. + + +Interrupt::Enable(TInt anId) +Enables a specified interrupt to be active and allows the associated +ISR to handle the interrupts. + + +Interrupt::Disable(TInt anId) +Disable a specified interrupt. + + +Interrupt::Clear(TInt anId) +Clears the interrupt pending condition in the interrupt controller +hardware. + + +Interrupt::SetPriority(TInt anId, TInt aPriority) +Change the priority of a specified interrupt. + + +Interrupt::AddTimingEntropy() +Adds high resolution timestamp to the interrupt. This function +should be called by the device driver where the timing of the interrupts +are considered to be random. + + + +

The header file for the Interrupt platform service can +be found here.

The Interrupt platform service is +only used to associate an interrupt with an ISR. The Interrupt platform +service is not used to dispatch interrupts.
+
\ No newline at end of file