FRDM-KL03: Difference between Interrupt Callback and Handler?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FRDM-KL03: Difference between Interrupt Callback and Handler?

Jump to solution
612 Views
sarastout-grand
Contributor III

Hello,

I'm  not clear on the difference between an interrupt callback and an interrupt handler. They appear to do the same things to me. Can you explain the difference?

Thanks,

Sara

0 Kudos
1 Solution
494 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Sara,

I think they are different function, but they are related.  The interrupt handler is exactly an interrupt service routine, once an interrupt is triggered, the The interrupt handler is executed. The interrupt callback function is an funjction which is called by the The interrupt handler function.

Hope it can help you

BR

Xiangjun Rong

View solution in original post

1 Reply
495 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Sara,

I think they are different function, but they are related.  The interrupt handler is exactly an interrupt service routine, once an interrupt is triggered, the The interrupt handler is executed. The interrupt callback function is an funjction which is called by the The interrupt handler function.

Hope it can help you

BR

Xiangjun Rong