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