Re:How to flash an LED: writing ARM assembly for an STM32 mi...
by foldr on Saturday April 04, 2020 @07:15AM
(#22777596)
You can set up a wakeup interrupt using a timer by moving a few values into a few registers. It doesn't require anything like an OS. Even tiny 8-bit microcontrollers can do this.
Here is an example in C using libopencm3, that uses timers to trigger an interrupt used to flash LEDs https://github.com/libopencm3/libopencm3-examples/tree/maste...