TLE92466ED Driver 2.0.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
tle92466ed::GlobalConfig Struct Reference

Global configuration structure. More...

#include <tle92466ed.hpp>

Public Attributes

bool crc_enabled {false}
 Enable CRC checking (GLOBAL_CONFIG.CRC_EN)
 
bool spi_watchdog_enabled {false}
 Enable SPI watchdog (GLOBAL_CONFIG.SPI_WD_EN)
 
bool clock_watchdog_enabled {true}
 Enable clock watchdog (GLOBAL_CONFIG.CLK_WD_EN)
 
bool vio_5v {false}
 VIO voltage (false=3.3V, true=5.0V)
 
float vbat_uv_voltage {7.0F}
 VBAT UV threshold voltage in volts.
 
float vbat_ov_voltage {40.0F}
 VBAT OV threshold voltage in volts.
 
uint16_t spi_watchdog_reload {1000}
 SPI watchdog reload value (WD_RELOAD)
 

Detailed Description

Global configuration structure.

The defaults are the configuration Init() writes, so ConfigureGlobal(GlobalConfig{}) changes nothing: CRC check and SPI watchdog off, clock watchdog on, 3.3 V VIO thresholds, VBAT 7 V / 40 V. Turn crc_enabled and spi_watchdog_enabled on explicitly once the bus is proven; with the SPI watchdog on, ReloadSpiWatchdog() must run before WD_TIME expires (datasheet 5.2.2).

Member Data Documentation

◆ clock_watchdog_enabled

bool tle92466ed::GlobalConfig::clock_watchdog_enabled {true}

Enable clock watchdog (GLOBAL_CONFIG.CLK_WD_EN)

◆ crc_enabled

bool tle92466ed::GlobalConfig::crc_enabled {false}

Enable CRC checking (GLOBAL_CONFIG.CRC_EN)

◆ spi_watchdog_enabled

bool tle92466ed::GlobalConfig::spi_watchdog_enabled {false}

Enable SPI watchdog (GLOBAL_CONFIG.SPI_WD_EN)

◆ spi_watchdog_reload

uint16_t tle92466ed::GlobalConfig::spi_watchdog_reload {1000}

SPI watchdog reload value (WD_RELOAD)

◆ vbat_ov_voltage

float tle92466ed::GlobalConfig::vbat_ov_voltage {40.0F}

VBAT OV threshold voltage in volts.

◆ vbat_uv_voltage

float tle92466ed::GlobalConfig::vbat_uv_voltage {7.0F}

VBAT UV threshold voltage in volts.

◆ vio_5v

bool tle92466ed::GlobalConfig::vio_5v {false}

VIO voltage (false=3.3V, true=5.0V)


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