|
TLE92466ED Driver 2.0.0
API 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) | |
Helper structure for critical fault frame flags.
Critical fault flags from bits 7:0 of critical fault reply frame. Per datasheet:
|
inlinestaticconstexprnoexcept |
Extract fault flags from critical fault frame.
| frame | Critical fault frame (reply_mode must be 10B) |
| bool tle92466ed::CriticalFaultFlags::adc_bandgap_ok |
Bit 5: ADC Bandgap OK (1=OK, 0=NOT OK)
| bool tle92466ed::CriticalFaultFlags::clk_too_fast |
Bit 3: Clock too fast (1=YES, 0=NO)
| bool tle92466ed::CriticalFaultFlags::clk_too_slow |
Bit 4: Clock too slow (1=YES, 0=NO)
| bool tle92466ed::CriticalFaultFlags::dig_clk_too_fast |
Bit 1: Digital clock too fast (1=YES, 0=NO)
| bool tle92466ed::CriticalFaultFlags::dig_clk_too_slow |
Bit 2: Digital clock too slow (1=YES, 0=NO)
| bool tle92466ed::CriticalFaultFlags::supply_1v5_ok |
Bit 7: 1V5 supply OK (1=OK, 0=NOT OK)
| bool tle92466ed::CriticalFaultFlags::supply_2v5_ok |
Bit 6: 2V5 supply OK (1=OK, 0=NOT OK)
| bool tle92466ed::CriticalFaultFlags::wd_ref_clk_missing |
Bit 0: Clock watchdog reference clock missing (1=MISSING, 0=OK)