Functions

void halPowerMeterOverHeatStatusChangeCallback (uint8_t status)
Called upon the status change of over heat condition.
void halPowerMeterOverCurrentStatusChangeCallback (uint8_t status)
Called upon the status change of over current condition.
void halPowerMeterCalibrationFinishedCallback (uint16_t gainSetting)
Called when calibration is complete.

Detailed Description

These callbacks were contributed by the power-meter API.

Function Documentation

void halPowerMeterCalibrationFinishedCallback ( uint16_t gainSetting )

Called when calibration is complete.

This function is called upon a calibration procedure is done.

Parameters
gainSetting gain setting
void halPowerMeterOverCurrentStatusChangeCallback ( uint8_t status )

Called upon the status change of over current condition.

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

Parameters
status OVER_CURRENT_TO_NORMAL (0):changed from over current to normal; NORMAL_TO_OVER_CURRENT (1):over current occurred.
void halPowerMeterOverHeatStatusChangeCallback ( uint8_t status )

Called upon the status change of over heat condition.

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

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