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

Helper structure for critical fault frame flags. More...

#include <tle92466ed_spi_interface.hpp>

Static Public Member Functions

static constexpr CriticalFaultFlags Extract (const SPIFrame &frame) noexcept
 Extract fault flags from critical fault frame.
 

Public Attributes

bool wd_ref_clk_missing: 1
 Bit 0: Clock watchdog reference clock missing (1=MISSING, 0=OK)
 
bool dig_clk_too_fast: 1
 Bit 1: Digital clock too fast (1=YES, 0=NO)
 
bool dig_clk_too_slow: 1
 Bit 2: Digital clock too slow (1=YES, 0=NO)
 
bool clk_too_fast: 1
 Bit 3: Clock too fast (1=YES, 0=NO)
 
bool clk_too_slow: 1
 Bit 4: Clock too slow (1=YES, 0=NO)
 
bool adc_bandgap_ok: 1
 Bit 5: ADC Bandgap OK (1=OK, 0=NOT OK)
 
bool supply_2v5_ok: 1
 Bit 6: 2V5 supply OK (1=OK, 0=NOT OK)
 
bool supply_1v5_ok: 1
 Bit 7: 1V5 supply OK (1=OK, 0=NOT OK)
 

Detailed Description

Helper structure for critical fault frame flags.

Critical fault flags from bits 7:0 of critical fault reply frame. Per datasheet:

Member Function Documentation

◆ Extract()

static constexpr CriticalFaultFlags tle92466ed::CriticalFaultFlags::Extract ( const SPIFrame &  frame)
inlinestaticconstexprnoexcept

Extract fault flags from critical fault frame.

Parameters
frameCritical fault frame (reply_mode must be 10B)
Returns
CriticalFaultFlags structure

Member Data Documentation

◆ adc_bandgap_ok

bool tle92466ed::CriticalFaultFlags::adc_bandgap_ok

Bit 5: ADC Bandgap OK (1=OK, 0=NOT OK)

◆ clk_too_fast

bool tle92466ed::CriticalFaultFlags::clk_too_fast

Bit 3: Clock too fast (1=YES, 0=NO)

◆ clk_too_slow

bool tle92466ed::CriticalFaultFlags::clk_too_slow

Bit 4: Clock too slow (1=YES, 0=NO)

◆ dig_clk_too_fast

bool tle92466ed::CriticalFaultFlags::dig_clk_too_fast

Bit 1: Digital clock too fast (1=YES, 0=NO)

◆ dig_clk_too_slow

bool tle92466ed::CriticalFaultFlags::dig_clk_too_slow

Bit 2: Digital clock too slow (1=YES, 0=NO)

◆ supply_1v5_ok

bool tle92466ed::CriticalFaultFlags::supply_1v5_ok

Bit 7: 1V5 supply OK (1=OK, 0=NOT OK)

◆ supply_2v5_ok

bool tle92466ed::CriticalFaultFlags::supply_2v5_ok

Bit 6: 2V5 supply OK (1=OK, 0=NOT OK)

◆ wd_ref_clk_missing

bool tle92466ed::CriticalFaultFlags::wd_ref_clk_missing

Bit 0: Clock watchdog reference clock missing (1=MISSING, 0=OK)


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