//***************************************************************************** // (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 Can.h /// /// \brief Public interface of Can /// /// \descr CAN driver /// //----------------------------------------------------------------------------- #ifndef __CAN_H_2019_05_17__ #define __CAN_H_2019_05_17__ //============================================================================= // Includes //============================================================================= #define CAN_MAC_DECL_ENUM #include #undef CAN_MAC_DECL_ENUM #include // usage in C++ projects #ifdef __cplusplus extern "C" { #endif //============================================================================= // Public functions declaration //============================================================================= void CddMlcCan_Init(const can_config_type* ConfigPtr); boolean CddMlcCan_SendMsg(uint8 ActiveChannel, can_handle_type tx_handle, uint32 ExtId, uint32 Extdlc, const uint8* data) ; void CddMlcCan_ReceiveMsg(void) ; // usage in C++ projects #ifdef __cplusplus } #endif #endif // __CAN_H_2019_05_17__