power-meter API Callbacks#
These callbacks were contributed by the power-meter API.
Functions#
Called upon the status change of over heat condition.
Called upon the status change of over current condition.
Called when calibration is complete.
Function Documentation#
halPowerMeterOverHeatStatusChangeCallback#
void halPowerMeterOverHeatStatusChangeCallback (uint8_t status)
Called upon the status change of over heat condition.
N/A | status | 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.
1485
of file ./app/ncp/doc/callback.doc
halPowerMeterOverCurrentStatusChangeCallback#
void halPowerMeterOverCurrentStatusChangeCallback (uint8_t status)
Called upon the status change of over current condition.
N/A | status | 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.
1497
of file ./app/ncp/doc/callback.doc
halPowerMeterCalibrationFinishedCallback#
void halPowerMeterCalibrationFinishedCallback (uint16_t gainSetting)
Called when calibration is complete.
N/A | gainSetting | gain setting |
This function is called upon a calibration procedure is done.
1508
of file ./app/ncp/doc/callback.doc