pwm Emios0Ch13IrqCallback 回调函数未进入,EMIOS0_2_IRQ入口没有进入

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

pwm Emios0Ch13IrqCallback 回调函数未进入,EMIOS0_2_IRQ入口没有进入

596 Views
海棠
Contributor I

配置pwm,emios 0  13,使用的busA,22通道;现在pwm输出波形是正确的,但是我打开了EMIOS_PWM_IP_INTERRUPT_REQUEST,回调函数没有进去。IntCtrlConfig_0    EMIOS0_2_IRQn使能了,handler 也定义了EMIOS0_2_IRQ 。但是回调函数没进去,不知道是什么原因。

0 Kudos
Reply
1 Reply

587 Views
_Leo_
NXP TechSupport
NXP TechSupport

Hi,

Thank you so much for your interest in our products and for using our community.

For a custom IRQ, you can use the IntCtrl_Ip_InstallHandler() function. For a more detailed reference, please refer to the following community thread.

Example IP S32K312 EMIO PWM Generation & Duty capture using Interrupt DS3.5 RTD300

Hope it helps you.

Have a nice day!

0 Kudos
Reply