RTOS non-maskale interrupt

IOTnut
Posts: 1
Joined: Thu Jan 11, 2018 1:00 am

RTOS non-maskale interrupt

Postby IOTnut » Thu Jan 11, 2018 1:13 am

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?

User avatar
iot-bits.com
Posts: 23
Joined: Tue Dec 05, 2017 2:53 pm
Location: Pune, India
Contact:

Re: RTOS non-maskale interrupt

Postby iot-bits.com » 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.
- Pratik Panda
Nerd and Embedded Design Consultant
www.iot-bits.com

Who is online

Users browsing this forum: No registered users and 11 guests