Firmware  0.5.1
Loading...
Searching...
No Matches
drv::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.

Variables

std::array< uint8_t, conversion_frame_sizeconversion_frame
VoltagesQueue::value_type voltages
CurrentsQueue::value_type currents

Function Documentation

◆ get_short_circuit_count()

auto drv::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

Variable Documentation

◆ conversion_frame

std::array<uint8_t, conversion_frame_size> drv::analog::anonymous_namespace{adc_task_function.cpp}::conversion_frame

◆ currents

CurrentsQueue::value_type drv::analog::anonymous_namespace{adc_task_function.cpp}::currents

◆ voltages

VoltagesQueue::value_type drv::analog::anonymous_namespace{adc_task_function.cpp}::voltages