External Interrupt for PORT

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

External Interrupt for PORT

1,111件の閲覧回数
shudhamatinarha
Contributor II

Hello NXP team,

I am using S32K14X_MCAL4_3_RTM_HF2_1_0_1 MCAL version.

I want to assign external interrupt on PORT PIN but i am not able to find any such API/Functionality present in source code. can you please guide how i can implement ISR for it. 

Thank you in advance.

0 件の賞賛
2 返答(返信)

1,088件の閲覧回数
shudhamatinarha
Contributor II

thank you hung that will help.

0 件の賞賛

1,096件の閲覧回数
hungnguyenphi
NXP Employee
NXP Employee

Hello Shudhamatinarha,

As far as I know, the MCAL package doesn't have API to install the interrupt handler. Use need to do it manually. Normally, the OS will install the interrupt handler.

In the sample app, MCAL team has provided the demo which show how to install the interrupt handler. Please find the sample app in the MCAL package S32K14X_MCAL4_3_RTM_1_0_1.

sys_enableIsrSource(id, priority);
sys_registerIsrHandler(id, (uint32) interrupt_handler);

 

Best regards,

Hung.

0 件の賞賛