30 lines
770 B
C
30 lines
770 B
C
// Generator version : v3.1
|
|
// DBC filename : CCUdbg.dbc
|
|
#include "ccu_candb_dbg-binutil.h"
|
|
|
|
// DBC file version
|
|
#if (VER_CANDB_DBG_MAJ != (0U)) || (VER_CANDB_DBG_MIN != (0U))
|
|
#error The CCU_CANDB_DBG binutil source file has inconsistency with core dbc lib!
|
|
#endif
|
|
|
|
#ifdef __DEF_CCU_CANDB_DBG__
|
|
|
|
ccu_candb_dbg_rx_t ccu_candb_dbg_rx;
|
|
|
|
ccu_candb_dbg_tx_t ccu_candb_dbg_tx;
|
|
|
|
#endif // __DEF_CCU_CANDB_DBG__
|
|
|
|
uint32_t ccu_candb_dbg_Receive(ccu_candb_dbg_rx_t* _m, const uint8_t* _d, uint32_t _id, uint8_t dlc_)
|
|
{
|
|
uint32_t recid = 0;
|
|
if (_id == 0x400U) {
|
|
recid = Unpack_dbg_Cmd_Act_Information_candb_dbg(&(_m->dbg_Cmd_Act_Information), _d, dlc_);
|
|
} else if (_id == 0x6ABU) {
|
|
recid = Unpack_XCP_CCU_RX_candb_dbg(&(_m->XCP_CCU_RX), _d, dlc_);
|
|
}
|
|
|
|
return recid;
|
|
}
|
|
|