hi i need to change the nvic int_defaulter to my own function in LPSPI which api can i use in gon

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

hi i need to change the nvic int_defaulter to my own function in LPSPI which api can i use in gon

657 次查看
sandeep_c
Contributor I

hi i need to change the nvic int_default_handler to my own function in LPSPI which api can i use? i gone through the LPSPI (mimxrt1170)this link i didnt anyone if any one knows let me know thank you

IDE MCUxpressoIDE

https://mcuxpresso.nxp.com/api_doc/dev/1474/a00046.html#gab03f7964e02570aec3ca7c990200c7ed which api i can use

0 项奖励
回复
1 回复

625 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hello @sandeep_c 

One can also refer below function.

(void)EnableIRQ(s_lpspiIRQ[LPSPI_GetInstance(base)]);

 /* Enable the NVIC for LPSPI peripheral. Note that the below code is useless if the LPSPI interrupt is in INTMUX,
     * and you should also enable the INTMUX interrupt in your application.
     */

for more details please refer to lpspi.c file into driver example.

Thanks & Regards.

Sanket Parekh

0 项奖励
回复