//***************************************************************************** // (C) Automotive Lighting Reutlingen GmbH // Tuebinger Strasse 123, 72762 Reutlingen, Germany // // Automotive Lighting Reutlingen GmbH owns all the rights to this work. // This work shall not be copied, reproduced, used, modified, transferred // or its information shall not be disclosed without the prior written // authorization of Automotive Lighting Reutlingen GmbH. //***************************************************************************** //----------------------------------------------------------------------------- /// \file CddMlcNxp.h /// /// \brief CddMlcNxp Header file. /// /// \descr /// //----------------------------------------------------------------------------- #ifndef __CDDMLCNXP_H_24_09_2020__ #define __CDDMLCNXP_H_24_09_2020__ //============================================================================= // Includes //============================================================================= #include #include #include #include //============================================================================= // Public Typedefs //============================================================================= //============================================================================= // Public functions declaration //============================================================================= void CddMlcNxp_Init(void); void CddMlcNxp_Cycle(void); void CddMlcNxp_SetTransmissionToInactive(void); void CddMlcNxp_SetTransmissionToNormal(void); void CddMlcNxp_GetSensorInfo(tisMlcSensorInput* pucExtResistor , uint8 ucDevCnt); void CddMlcNxp_GetSwitchsFault(tsCddMlcSwitchFaultArray asSwitchFaultArray, uint8 ucDevCnt, uint8 ucSwitchCnt); void CddMlcNxp_GetDeviceStatusFault(tsCddMlcDeviceStatusFault* pusDevStatusFault, uint8 ucDevCnt); boolean CddMlcNxp_GetBusComError (void); boolean CddMlcNxp_RegWriteRequest(uint8 ucDev, uint8 ucReg, uint8 ucData); boolean CddMlcNxp_RegReadRequest(uint8 ucDev, uint8 ucReg); boolean CddMlcNxp_GetRegRead(uint8* ucVal); //Can Callback -> Function called by can driver to provide received data void CddMlcNxp_ReceivedResponse(uint32 canRxch, uint8* data, uint8 dlc); //Function must be removed and use right RTE interface uint16* CddMlcNxp_GetTargetBufAddress(void); #endif // __CDDMLCNXP_H_24_09_2020__