 |
MCUSW
|
Go to the documentation of this file.
106 #define CAN_VARIANT_PRE_COMPILE (STD_ON)
115 #define CAN_ISR_VOID (0x00U)
117 #define CAN_ISR_CAT1 (0x01U)
119 #define CAN_ISR_CAT2 (0x02U)
128 #define CAN_VERSION_INFO_API (STD_ON)
131 #define CAN_DEV_ERROR_DETECT (STD_ON)
134 #define CAN_SAFETY_DIAGNOSTIC (STD_ON)
137 #define CAN_LOOPBACK_ENABLE (STD_ON)
140 #define CAN_REGISTER_READBACK_API (STD_ON)
143 #define CAN_SET_BAUDRATE_API (STD_ON)
146 #define CAN_WAKEUP_FUNCTIONALITY_API (STD_OFF)
149 #define CAN_MULTIPLEXED_TRANSMISSION_ENABLE (STD_ON)
157 #define CAN_INIT_CONFIG_PC CanConfigSet
165 #define CAN_TX_POLLING (STD_OFF)
167 #define CAN_RX_POLLING (STD_OFF)
169 #define CAN_BUSOFF_POLLING (STD_OFF)
171 #define CAN_WAKEUP_POLLING (STD_OFF)
176 #define CAN_NUM_CONTROLLER (3U)
179 #define CAN_NUM_MAILBOXES (9U)
182 #define CAN_MAX_CONTROLLER (16U)
185 #define CAN_MAX_MAILBOXES (64U)
188 #define CAN_ISR_TYPE (CAN_ISR_CAT1)
191 #define CLK_CAN_FD_FREQ (80U)
200 #define CanConf_CanController_CanController_0 (0U)
201 #define CanConf_CanController_CanController_1 (1U)
202 #define CanConf_CanController_CanController_2 (2U)
208 #define CAN_CONTROLLER_MCU_MCAN0
211 #define CAN_CONTROLLER_MCU_MCAN1
214 #define CAN_CONTROLLER_MCAN0
303 #define CanConf_CanHardwareObject_CanHardwareObject_0 (0U)
304 #define CAN_HTRH_0 (CanConf_CanHardwareObject_CanHardwareObject_0)
306 #define CanConf_CanHardwareObject_CanHardwareObject_1 (1U)
307 #define CAN_HTRH_1 (CanConf_CanHardwareObject_CanHardwareObject_1)
309 #define CanConf_CanHardwareObject_CanHardwareObject_2 (2U)
310 #define CAN_HTRH_2 (CanConf_CanHardwareObject_CanHardwareObject_2)
312 #define CanConf_CanHardwareObject_CanHardwareObject_3 (3U)
313 #define CAN_HTRH_3 (CanConf_CanHardwareObject_CanHardwareObject_3)
315 #define CanConf_CanHardwareObject_CanHardwareObject_4 (4U)
316 #define CAN_HTRH_4 (CanConf_CanHardwareObject_CanHardwareObject_4)
318 #define CanConf_CanHardwareObject_CanHardwareObject_5 (5U)
319 #define CAN_HTRH_5 (CanConf_CanHardwareObject_CanHardwareObject_5)
321 #define CanConf_CanHardwareObject_CanHardwareObject_6 (6U)
322 #define CAN_HTRH_6 (CanConf_CanHardwareObject_CanHardwareObject_6)
324 #define CanConf_CanHardwareObject_CanHardwareObject_7 (7U)
325 #define CAN_HTRH_7 (CanConf_CanHardwareObject_CanHardwareObject_7)
327 #define CanConf_CanHardwareObject_CanHardwareObject_8 (8U)
328 #define CAN_HTRH_8 (CanConf_CanHardwareObject_CanHardwareObject_8)
335 #define CAN_OS_COUNTER_ID ((CounterType)OsCounter_0)
342 #define CAN_TIMEOUT_DURATION (10000U)
351 #ifndef CAN_E_HARDWARE_ERROR
353 #define CAN_E_HARDWARE_ERROR (DemConf_DemEventParameter_CAN_E_HARDWARE_ERROR)
377 extern const struct Can_ControllerStruct_PC
381 extern const struct Can_MailboxStruct_PC
413 extern CONST(uint32, CAN_CONST)
416 extern CONST(uint32, CAN_CONST)
419 extern CONST(uint32, CAN_CONST)
427 FUNC(
void, CAN_CODE) Can_0_Int0ISR(
void);
435 FUNC(
void, CAN_CODE) Can_1_Int0ISR(
void);
443 FUNC(
void, CAN_CODE) Can_2_Int0ISR(
void);
CONST(uint32, CAN_CONST) Can_MsgmemRAMBaseAddr[CAN_MAX_CONTROLLER]
Base Address of the can peripherals.
const struct Can_MailboxStruct_PC * CanConfigSet_CanHardwareObject_List_PC[CAN_NUM_MAILBOXES]
CAN Mailbox Pre Compile Configuration List.
Can_ControllerInstance
Can Controller Instances enum.
Definition: Can_Cfg.h:391
@ CAN_CONTROLLER_INSTANCE_MCAN0
Definition: Can_Cfg.h:401
#define CAN_NUM_CONTROLLER
Definition: Can_Cfg.h:176
const struct Can_ControllerStruct_PC * CanConfigSet_CanController_List_PC[CAN_NUM_CONTROLLER]
CAN Controller Pre Compile Configuration List.
const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_0
CAN Controller Configuration Pre Compile struct declaration.
const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_2
CAN Controller Configuration Pre Compile struct declaration.
@ CAN_CONTROLLER_INSTANCE_MCU_MCAN1
Definition: Can_Cfg.h:396
@ CAN_CONTROLLER_INSTANCE_MCU_MCAN0
Definition: Can_Cfg.h:392
#define CAN_NUM_MAILBOXES
Definition: Can_Cfg.h:179
FUNC(void, CAN_CODE) Can_GetVersionInfo(P2VAR(Std_VersionInfoType
Function returns the version information of this module.
const struct Can_ControllerStruct_PC CanConfigSet_PC_CanController_1
CAN Controller Configuration Pre Compile struct declaration.
const struct Can_ConfigType_s CanConfigSet
CAN Configuration struct declaration.
#define CAN_MAX_CONTROLLER
Definition: Can_Cfg.h:182