Different dSM types may implement different numbers of power states. The available number is returned with max_count.
Two basic operation modes:
- SetThreshold > ResetThreshold: The state is set when the current value is greater than SetThreshold. The state is reset when the value is smaller than ResetThreshold.
- SetThreshold < ResetThreshold: The state is set when the current value is smaller than SetThreshold. The state is reset when the current value is greater than ResetThreshold.
All state changes are signaled with EventCircuitPowerStateChanged.
Closes #13930