Converting register val to IRQ no
- From: "ms" <ms@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Jul 2005 20:32:36 +0100
Hi, I am writing the OEMInterruptHandler function in my OAL. I am following
PQ model.
I would like to convert the register value in my interrupt pending register
to a decimal value
= to my IRQ no. so i can then use the OalIntrStaticTranslate function on the
IRQ.
If i have a value in my register ie 0x80000000 which is equal to IRQ 32 is
there some
simple C code to convert this value to 32.
Regards
ms
.
- Follow-Ups:
- Re: Converting register val to IRQ no
- From: Voidcoder
- Re: Converting register val to IRQ no
- Prev by Date: Re: NOR flash
- Next by Date: PB5.0 Internal error during ParseCommandLine
- Previous by thread: Battery Driver PDD implementation
- Next by thread: Re: Converting register val to IRQ no
- Index(es):
Relevant Pages
|
|