
System-Level Design 197
Soft Error
Fault: Alarm tone task state variable corruption.
Test: Range check on the state variable.
Response: Reset the state variable.
Recoverable Error
Fault: Error task state variable corruption.
Test: Range check on the state variable.
Response: Reset the state variable.
Check status on other system state machines.
If error condition, then set error system mode, set current
time to default.
Wait for user control input.
Recoverable Error
Fault: Alarm disabled but also active.
Test: Routine check by error task.
Response: Reset alarm control task state variable.
Recoverable Error
Fault: Snooze active when alarm is disabled.
Test: