I use an STM32H5 for watering my plants. If the controller were to hang somewhere in my program, my apartment could be flooded.
Are there any good books or papers that cover such “functional safety” aspects, like where in the program the watchdog should be reset, etc.?
I know there are a lot of examples on how to set the registers, but my question is focused on methodology.