82xx IRQ handling
Kumar Gala
galak at kernel.crashing.org
Tue Dec 13 01:28:26 EST 2005
On Dec 12, 2005, at 12:00 AM, Dmytro Bablinyuk wrote:
>>> immap->im_intctl.ic_simrh &= ~(0x0800);
>> You should not be messing around with this register
>> in your code. The generic 82xx interrupt functions
>> will properly manage this for you.
> Thank you Dan,
> It's working now!
>
> By the way question - shall I program somewhere an edge of the IRQ
> or it always triggers on the rising edge?
>
> Also does anybody knows any source code example of using 82xx
> General Purpose Timer Unit so that it triggers interrupt handler
> after some period.
The IRQ pins are set to edge trigger by default.
- kumar
More information about the Linuxppc-embedded
mailing list