|
TLE92466ED Driver 2.0.0
API reference
|
One channel's decoded average current from a batched freeze/read. More...
#include <tle92466ed.hpp>
Public Attributes | |
| int32_t | iavg_ma {0} |
| Signed average load current, milliamps. | |
| uint16_t | tp_mant {0} |
| FB_DC TP_MANT — the measurement window itself. | |
| uint16_t | to_mant {0} |
| FB_DC TO_MANT — last PWM cycle on-time (not the average) | |
| bool | window_valid {false} |
| Both reads succeeded and TP_MANT is credible. | |
One channel's decoded average current from a batched freeze/read.
Decoded from the FB_I_AVG / FB_DC mantissa ratio (datasheet Equation 22), which is the path §4.10.6 requires for current supervision.
| int32_t tle92466ed::ChannelCurrentSample::iavg_ma {0} |
Signed average load current, milliamps.
| uint16_t tle92466ed::ChannelCurrentSample::to_mant {0} |
FB_DC TO_MANT — last PWM cycle on-time (not the average)
| uint16_t tle92466ed::ChannelCurrentSample::tp_mant {0} |
FB_DC TP_MANT — the measurement window itself.
| bool tle92466ed::ChannelCurrentSample::window_valid {false} |
Both reads succeeded and TP_MANT is credible.