logoalt Hacker News

bertitoday at 10:29 AM0 repliesview on HN

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.