This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Restart system from QDEC_IRQHandler

Hi,

Time to time, Our board stuck in QDEC_IRQHandler.

1) In which case QDEC_IRQHandler could occurs?

2) I want system reset from QDEC_IRQHandler automatically.

But I can't find definition of QDEC_IRQHandler.

Please let me know where is QDEC_IRQHandler definition.

Parents Reply
  • Most of the Power and clock functions are "static inline" and don't actually call a function in the .c file.

    But the IRQ handler function is in those .c files. Since no other functions are actively used, it won't trigger a linker error when missing - and the IRQ is mapped to  the default handler.

    Triggering an interrupt without the correct handler present will cause the program to hang in the empty default handler function.

Children
No Data
Related