Page 1 of 1

RTOS non-maskale interrupt

Posted: Thu Jan 11, 2018 1:13 am
by IOTnut
I have been looking for information on how to attach the FRC1 timer to the NMI in the RTOS SDK. I have found what I need for the NON-OS SDK but I can not find the equivalent of the NON-OS ETS_FRC_TIMER1_NMI_INTR_ATTACH(pwm_intr_handler) for the RTOS SDK.
Can anyone point me in the right direction?

Re: RTOS non-maskale interrupt

Posted: Thu Feb 01, 2018 4:13 pm
You should be able to simply copy-paste the header file macro and it should work just fine in RTOS SDK as well, because the timer hardware is the same.
But don't mess with the FreeRTOS tick timer. Use the other timer, and you should be good.