Class Module

Inheritance Relationships

Derived Types

Class Documentation

class Module

Subclassed by AInput12Module, AInput7Relay2Module, DInput10Module, DInput2Relay1Temp2Module, DInput5Relay2Module, EnergyMeter3Module, LevelMeter5_4_VR_420Module, Relay8Module

Public Functions

void whoIs()

Public Static Functions

static uint8_t maskToInput(const uint16_t input_mask, const uint8_t max)
static std::vector<int> maskToInputs(const uint16_t mask)

Protected Functions

Module()
~Module()
EmodRet init(const ModuleType module_type, const ModuleCallback_Type &callback_func, void *const callback_context, const uint8_t module_variant = 1)
EmodRet initFunctionParams(const bool unsubscribe = false)
inline int8_t getIdBus()
inline void setIdBus(const int8_t id_bus)
EmodRet configEvent(const EventTriggerCondition condition, const std::vector<int> &id_funcs, const uint32_t param_1 = 0, const uint32_t param_2 = 0)
EmodRet configEvent(const EventTriggerCondition condition, const uint16_t mask, const uint8_t max_id, const uint8_t id_offset, const uint32_t param_1 = 0, const uint32_t param_2 = 0)
EmodRet resetEventConfig(void)