hard20 pts · first answer countsfirmwarefunctional-safetymisra-c
State machine with no default
A safety state machine uses a switch on an enum with cases for every defined state and no default. Why do safety guidelines want a default branch that handles errors?
Discussion 0
Join free to post in the discussion.
Related questions
- First words read after resetEmbedded Systems Engineer
- Why registers are volatileEmbedded Systems Engineer
- Value of an uninitialised globalEmbedded Systems Engineer
- Where initialised globals come fromEmbedded Systems Engineer
- Signals used by SWDEmbedded Systems Engineer
- Garbage characters on the consoleEmbedded Systems Engineer
- I2C lines sitting at 0 VEmbedded Systems Engineer
- What a watchdog timer doesEmbedded Systems Engineer