CubeMon-Vue-Demo-STM32F407VGT6U
analogInput Struct Reference

Data Fields

uint8_t is_initialized
 set to 1 after successful initialization
 
uint32_t total
 helper variable for calculation of the average value
 
uint16_t count
 helper variable for calculation of the average value
 
uint16_t averaged_12b
 averaged value on ADC
 
uint16_t current_12b
 current value on ADC
 
uint16_t samples_to_average
 defined how many samples are to be averaged
 
uint16_t mx_voltage
 voltage on the analog input, calculated with analogInput::liner_fce
 
uint8_t mx_rewrites
 helper variable for CubeMonitor
 
uint16_t mx_value
 helper variable for CubeMonitor
 
liner_fce liner_fce
 function for calculation of mx_voltage from averaged_12b
 

The documentation for this struct was generated from the following file: