|
ESPHome 2026.11.0-dev
|
Everything that differs between models of the family. More...
#include <tas58xx.h>
Data Fields | |
| const LogString *(* | name )() |
| const uint8_t(* | startup_sequence )[2] |
| Remainder of the startup sequence, run after the reset, as {register, value} pairs in PROGMEM. | |
| uint8_t | startup_sequence_length |
| uint8_t | mixer_book |
| Location of the four 9.23 fixed point input mixer coefficients: LEFT_TO_LEFT, RIGHT_TO_LEFT, LEFT_TO_RIGHT, RIGHT_TO_RIGHT. | |
| uint8_t | mixer_page |
| uint8_t | mixer_register |
| uint32_t | fault_error_mask |
| Faults logged as errors and reported by have_fault. | |
| uint32_t | fault_warning_mask |
| Faults logged as warnings. | |
| uint32_t | fault_output_off_mask |
| Faults that keep the output off until cleared by activate() | |
| uint32_t | fault_latched_mask |
| Faults that stay set after the condition is gone and are cleared after each read. | |
| const LogString *(* | fault_name )(uint8_t index) |
| uint8_t | fault_sensor_bits [FAULT_SENSOR_COUNT] |
| Bit index for each FaultSensor, NO_BIT used where the model does not have that fault bit. | |
Everything that differs between models of the family.
One constant instance exists per model, see model_*.cpp, and each TAS58xx instance points to the one for its model.
Fault bits are packed into a 32 bit word: CHAN_FAULT, GLOBAL_FAULT1, GLOBAL_FAULT2 and OT_WARNING, one byte each, from low to high. A bit index is register * 8 + bit.
| uint32_t esphome::tas58xx::ModelInfo::fault_error_mask |
| uint32_t esphome::tas58xx::ModelInfo::fault_latched_mask |
| const LogString *(* esphome::tas58xx::ModelInfo::fault_name) (uint8_t index) |
| uint32_t esphome::tas58xx::ModelInfo::fault_output_off_mask |
| uint8_t esphome::tas58xx::ModelInfo::fault_sensor_bits[FAULT_SENSOR_COUNT] |
| uint32_t esphome::tas58xx::ModelInfo::fault_warning_mask |
| uint8_t esphome::tas58xx::ModelInfo::mixer_book |
| const uint8_t(* esphome::tas58xx::ModelInfo::startup_sequence)[2] |
| uint8_t esphome::tas58xx::ModelInfo::startup_sequence_length |