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

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

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

385 Views
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 Kudos
Reply
1 Reply

353 Views
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 Kudos
Reply