正常
Buttons: debouncing, state machines, variant
Overview
The first article on button input has landed at this stop: the same PA0 pin is wired into two chains — a polling debounce chain reports stable-state events through Debouncer and ButtonFsm, an EXTI edge chain grabs a timestamp inside the interrupt, and Renode injects bounce for the head-to-head comparison, with the trade-offs between the two chains laid out in the open. More articles will follow once the material matures.