Your hardware might have some hardware timers and programmable interrupts.
Otherwise, what Jean-Michel said... Time to bring out the FPGAs!
M
On Sun, 1 Mar 2020, 05:10 jean-michel.fri...@femto-st.fr, <
jean-michel.fri...@femto-st.fr> wrote:
> welcome to the field of real time operating systems.
welcome to the field of real time operating systems. There are a few thousand
pages about the latencies introduced by the scheduler in non-real time OS, the
first google hit being
https://www.veterobot.org/2012/04/precise-pwms-with-gpio-using-xenomai.html
A few microseconds is not too bad actuall