Coulomb Counter Callbacks
Functions |
|
| void | emberAfPluginCoulombCounterInitCallback (uint8_t *nbAdditiveModes, uint16_t *additiveModeConsumption) |
|
Coulomb Counter Initializtion Callback.
|
|
| void | emberAfPluginCoulombCounterThresholdReachedCallback (uint32_t recordedEnergyConsumption) |
|
Coulomb Counter Threshold Callback.
|
|
Detailed Description
These callbacks are contributed by the Coulomb Counter plugin.
Function Documentation
◆ emberAfPluginCoulombCounterInitCallback()
| void emberAfPluginCoulombCounterInitCallback | ( | uint8_t * |
nbAdditiveModes,
|
| uint16_t * |
additiveModeConsumption
|
||
| ) |
Coulomb Counter Initializtion Callback.
Called when Coulomb Counter is initialized. Should be used to configure additional additive modes
- Parameters
-
nbAdditiveModesnumber of additive modes additiveModeConsumptionlocation to store current consumption for each mode
◆ emberAfPluginCoulombCounterThresholdReachedCallback()
| void emberAfPluginCoulombCounterThresholdReachedCallback | ( | uint32_t |
recordedEnergyConsumption
|
) |
Coulomb Counter Threshold Callback.
Called when Coulomb Counter threshold has been reached.