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
gainSettinggain 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
statusOVER_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
statusOVER_HEAT_TO_NORMAL (0):changed from over heat to normal; NORMAL_TO_OVER_HEAT (1):over heat occurred.