Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On ARM Cortex M4 devices like the STM32 there is a simple timer called SysTick used for exactly this type of purpose! You only need to set up a clock divider and you start it up- now you have a regular interrupt at whatever frequency you need!


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: