Document API IEC60730 Library
|
When incorrect behavior is detected, this state prevents further execution. More...
Functions | |
void | sl_iec60730_safe_state (sl_iec60730_test_failure_t failure) |
When incorrect behavior is detected, this state prevents further execution.
The Safe State function must be written by the OEM to configure the system to prevent any potential negative effects from occurring. GPIOs and communications channels must be configured appropriately.
Once any configuration is complete, the function loops to restart the watchdog. This prevents any resets until the end-user power-cycles the device.
void sl_iec60730_safe_state | ( | sl_iec60730_test_failure_t | failure | ) |
public IEC60730 Safe State
failure | Enum with the failing test, can be preserved for debug. See sl_iec60730_test_failure_t |
When a validation failure is detected, the Safe State function is executed to prevent further system failures.