I've written a device driver for my odometer on my robot.
Basically, it needs to count pulses on PD6 and PD7.
PD6 uses IRQ3,
PD7 uses IRQ6.
For IRQ3, I sometimes get interrupts, but when checking
the ISR, the corresponding bit is not set.
Where do these fantom interrupts come from?
In /proc, I can see:
/proc> cat interrupts
Internal 68EZ328 interrupts
1: 29091 timer
2: 603 M68328_UART
18: 63 odometer1
19: 25 odometer0
20: 543 eth0
So I do not think that interrupt 18 and 19 are used for anything else.
IRQ6 looks cleaner: I only get proper interrupts for that one.
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Bram Stolk "Your mouse has moved. Windows must be restarted for the firstname.lastname@example.org change to take effect. Reboot now?"
This message resent by the email@example.com list server http://www.uClinux.com/
This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:44 EST