|
TLE92466ED Driver 2.0.0
API reference
|
Channel configuration structure. More...
#include <tle92466ed.hpp>
Public Attributes | |
| ChannelMode | mode {ChannelMode::ICC} |
| Channel operation mode. | |
| uint16_t | current_setpoint_ma {0} |
| Current setpoint in mA (0-2000 or 0-4000) | |
| SlewRate | slew_rate {SlewRate::MEDIUM_2V5_US} |
| Output slew rate. | |
| DiagCurrent | diag_current {DiagCurrent::I_80UA} |
| OFF-state diagnostic current. | |
| uint8_t | open_load_threshold {3} |
| OL threshold (0=disabled, 1-7 = 1/8 to 7/8) | |
| uint16_t | pwm_period_mantissa {0} |
| PWM period mantissa. | |
| uint8_t | pwm_period_exponent {0} |
| PWM period exponent. | |
| bool | auto_limit_disabled {false} |
| Disable auto-limit feature. | |
| bool | olsg_warning_enabled {false} |
| Enable OLSG warning. | |
| uint8_t | min_int_thresh {CH_CTRL_REG::MIN_INT_THRESH_FLOOR} |
| bool | pwm_period_calc_mode {false} |
| Ignore falling dither slopes in the PWM period controller (§4.6.2.3). | |
| bool | deep_dither_enabled {false} |
| Enable deep dither. | |
| uint16_t | dither_step_size {0} |
| Dither amplitude step size. | |
| uint8_t | dither_steps {0} |
| Number of dither steps. | |
| uint8_t | dither_flat {0} |
| Flat period steps. | |
Channel configuration structure.
Contains all configurable parameters for an output channel.
| bool tle92466ed::ChannelConfig::auto_limit_disabled {false} |
Disable auto-limit feature.
| uint16_t tle92466ed::ChannelConfig::current_setpoint_ma {0} |
Current setpoint in mA (0-2000 or 0-4000)
| bool tle92466ed::ChannelConfig::deep_dither_enabled {false} |
Enable deep dither.
| DiagCurrent tle92466ed::ChannelConfig::diag_current {DiagCurrent::I_80UA} |
OFF-state diagnostic current.
| uint8_t tle92466ed::ChannelConfig::dither_flat {0} |
Flat period steps.
| uint16_t tle92466ed::ChannelConfig::dither_step_size {0} |
Dither amplitude step size.
| uint8_t tle92466ed::ChannelConfig::dither_steps {0} |
Number of dither steps.
| uint8_t tle92466ed::ChannelConfig::min_int_thresh {CH_CTRL_REG::MIN_INT_THRESH_FLOOR} |
Minimum ICC integrator threshold (CTRL.MIN_INT_THRESH). Defaults to the datasheet §4.6.2.4 floor rather than the POR value of 0: at 0 the effective threshold can go negative and the power stage stops switching while the channel still reports enabled with its setpoint intact.
| ChannelMode tle92466ed::ChannelConfig::mode {ChannelMode::ICC} |
Channel operation mode.
| bool tle92466ed::ChannelConfig::olsg_warning_enabled {false} |
Enable OLSG warning.
| uint8_t tle92466ed::ChannelConfig::open_load_threshold {3} |
OL threshold (0=disabled, 1-7 = 1/8 to 7/8)
| bool tle92466ed::ChannelConfig::pwm_period_calc_mode {false} |
Ignore falling dither slopes in the PWM period controller (§4.6.2.3).
| uint8_t tle92466ed::ChannelConfig::pwm_period_exponent {0} |
PWM period exponent.
| uint16_t tle92466ed::ChannelConfig::pwm_period_mantissa {0} |
PWM period mantissa.
| SlewRate tle92466ed::ChannelConfig::slew_rate {SlewRate::MEDIUM_2V5_US} |
Output slew rate.