power-meter API Callbacks#

These callbacks were contributed by the power-meter API.

Functions#

void

Called upon the status change of over heat condition.

void

Called upon the status change of over current condition.

void

Called when calibration is complete.

Function Documentation#

halPowerMeterOverHeatStatusChangeCallback#

void halPowerMeterOverHeatStatusChangeCallback (uint8_t status)

Called upon the status change of over heat condition.

Parameters
N/Astatus

OVER_HEAT_TO_NORMAL (0):changed from over heat to normal; NORMAL_TO_OVER_HEAT (1):over heat occurred.

This function is called upon the status change of over heat condition.


Definition at line 1485 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/ncp/doc/callback.doc

halPowerMeterOverCurrentStatusChangeCallback#

void halPowerMeterOverCurrentStatusChangeCallback (uint8_t status)

Called upon the status change of over current condition.

Parameters
N/Astatus

OVER_CURRENT_TO_NORMAL (0):changed from over current to normal; NORMAL_TO_OVER_CURRENT (1):over current occurred.

This function is called upon the status change of over current condition.


Definition at line 1497 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/ncp/doc/callback.doc

halPowerMeterCalibrationFinishedCallback#

void halPowerMeterCalibrationFinishedCallback (uint16_t gainSetting)

Called when calibration is complete.

Parameters
N/AgainSetting

gain setting

This function is called upon a calibration procedure is done.


Definition at line 1508 of file /Users/vihuszar/Git/EmbeddedSoftware/super/protocol/zigbee/app/ncp/doc/callback.doc