DUNE: Uniform Navigational Environment  2020.01.0
Power::PCTLv2::Arguments Struct Reference

Detailed Description

Task arguments.

Public Attributes

std::string uart_dev
 
double adc_ref
 
std::string adc_messages [c_adcs_count]
 
std::string adc_elabels [c_adcs_count]
 
std::vector< double > adc_factors [c_adcs_count]
 
std::string pwr_names [c_pwrs_count]
 
unsigned pwr_states [c_pwrs_count]
 
std::string pwr_main
 
std::string leak_elabels [c_leak_count]
 
bool leak_medium [c_leak_count]
 
double wdog_tout
 
std::vector< uint8_t > chn_eme_state
 
double vol_min
 
double vol_wup
 
std::vector< std::string > leds
 

Member Data Documentation

std::string Power::PCTLv2::Arguments::adc_elabels[c_adcs_count]
std::vector<double> Power::PCTLv2::Arguments::adc_factors[c_adcs_count]
std::string Power::PCTLv2::Arguments::adc_messages[c_adcs_count]
double Power::PCTLv2::Arguments::adc_ref
std::vector<uint8_t> Power::PCTLv2::Arguments::chn_eme_state

Channel state: emergency.

Referenced by Power::PCTLv2::Task::Task(), and Power::PCTLv2::Task::updateEEPROM().

std::string Power::PCTLv2::Arguments::leak_elabels[c_leak_count]
bool Power::PCTLv2::Arguments::leak_medium[c_leak_count]

True if leak sensor is in fact a medium sensor.

Referenced by Power::PCTLv2::Task::setLeakStatus(), and Power::PCTLv2::Task::Task().

std::vector<std::string> Power::PCTLv2::Arguments::leds
std::string Power::PCTLv2::Arguments::pwr_main

Main power channel.

Referenced by Power::PCTLv2::Task::consume(), and Power::PCTLv2::Task::Task().

std::string Power::PCTLv2::Arguments::pwr_names[c_pwrs_count]
unsigned Power::PCTLv2::Arguments::pwr_states[c_pwrs_count]
std::string Power::PCTLv2::Arguments::uart_dev
double Power::PCTLv2::Arguments::vol_min

Minimum operating voltage.

Referenced by Power::PCTLv2::Task::Task(), and Power::PCTLv2::Task::updateEEPROM().

double Power::PCTLv2::Arguments::vol_wup
double Power::PCTLv2::Arguments::wdog_tout
Collaboration diagram for Power::PCTLv2::Arguments:
Collaboration graph