TLE92466ED Driver 2.0.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
tle92466ed::ChannelCurrentSample Struct 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.
 

Detailed Description

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.

Member Data Documentation

◆ iavg_ma

int32_t tle92466ed::ChannelCurrentSample::iavg_ma {0}

Signed average load current, milliamps.

◆ to_mant

uint16_t tle92466ed::ChannelCurrentSample::to_mant {0}

FB_DC TO_MANT — last PWM cycle on-time (not the average)

◆ tp_mant

uint16_t tle92466ed::ChannelCurrentSample::tp_mant {0}

FB_DC TP_MANT — the measurement window itself.

◆ window_valid

bool tle92466ed::ChannelCurrentSample::window_valid {false}

Both reads succeeded and TP_MANT is credible.


The documentation for this struct was generated from the following file: