Hello,
I'm trying to set up FTM interrupt from M4 core with MQX4.0.2, I use _int_install_isr, FTM Chan interrupt flags is set, but never branch to ISR function.
Something should be enabled somewhere, but don't know what.
Emmanuel
Solved! Go to Solution.
Hi,
This is a code snippet that shows how to enable an ISR. You can take a look at the BSP source code and see how they are handled in the interrupt drivers.
_int_install_isr(sci_init_ptr->ERR_VECTOR, _kuart_int_err_isr, int_io_dev_ptr); | |
_bsp_int_init(sci_init_ptr->ERR_VECTOR, sci_init_ptr->ERR_PRIORITY, 0, TRUE); |
I hope this helps,
Alejandro
Hi,
This is a code snippet that shows how to enable an ISR. You can take a look at the BSP source code and see how they are handled in the interrupt drivers.
_int_install_isr(sci_init_ptr->ERR_VECTOR, _kuart_int_err_isr, int_io_dev_ptr); | |
_bsp_int_init(sci_init_ptr->ERR_VECTOR, sci_init_ptr->ERR_PRIORITY, 0, TRUE); |
I hope this helps,
Alejandro