FRDM-KL03: Difference between Interrupt Callback and Handler?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FRDM-KL03: Difference between Interrupt Callback and Handler?

跳至解决方案
660 次查看
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 项奖励
回复
1 解答
542 次查看
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

在原帖中查看解决方案

1 回复
543 次查看
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