Typedef LevelMeter6_3ModuleCallback_Type

Typedef Documentation

typedef void (*LevelMeter6_3ModuleCallback_Type)(const uint8_t meter_num, const uint8_t new_status, void *const ctx)

Callback function type, for the configOnNewDataEvent (see below).

Parameters
  • meter_num -- [in] mumber of the input sensor from 1 to 8, that triggers a new data event.

  • new_status -- [in] new status from the meter_num input sensor, indicating: 0 = sensor is not detecting; or 1 = sensor detection.