power-meter API Callbacks
Functions |
|
void | halPowerMeterOverHeatStatusChangeCallback (uint8_t status) |
Over Heat Callback.
|
|
void | halPowerMeterOverCurrentStatusChangeCallback (uint8_t status) |
Over Current Callback.
|
|
void | halPowerMeterCalibrationFinishedCallback (uint16_t gainSetting) |
Calibration Finished Callback.
|
Detailed Description
These callbacks were contributed by the power-meter API.
Function Documentation
void halPowerMeterCalibrationFinishedCallback | ( | uint16_t |
gainSetting
|
) |
This function is called upon a calibration procedure is done
- Parameters
-
gainSetting
gain setting
void halPowerMeterOverCurrentStatusChangeCallback | ( | uint8_t |
status
|
) |
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 occured.
void halPowerMeterOverHeatStatusChangeCallback | ( | uint8_t |
status
|
) |
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_CURRENT (1):over heat occured.