Hi,
we want to use some function,
scenario 1:
we have a dimmer,and then we have a 50 hz signal it can every 10ms send to interrupt pin,if we receive the signal we can send PWM signal, we must to real time handle the signal, how can i use RTOS function in interrupt?
and then it can not affect RTOS kernrl operation.
thanks
Are you asking how to ensure interrupt latency is not effected by the
kernel? If so then it depends on the microcontroller you are using. If
you are using a FreeRTOS port that supports interrupt nesting then set
the interrupt’s priority above configMAX_SYSCALL_INTERRUPT_PRIORITY as
the kernel will only disable interrupt at or lower than that priority. https://www.freertos.org/a00110.html#kernel_priority