...
Responsible for interfacing with all daisy-chained LTC chips, and create aux and cell conversions
FSM Structure:
States:
LTC_AFE_IDLE
LTC_AFE_TRIGGER_CELL_CONV
LTC_AFE_READ_CELLS
LTC_AFE_TRIGGER_AUX_CONV
LTC_AFE_READ_AUX
LTC_AUX_COMPLETE
Transitions:
LTC_AFE_IDLE → LTC_AFE_TRIGGER_CELL_CONV, LTC_AFE_IDLE → LTC_AFE_TRIGGER_AUX_CONV
LTC_AFE_TRIGGER_CELL_CONV → LTC_AFE_READ_CELLS, LTC_AFE_TRIGGER_CELL_CONV → LTC_AFE_IDLE
LTC_AFE_READ_CELLS → LTC_AFE_IDLE, LTC_AFE_READ_CELLS → LTC_AFE_READ_CELLS
LTC_AFE_TRIGGER_AUX_CONV → LTC_AFE_READ_AUX, LTC_AFE_TRIGGER_AUX_CONV → LTC_AFE_IDLE
LTC_AFE_READ_AUX → LTC_AFE_AUX_COMPLETE, LTC_AFE_READ_AUX → LTC_AFE_READ_AUX, LTC_AFE_READ_AUX → LTC_AFE_TRIGGER_AUX_CONV, LTC_AFE_READ_AUX → LTC_AFE_IDLE
LTC_AFE_AUX_COMPLETE → LTC_AFE_IDLE