MCUSW
Can_Cfg.h File Reference

Introduction

This file contains generated pre compile configuration file for CAN MCAL driver.

Go to the source code of this file.

Macros

#define CAN_VARIANT_PRE_COMPILE   (STD_ON)
 CAN Build Variant. Build variants.(i.e Pre Compile,Post Build) More...
 
#define CAN_NUM_CONTROLLER   (3U)
 
#define CAN_NUM_MAILBOXES   (9U)
 
#define CAN_MAX_CONTROLLER   (16U)
 
#define CAN_MAX_MAILBOXES   (64U)
 
#define CAN_ISR_TYPE   (CAN_ISR_CAT1)
 
#define CLK_CAN_FD_FREQ   (80U)
 
#define CAN_CONTROLLER_MCU_MCAN0
 
#define CAN_CONTROLLER_MCU_MCAN1
 
#define CAN_CONTROLLER_MCAN0
 
#define CAN_OS_COUNTER_ID   ((CounterType)OsCounter_0)
 Counter ID for counter used to count wait ticks. More...
 
#define CAN_TIMEOUT_DURATION   (10000U)
 CAN timeout - used in CAN IFCMD busy wait and Start/Stop busy wait. Specifies the maximum time for blocking function until a timeout is detected. Unit is milli seconds. More...
 
Can Driver Configuration SW Version Info

Pre-compile switches for enabling/disabling CAN MCAL APIs

#define CAN_VERSION_INFO_API   (STD_ON)
 
#define CAN_DEV_ERROR_DETECT   (STD_ON)
 
#define CAN_LOOPBACK_ENABLE   (STD_ON)
 
#define CAN_REGISTER_READBACK_API   (STD_ON)
 
#define CAN_WAKEUP_FUNCTIONALITY_API   (STD_OFF)
 
#define CAN_MULTIPLEXED_TRANSMISSION_ENABLE   (STD_ON)
 
#define CAN_INIT_CONFIG_PC   CanConfigSet
 Pre Compile config macro name. More...
 
#define CAN_TX_POLLING   (STD_OFF)
 
#define CAN_RX_POLLING   (STD_OFF)
 
#define CAN_BUSOFF_POLLING   (STD_OFF)
 
#define CAN_WAKEUP_POLLING   (STD_OFF)
 
Can Controller Id names

Defines for symbolic names for the CanControllerIds

#define CanConf_CanController_CanController_0   (0U)
 
#define CanConf_CanController_CanController_1   (1U)
 
#define CanConf_CanController_CanController_2   (2U)
 
Can HW Object names

Defines for symbolic names for the CanHardwareObjectIds

#define CanConf_CanHardwareObject_CanHardwareObject_0   (0U)
 
#define CAN_HTRH_0   (CanConf_CanHardwareObject_CanHardwareObject_0)
 
#define CanConf_CanHardwareObject_CanHardwareObject_1   (1U)
 
#define CAN_HTRH_1   (CanConf_CanHardwareObject_CanHardwareObject_1)
 
#define CanConf_CanHardwareObject_CanHardwareObject_2   (2U)
 
#define CAN_HTRH_2   (CanConf_CanHardwareObject_CanHardwareObject_2)
 
#define CanConf_CanHardwareObject_CanHardwareObject_3   (3U)
 
#define CAN_HTRH_3   (CanConf_CanHardwareObject_CanHardwareObject_3)
 
#define CanConf_CanHardwareObject_CanHardwareObject_4   (4U)
 
#define CAN_HTRH_4   (CanConf_CanHardwareObject_CanHardwareObject_4)
 
#define CanConf_CanHardwareObject_CanHardwareObject_5   (5U)
 
#define CAN_HTRH_5   (CanConf_CanHardwareObject_CanHardwareObject_5)
 
#define CanConf_CanHardwareObject_CanHardwareObject_6   (6U)
 
#define CAN_HTRH_6   (CanConf_CanHardwareObject_CanHardwareObject_6)
 
#define CanConf_CanHardwareObject_CanHardwareObject_7   (7U)
 
#define CAN_HTRH_7   (CanConf_CanHardwareObject_CanHardwareObject_7)
 
#define CanConf_CanHardwareObject_CanHardwareObject_8   (8U)
 
#define CAN_HTRH_8   (CanConf_CanHardwareObject_CanHardwareObject_8)
 
CAN DEM Error codes to report

Pre-compile switches for enabling/disabling DEM events

#define DemConf_DemEventParameter_CAN_DEM_NO_EVENT   (0xFFFFU)
 
#define CAN_DEM_NO_EVENT   DemConf_DemEventParameter_CAN_DEM_NO_EVENT
 
#define CAN_E_HARDWARE_ERROR   (DemConf_DemEventParameter_CAN_E_HARDWARE_ERROR)
 Hardware failed. More...
 

Variables

const struct Can_ConfigType_s CanConfigSet
 CAN Configuration struct declaration. More...
 
const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_0
 CAN Controller Configuration Pre Compile struct declaration. More...
 
const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_1
 CAN Controller Configuration Pre Compile struct declaration. More...
 
const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_2
 CAN Controller Configuration Pre Compile struct declaration. More...
 
const struct Can_ControllerStruct_PC * CanConfigSet_CanController_List_PC [CAN_NUM_CONTROLLER]
 CAN Controller Pre Compile Configuration List. More...
 
const struct Can_MailboxStruct_PC * CanConfigSet_CanHardwareObject_List_PC [CAN_NUM_MAILBOXES]
 CAN Mailbox Pre Compile Configuration List. More...
 

Macro Definition Documentation

◆ CAN_CONTROLLER_MCU_MCAN0

#define CAN_CONTROLLER_MCU_MCAN0

< MCU_MCAN0 CONTROLLER INSTANCE MCU_MCAN1 CONTROLLER INSTANCE

◆ CAN_CONTROLLER_MCU_MCAN1

#define CAN_CONTROLLER_MCU_MCAN1

MCAN0 CONTROLLER INSTANCE

◆ CAN_CONTROLLER_MCAN0

#define CAN_CONTROLLER_MCAN0

◆ CanConf_CanHardwareObject_CanHardwareObject_0

#define CanConf_CanHardwareObject_CanHardwareObject_0   (0U)

◆ CAN_HTRH_0

◆ CanConf_CanHardwareObject_CanHardwareObject_1

#define CanConf_CanHardwareObject_CanHardwareObject_1   (1U)

◆ CAN_HTRH_1

◆ CanConf_CanHardwareObject_CanHardwareObject_2

#define CanConf_CanHardwareObject_CanHardwareObject_2   (2U)

◆ CAN_HTRH_2

◆ CanConf_CanHardwareObject_CanHardwareObject_3

#define CanConf_CanHardwareObject_CanHardwareObject_3   (3U)

◆ CAN_HTRH_3

◆ CanConf_CanHardwareObject_CanHardwareObject_4

#define CanConf_CanHardwareObject_CanHardwareObject_4   (4U)

◆ CAN_HTRH_4

◆ CanConf_CanHardwareObject_CanHardwareObject_5

#define CanConf_CanHardwareObject_CanHardwareObject_5   (5U)

◆ CAN_HTRH_5

◆ CanConf_CanHardwareObject_CanHardwareObject_6

#define CanConf_CanHardwareObject_CanHardwareObject_6   (6U)

◆ CAN_HTRH_6

◆ CanConf_CanHardwareObject_CanHardwareObject_7

#define CanConf_CanHardwareObject_CanHardwareObject_7   (7U)

◆ CAN_HTRH_7

◆ CanConf_CanHardwareObject_CanHardwareObject_8

#define CanConf_CanHardwareObject_CanHardwareObject_8   (8U)

◆ CAN_HTRH_8

◆ CAN_OS_COUNTER_ID

#define CAN_OS_COUNTER_ID   ((CounterType)OsCounter_0)

Counter ID for counter used to count wait ticks.

◆ CAN_TIMEOUT_DURATION

#define CAN_TIMEOUT_DURATION   (10000U)

CAN timeout - used in CAN IFCMD busy wait and Start/Stop busy wait. Specifies the maximum time for blocking function until a timeout is detected. Unit is milli seconds.

◆ DemConf_DemEventParameter_CAN_DEM_NO_EVENT

#define DemConf_DemEventParameter_CAN_DEM_NO_EVENT   (0xFFFFU)

◆ CAN_DEM_NO_EVENT

#define CAN_DEM_NO_EVENT   DemConf_DemEventParameter_CAN_DEM_NO_EVENT

◆ CAN_E_HARDWARE_ERROR

#define CAN_E_HARDWARE_ERROR   (DemConf_DemEventParameter_CAN_E_HARDWARE_ERROR)

Hardware failed.

Variable Documentation

◆ CanConfigSet

const struct Can_ConfigType_s CanConfigSet

CAN Configuration struct declaration.

◆ CanConfigSet_PC_CanController_0

const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_0

CAN Controller Configuration Pre Compile struct declaration.

◆ CanConfigSet_PC_CanController_1

const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_1

CAN Controller Configuration Pre Compile struct declaration.

◆ CanConfigSet_PC_CanController_2

const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_2

CAN Controller Configuration Pre Compile struct declaration.

◆ CanConfigSet_CanController_List_PC

const struct Can_ControllerStruct_PC* CanConfigSet_CanController_List_PC[CAN_NUM_CONTROLLER]

CAN Controller Pre Compile Configuration List.

◆ CanConfigSet_CanHardwareObject_List_PC

const struct Can_MailboxStruct_PC* CanConfigSet_CanHardwareObject_List_PC[CAN_NUM_MAILBOXES]

CAN Mailbox Pre Compile Configuration List.