#if !defined (CAN_SM_CFG_H)
#define CAN_SM_CFG_H

#include "ComTypes.h"
//#include "canhl.h"
/*----------------------------------------------------------------------------------

                                    模块配置项开始

-----------------------------------------------------------------------------------*/
#define CANSM_MAINFUCTION_CALL_CYCLE  1u  /*ms*/

#define CANSM_BATT_POWERON_MODE       0  

#define CANSM_CAN_INIT       COM_STD_ON
#define CANSM_TRCV_INIT      COM_STD_ON
#define CANSM_CANIF_INIT     COM_STD_ON
#define CANSM_CANTP_INIT     COM_STD_ON
#define CANSM_CANSM_INIT     COM_STD_ON

extern void CanSM_EnterCritical(void);
extern void CanSM_LeaveCritical(void);
/*----------------------------------------------------------------------------------

                                    模块配置项结束

-----------------------------------------------------------------------------------*/

typedef unsigned int        CanSM_BorTimerType;

typedef struct
{
	CanSM_BorTimerType      eCanSM_BorFastTimer;
	
}CanSM_ConfigType;
extern const CanSM_ConfigType TeCanSM_h_Config; 
#define CANSM_CFG_GENERIC(field)  (TeCanSM_h_Config.field)
#endif


