??? 10/17/09 08:19 Read: times |
#169835 - Still not clear! Responding to: ???'s previous message |
Eric Zhao said:
"sometimes" : I debug several times,one or two times I can enter the CAN Interrupt .but most times ,I can't ; It would help if you would be more precise with your terminology: An Interrupt is a hardware event; An Interrupt Service Routine (or "ISR", for short) is a piece of software that you write to be called automatically by the hardware when an Interrupt occurs. So, if your system is not entering the Interrupt Service Routine, you first need to determine whether the hardware Interrupt is actually ocurring at all.. If the hardware Interrupt is not happening (or is masked or disabled) then, obviously, the Service Routine will never be called (or "entered"). |