Firmware  0.0.0
Loading...
Searching...
No Matches
analog::anonymous_namespace{adc_task_function.cpp} Namespace Reference

Functions

auto get_short_circuit_count ()
 Convert the NVS setting "cur_sc_time" to a counter value.
 

Function Documentation

◆ get_short_circuit_count()

auto analog::anonymous_namespace{adc_task_function.cpp}::get_short_circuit_count ( )

For convenience, the short circuit detection time is stored in milliseconds. In order for this setting to be used by the ADC task, it must be converted to a counter value.

Returns
Short circuit counter value for ADC task function