55 #ifndef FOXBMS__NXP_MC33775A_H_
56 #define FOXBMS__NXP_MC33775A_H_
119 uint8_t deviceAddress,
121 uint8_t writeDataLength,
123 uint8_t readDataLength);
136 #ifdef UNITY_UNIT_TEST
138 extern uint8_t TEST_N775_CheckReEntrance();
void TEST_N775_SetFirstMeasurementCycleFinished(N775_STATE_s *n775_state)
STD_RETURN_TYPE_e N775_I2cWriteRead(uint8_t module, uint8_t deviceAddress, uint8_t *pDataWrite, uint8_t writeDataLength, uint8_t *pDataRead, uint8_t readDataLength)
trigger a read on the I2C bus of the slave, first write address of register to read.
void N775_Meas(N775_STATE_s *n775_state)
trigger function for the N775 driver state machine.
N775_STATE_s n775_stateBase
STD_RETURN_TYPE_e N775_I2cRead(uint8_t module, uint8_t deviceAddress, uint8_t *pData, uint8_t dataLength)
trigger a read on the I2C bus of the slave.
STD_RETURN_TYPE_e N775_I2cWrite(uint8_t module, uint8_t deviceAddress, uint8_t *pData, uint8_t dataLength)
trigger a write on the I2C bus of the slave.
bool N775_IsFirstMeasurementCycleFinished(N775_STATE_s *n775_state)
gets the measurement initialization status.
Header for the configuration for the MC33775A analog front-end.