#define FAS_ASSERT(x)
Assertion macro that asserts that x is true.
enum STD_RETURN_TYPE STD_RETURN_TYPE_e
General macros and definitions for the whole platform.
Headers for the driver for the LTC monitoring chip.
bool LTC_IsFirstMeasurementCycleFinished(LTC_STATE_s *ltc_state)
gets the measurement initialization status.
LTC_RETURN_TYPE_e LTC_SetStateRequest(LTC_STATE_s *ltc_state, LTC_REQUEST_s statereq)
sets the current state request of the state variable ltc_state.
LTC_STATE_s ltc_stateBase
void LTC_Trigger(LTC_STATE_s *ltc_state)
trigger function for the LTC driver state machine.
void LTC_monitoringPinInit(void)
Sets the transceiver pins to enable LTC6820 IC.
@ LTC_STATE_EEPROM_READ_REQUEST
@ LTC_STATE_EEPROM_WRITE_REQUEST
@ LTC_STATE_OPENWIRE_CHECK_REQUEST
@ LTC_STATE_BALANCEFEEDBACK_REQUEST
@ LTC_STATE_TEMP_SENS_READ_REQUEST
STD_RETURN_TYPE_e MIC_RequestIoWrite(uint8_t string)
Makes the request to the MIC state machine to write to the IO port-expander.
STD_RETURN_TYPE_e MIC_Init(void)
STD_RETURN_TYPE_e MIC_RequestEepromWrite(uint8_t string)
Makes the request to the MIC state machine to write to the external EEPROM on slaves.
STD_RETURN_TYPE_e MIC_RequestOpenWireCheck(uint8_t string)
Makes the request to the MIC state machine to perform open-wire check.
bool MIC_IsFirstMeasurementCycleFinished(void)
Checks if the first MIC measurement cycle was made.
STD_RETURN_TYPE_e MIC_RequestBalancingFeedbackRead(uint8_t string)
Makes the request to the MIC state machine to read balancing feedback from the slaves.
STD_RETURN_TYPE_e MIC_StartMeasurement(void)
Makes the initialization request to the MIC state machine.
STD_RETURN_TYPE_e MIC_RequestEepromRead(uint8_t string)
Makes the request to the MIC state machine to read from the external EEPROM on slaves.
STD_RETURN_TYPE_e MIC_TriggerIc(void)
STD_RETURN_TYPE_e MIC_RequestIoRead(uint8_t string)
Makes the request to the MIC state machine to read from the IO port-expander.
STD_RETURN_TYPE_e MIC_RequestTemperatureRead(uint8_t string)
Makes the request to the MIC state machine to read from the external temperature sensor on slaves.
Measurement IC driver header.
LTC_STATE_REQUEST_e request