Functions | |
EM_message_code | EM_configureEnergyMeasurement (EM_SW_Lib_Config_Handle *config, EM_SW_Lib_Result_Handle *result) |
The following API initializes the variables needed by the library at run time. This includes the G constant value used for the IIR filter, 1 over sample count and 1 / (3600 * sampling frequency) which are used to calculate metrology results. This function also checks for configuration errors. More... | |
void | EM_initDCFilters (EM_SW_Lib_Config_Handle *config, EM_SW_Lib_Result_Handle *result) |
The following API initializes the voltage / current DC filters to 0. More... | |
EM_message_code EM_configureEnergyMeasurement | ( | EM_SW_Lib_Config_Handle * | config, |
EM_SW_Lib_Result_Handle * | result | ||
) |
The following API initializes the variables needed by the library at run time. This includes the G constant value used for the IIR filter, 1 over sample count and 1 / (3600 * sampling frequency) which are used to calculate metrology results. This function also checks for configuration errors.
[in] | config | is a pointer to the EM SW Library user configuration |
[in] | result | is a pointer to the EM SW Result configuration |
void EM_initDCFilters | ( | EM_SW_Lib_Config_Handle * | config, |
EM_SW_Lib_Result_Handle * | result | ||
) |
The following API initializes the voltage / current DC filters to 0.
[in] | config | is a pointer to the EM SW Library user configuration |
[in] | result | is a pointer to the EM SW Result configuration |