I use TNeo in my project. And have some functions that can be called as from task thread as from interrupt. This function is short enough to call from interrupt, but use
function. So, instead writing of two functions - one for thread and one for interrupt, I make some modification in
This function now may be called and from interrupt. In both of these functions exists check
So, this does not increase execution time .
Of course, you wrote this kernel to have maximum compatibility with TNKernel, but now TNeo is independent and API may be improved.