Page 1 of 1

Software Interrupt

Posted: Tue Aug 25, 2020 8:54 am
by mebab
I am using Arduino IDE to program Nucleo 64 L476. My previous code working with Arduino101 includes 'CurieTimerOne.h' to use a software interrupt which cannot be defined for the Nucleo. Does anybody know what can be a good replacement for this library to be applicable to the Nucleo where I need to have a software interrupt?

Re: Software Interrupt

Posted: Tue Aug 25, 2020 9:37 am
by GonzoG
You can use Hardware Timer to generate time base interrupts:
https://github.com/stm32duino/wiki/wiki ... er-library

Re: Software Interrupt

Posted: Tue Aug 25, 2020 11:26 am
by mebab
Thanks a lot for your great help GonzoG! I could implement it.