Hacker News new | ask | show | jobs
by berti 28 days ago
Reading a register from a microcontroller peripheral may well reset it as an example of a possible side-effect here, and that's exactly the kind of thing you use volatile for.