2022-06-23 02:42 AM
Is it possible to set an output to "1" or "0" with an instruction of one cycle?
2022-06-23 03:50 AM
Do a singular write to the BSRR register rather than RMW the ODR one.
2022-06-23 03:51 AM
Use hardware (e.g. timers) wherever possible.
Relationship between instructions and machine cycles is far from being straighforward.
JW