1#include "../../../Inc/Systems/External/Imd.h"
2#include "../../../Inc/Systems/ExternalSystem.h"
9 IMD->IsoResistanceNeg = 0;
10 IMD->IsoResistancePos = 0;
11 IMD->IsoResistanceCorrected = 0;
27 return IMD->IMDStatus;
32 return IMD->IsoResistanceNeg;
37 return IMD->IsoResistancePos;
42 return IMD->IsoResistanceCorrected;
void initExternalSystem(ExternalSystem *external, const char *name, int hz, ExternalType type)
float getIsoResistancePos(void *imdValues)
Retrieves the positive isolation resistance value from the IMD values.
void initIMD(IMDValues *IMD, int hz)
Initializes the IMD with the specified frequency.
float getIsoResistanceNeg(void *imdValues)
Retrieves the negative isolation resistance value from the given IMD values.
float getIsoResistanceCorrected(void *imdValues)
Retrieves the positive isolation resistance value from the IMD values.
int getIMDStatus(void *imdValues, IMDStatus status)
Gets the status of the IMD.
void updateIMD(void *IMDValues)
Updates the IMD values.