MCUSW
Can.h
Go to the documentation of this file.
1 /*
2 *
3 * Copyright (c) 2019 Texas Instruments Incorporated
4 *
5 * All rights reserved not granted herein.
6 *
7 * Limited License.
8 *
9 * Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
10 * license under copyrights and patents it now or hereafter owns or controls to make,
11 * have made, use, import, offer to sell and sell ("Utilize") this software subject to the
12 * terms herein. With respect to the foregoing patent license, such license is granted
13 * solely to the extent that any such patent is necessary to Utilize the software alone.
14 * The patent license shall not apply to any combinations which include this software,
15 * other than combinations with devices manufactured by or for TI ("TI Devices").
16 * No hardware patent is licensed hereunder.
17 *
18 * Redistributions must preserve existing copyright notices and reproduce this license
19 * (including the above copyright notice and the disclaimer and (if applicable) source
20 * code license limitations below) in the documentation and/or other materials provided
21 * with the distribution
22 *
23 * Redistribution and use in binary form, without modification, are permitted provided
24 * that the following conditions are met:
25 *
26 * * No reverse engineering, decompilation, or disassembly of this software is
27 * permitted with respect to any software provided in binary form.
28 *
29 * * any redistribution and use are licensed by TI for use only with TI Devices.
30 *
31 * * Nothing shall obligate TI to provide you with source code for the software
32 * licensed and provided to you in object code.
33 *
34 * If software source code is provided to you, modification and redistribution of the
35 * source code are permitted provided that the following conditions are met:
36 *
37 * * any redistribution and use of the source code, including any resulting derivative
38 * works, are licensed by TI for use only with TI Devices.
39 *
40 * * any redistribution and use of any object code compiled from the source code
41 * and any resulting derivative works, are licensed by TI for use only with TI Devices.
42 *
43 * Neither the name of Texas Instruments Incorporated nor the names of its suppliers
44 *
45 * may be used to endorse or promote products derived from this software without
46 * specific prior written permission.
47 *
48 * DISCLAIMER.
49 *
50 * THIS SOFTWARE IS PROVIDED BY TI AND TI'S LICENSORS "AS IS" AND ANY EXPRESS
51 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
52 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
53 * IN NO EVENT SHALL TI AND TI'S LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
54 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
55 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
56 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
57 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
58 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
59 * OF THE POSSIBILITY OF SUCH DAMAGE.
60 *
61 */
62 
87 /*
88  * Below are the global requirements which are met by this CAN
89  * driver which can't be mapped to a particular source ID
90  */
91 /* Design : DES_CAN_001,DES_CAN_002,DES_CAN_007, DES_CAN_008 */
92 
93 /* Requirements : MCAL-2238, MCAL-2327, MCAL-2328, MCAL-2329
94  * MCAL-2242, MCAL-2289, MCAL-2294, MCAL-2295, MCAL-2296,
95  * MCAL-2301, MCAL-2312, MCAL-2377, MCAL-2411,
96  * MCAL-2433, MCAL-2442,
97  * MCAL-2289, MCAL-2434, MCAL-981, MCAL-4471
98  */
99 
100 /* Design : DES_CAN_003 */
101 /* Requirements: MCAL-2221 */
102 
103 /* Design : DES_CAN_034 */
104 /* Requirements: MCAL-2455 */
105 
106 /* Design : DES_CAN_035 */
107 /* Requirements: MCAL-2456 */
108 
109 #ifndef CAN_H_
110 #define CAN_H_
111 
112 /* ========================================================================== */
113 /* Include Files */
114 /* ========================================================================== */
115 /* Design : DES_CAN_004 */
116 /* Requirements :MCAL-2227, MCAL-2228, MCAL-2230,
117  * MCAL-2231, MCAL-2333
118  * MCAL-2334, MCAL-2330
119  */
120 #include "Std_Types.h"
121 #include "ComStack_Types.h"
122 #include "Can_GeneralTypes.h"
123 #include "Can_Cfg.h"
124 #include "Can_Irq.h"
125 
126 /* Requirements :MCAL-2225, MCAL-2234 */
127 #include "Os.h"
128 
129 #ifdef __cplusplus
130 extern "C"
131 {
132 #endif
133 
134 /* ========================================================================== */
135 /* Macros & Typedefs */
136 /* ========================================================================== */
137 
146 #define CAN_SW_MAJOR_VERSION (1U)
147 
149 #define CAN_SW_MINOR_VERSION (2U)
150 
151 /* @} */
152 #define CAN_SW_PATCH_VERSION (1U)
153 
161 #define CAN_AR_RELEASE_MAJOR_VERSION (4U)
162 
163 #define CAN_AR_RELEASE_MINOR_VERSION (3U)
164 
165 /* @} */
166 #define CAN_AR_RELEASE_REVISION_VERSION (1U)
167 
168 /* Global Macros */
174 #define CAN_VENDOR_ID (44U)
175 
176 #define CAN_MODULE_ID (80U)
177 
178 #define CAN_INSTANCE_ID (0U)
179 /* @} */
180 
186 #define CAN_UNINIT ((uint8)0U)
187 
188 #define CAN_READY ((uint8)1U)
189 /* @} */
190 
191 /*Requirements: MCAL-2326 */
200 #define CAN_INIT_ID (0x00U)
201 
202 #define CAN_MAINFCT_WRITE_ID (0x01U)
203 
204 #define CAN_SETCTR_ID (0x03U)
205 
206 #define CAN_DIINT_ID (0x04U)
207 
208 #define CAN_ENINT_ID (0x05U)
209 
210 #define CAN_WRITE_ID (0x06U)
211 
212 #define CAN_VERSION_ID (0x07U)
213 
214 #define CAN_MAINFCT_READ_ID (0x08U)
215 
216 #define CAN_MAINFCT_BO_ID (0x09U)
217 
218 #define CAN_MAINFCT_WU_ID (0x0AU)
219 
220 #define CAN_CKWAKEUP_ID (0x0BU)
221 
222 #define CAN_MAINFCT_MODE_ID (0x0CU)
223 
224 #define CAN_SETBAUDRATE_ID (0x0FU)
225 
226 #define CAN_DEINIT_ID (0x10U)
227 
228 #define CAN_GETCTRERRST_ID (0x11U)
229 
230 #define CAN_GETCTRMODE_ID (0x12U)
231 
232 #define CAN_LOOPBACK_ID (0x20U)
233 
234 #define CAN_RXPROCESS_ID (0x21U)
235 
236 /* @} */
237 
244 #ifndef CAN_E_PARAM_POINTER
245 #define CAN_E_PARAM_POINTER (0x01U)
246 
247 #endif
248 #ifndef CAN_E_PARAM_HANDLE
249 #define CAN_E_PARAM_HANDLE (0x02U)
250 
251 #endif
252 #ifndef CAN_E_PARAM_DLC
253 #define CAN_E_PARAM_DLC (0x03U)
254 
255 #endif
256 #ifndef CAN_E_PARAM_CONTROLLER
257 #define CAN_E_PARAM_CONTROLLER (0x04U)
258 
259 #endif
260 #ifndef CAN_E_UNINIT
261 #define CAN_E_UNINIT (0x05U)
262 
263 #endif
264 #ifndef CAN_E_TRANSITION
265 #define CAN_E_TRANSITION (0x06U)
266 
267 #endif
268 #ifndef CAN_E_DATALOST
269 #define CAN_E_DATALOST (0x07U)
270 
271 #endif
272 #ifndef CAN_E_PARAM_BAUDRATE
273 #define CAN_E_PARAM_BAUDRATE (0x08U)
274 
275 #endif
276 #ifndef CAN_E_ICOM_CONFIG_INVALID
277 #define CAN_E_ICOM_CONFIG_INVALID (0x09U)
278 
279 #endif
280 #ifndef CAN_E_INIT_FAILED
281 #define CAN_E_INIT_FAILED (0x0AU)
282 
283 #endif
284 /* @} */
285 
294 #define CAN_CFG_ID_0 (0x01U)
295 
297 #define CAN_CFG_ID_1 (0x02U)
298 
299 #define CAN_CFG_ID_2 (0x04U)
300 
301 #define CAN_CFG_ID_3 (0x08U)
302 
304 #define CAN_CFG_ID_4 (0x10U)
305 
307 #define CAN_CFG_ID_5 (0x20U)
308 
309 #define CAN_CFG_ID_6 (0x40U)
310 /* @} */
311 
312 /* ========================================================================== */
313 /* Structures and Enums */
314 /* ========================================================================== */
315 /* Design : DES_CAN_036 */
324 typedef enum
325 {
331 
335 typedef enum
336 {
337  CAN_FULL = 0x0U,
339  CAN_BASIC = 0x1U
342 
346 typedef enum
347 {
355 
356 /* Design :CAN_DesignId_004 */
360 typedef enum
361 {
366 #if defined (SOC_J721E)
395 #endif /* defined (SOC_J721E) */
397 
402 
406 typedef uint32 Can_InterruptMask_Type;
407 
411 typedef struct Can_MaskStruct
412 {
413  uint32 MaskValue;
415 }Can_MaskType;
416 
420 typedef struct Can_HwFilterStruct
421 {
422  Can_IdType IDValue;
424  uint32 Mask;
427 
431 typedef struct Can_FdBaudConfigStruct
432 {
433  uint16 Baud;
435  uint8 PropSeg;
437  uint8 Pseg1;
439  uint8 Pseg2;
441  uint8 Sjw;
443  uint16 TimingValues;
445  uint16 BrpValue;
449  boolean BrsSwitch;
452 
456 typedef struct Can_BaudConfigStruct
457 {
458  uint16 Baud;
460  uint8 PropSeg;
462  uint8 Pseg1;
464  uint8 Pseg2;
466  uint8 Sjw;
468  uint16 TimingValues;
470  uint16 BrpValue;
475 
476 /* Design : DES_CAN_009 */
480 typedef struct Can_ControllerStruct
481 {
487 
488 /* Design : DES_CAN_010 */
492 typedef struct Can_ControllerStruct_PC
493 {
496  boolean CntrActive;
498  uint32 CntrAddr;
500  Can_TxRxProcessingType RxProcessingType;
502  Can_TxRxProcessingType TxProcessingType;
506  Can_ControllerInstance CanControllerInst;
511 
512 /* Design : DES_CAN_011 */
516 typedef struct Can_MailboxStruct
517 {
520  uint32 MBIdType;
522  Can_HwHandleType HwHandle;
526  Can_MailBoxDirectionType MBDir;
532  uint32 HwFilterCnt;
543 
544 /* Design : DES_CAN_012 */
548 typedef struct Can_MailboxStruct_PC
549 {
550  uint16 CanObjectId;
553 
557 typedef struct
558 {
559  uint32 Reserved;
561 }Can_DmaPrms;
562 
563 /* Design : DES_CAN_013 */
564 /* Requirements: MCAL-2334 */
568 typedef struct Can_ConfigType_s
569 {
576  uint32 MaxMbCnt;
578  uint32 MaxBaudConfigID[CAN_MAX_CONTROLLER];
583 
584 #if (STD_ON == CAN_REGISTER_READBACK_API)
585 
592 typedef struct
593 {
603 #endif /* (STD_ON == CAN_REGISTER_READBACK_API) */
604 
605 /* @} */
606 
607 /* ========================================================================== */
608 /* Function Declarations */
609 /* ========================================================================== */
610 
611 #if (CAN_VERSION_INFO_API == STD_ON)
612 
631 FUNC(void,
632  CAN_CODE) Can_GetVersionInfo(P2VAR(Std_VersionInfoType, AUTOMATIC,
633  CAN_APPL_DATA) VersionInfo);
634 #endif
635 
653 FUNC(void, CAN_CODE) Can_Init(P2CONST(Can_ConfigType, AUTOMATIC,
654  CAN_PBCFG) CfgPtr);
655 
682 FUNC(Std_ReturnType, CAN_CODE) Can_SetControllerMode(
683  uint8 Controller, Can_ControllerStateType Transition);
684 
714 FUNC(Std_ReturnType, CAN_CODE) Can_Write(Can_HwHandleType Hth,
715  const Can_PduType *PduInfo);
716 
736 FUNC(void, CAN_CODE) Can_DisableControllerInterrupts(uint8 Controller);
737 
756 FUNC(void, CAN_CODE) Can_EnableControllerInterrupts(uint8 Controller);
757 
758 /* polling functions (always available for non polled systems also)*/
759 
773 FUNC(void, CAN_CODE) Can_MainFunction_Write(void);
774 
788 FUNC(void, CAN_CODE) Can_MainFunction_BusOff(void);
789 
803 FUNC(void, CAN_CODE) Can_MainFunction_Read(void);
804 
818 FUNC(void, CAN_CODE) Can_MainFunction_Wakeup(void);
819 
832 FUNC(void, CAN_CODE) Can_MainFunction_Mode(void);
833 
834 /* Baud rate functions */
859 FUNC(Std_ReturnType, CAN_CODE) Can_SetBaudrate(uint8 Controller,
860  uint16 BaudRateConfigID);
861 
862 #if (CAN_LOOPBACK_ENABLE == STD_ON)
863 
888 FUNC(Std_ReturnType, CAN_CODE) Can_TestLoopBackModeEnable(uint8 Controller,
889  uint8 Mode);
890 
916 FUNC(Std_ReturnType, CAN_CODE) Can_TestLoopBackModeDisable(uint8 Controller,
917  uint8 Mode);
918 #endif
919 
920 #if (STD_ON == CAN_REGISTER_READBACK_API)
921 
943 Std_ReturnType Can_RegisterReadback(VAR(uint8, AUTOMATIC)Controller,
944  P2VAR(Can_RegisterReadbackType, AUTOMATIC,
945  CAN_APPL_DATA) RegRbPtr);
946 #endif
947 
948 #if defined (CAN_CONTROLLER_MCU_MCAN0)
949 
969 FUNC(void, CAN_CODE) Can_0_Int0ISR_Fun(void);
970 #endif /* #if defined (CAN_CONTROLLER_MCU_MCAN0) */
971 
972 #if defined (CAN_CONTROLLER_MCU_MCAN1)
973 
993 FUNC(void, CAN_CODE) Can_1_Int0ISR_Fun(void);
994 #endif /* #if defined (CAN_CONTROLLER_MCU_MCAN1) */
995 
996 #if defined (SOC_J721E)
997 
998 #if defined (CAN_CONTROLLER_MCAN0)
999 
1019 FUNC(void, CAN_CODE) Can_2_Int0ISR_Fun(void);
1020 #endif /* #if defined (CAN_CONTROLLER_MCAN0) */
1021 
1022 #if defined (CAN_CONTROLLER_MCAN1)
1023 
1043 FUNC(void, CAN_CODE) Can_3_Int0ISR_Fun(void);
1044 #endif /* #if defined (CAN_CONTROLLER_MCAN1) */
1045 
1046 #if defined (CAN_CONTROLLER_MCAN2)
1047 
1067 FUNC(void, CAN_CODE) Can_4_Int0ISR_Fun(void);
1068 #endif /* #if defined (CAN_CONTROLLER_MCAN2) */
1069 
1070 #if defined (CAN_CONTROLLER_MCAN3)
1071 
1091 FUNC(void, CAN_CODE) Can_5_Int0ISR_Fun(void);
1092 #endif /* #if defined (CAN_CONTROLLER_MCAN3) */
1093 
1094 #if defined (CAN_CONTROLLER_MCAN4)
1095 
1115 FUNC(void, CAN_CODE) Can_6_Int0ISR_Fun(void);
1116 #endif /* #if defined (CAN_CONTROLLER_MCAN4) */
1117 
1118 #if defined (CAN_CONTROLLER_MCAN5)
1119 
1139 FUNC(void, CAN_CODE) Can_7_Int0ISR_Fun(void);
1140 #endif /* #if defined (CAN_CONTROLLER_MCAN5) */
1141 
1142 #if defined (CAN_CONTROLLER_MCAN6)
1143 
1163 FUNC(void, CAN_CODE) Can_8_Int0ISR_Fun(void);
1164 #endif /* #if defined (CAN_CONTROLLER_MCAN6) */
1165 
1166 #if defined (CAN_CONTROLLER_MCAN7)
1167 
1187 FUNC(void, CAN_CODE) Can_9_Int0ISR_Fun(void);
1188 #endif /* #if defined (CAN_CONTROLLER_MCAN7) */
1189 
1190 #if defined (CAN_CONTROLLER_MCAN8)
1191 
1211 FUNC(void, CAN_CODE) Can_10_Int0ISR_Fun(void);
1212 #endif /* #if defined (CAN_CONTROLLER_MCAN8) */
1213 
1214 #if defined (CAN_CONTROLLER_MCAN9)
1215 
1235 FUNC(void, CAN_CODE) Can_11_Int0ISR_Fun(void);
1236 #endif /* #if defined (CAN_CONTROLLER_MCAN9) */
1237 
1238 #if defined (CAN_CONTROLLER_MCAN10)
1239 
1259 FUNC(void, CAN_CODE) Can_12_Int0ISR_Fun(void);
1260 #endif /* #if defined (CAN_CONTROLLER_MCAN10) */
1261 
1262 #if defined (CAN_CONTROLLER_MCAN11)
1263 
1283 FUNC(void, CAN_CODE) Can_13_Int0ISR_Fun(void);
1284 #endif /* #if defined (CAN_CONTROLLER_MCAN11) */
1285 
1286 #if defined (CAN_CONTROLLER_MCAN12)
1287 
1307 FUNC(void, CAN_CODE) Can_14_Int0ISR_Fun(void);
1308 #endif /* #if defined (CAN_CONTROLLER_MCAN12) */
1309 
1310 #if defined (CAN_CONTROLLER_MCAN13)
1311 
1331 FUNC(void, CAN_CODE) Can_15_Int0ISR_Fun(void);
1332 #endif /* #if defined (CAN_CONTROLLER_MCAN13) */
1333 
1334 
1335 #endif /* #if defined (SOC_J721E) */
1336 
1352 FUNC(void, CAN_CODE) Can_DeInit(void);
1353 
1379 FUNC(Std_ReturnType, CAN_CODE) Can_GetControllerMode(uint8 Controller,
1380  Can_ControllerStateType* ControllerModePtr);
1381 
1405 FUNC(Std_ReturnType, CAN_CODE) Can_GetControllerErrorState
1406  (uint8 ControllerId, Can_ErrorStateType* ErrorStatePtr);
1407 
1408 #ifdef __cplusplus
1409 }
1410 #endif
1411 
1412 #endif /* CAN_H_ end file*/
1413 /* End of File: Can.h */
1414 
1415 /* @} */
Can_BaudConfigType * DefaultBaud
Definition: Can.h:482
Std_ReturnType Can_GetControllerMode(uint8 Controller, Can_ControllerStateType *ControllerModePtr)
This service reports about the current status of the requested CAN controller.
uint8 PropSeg
Definition: Can.h:460
void Can_DeInit(void)
This function de-initializes the module.
Definition: Can.h:381
uint8 CanFdPaddingValue
Definition: Can.h:534
uint32 CanReadBackRegCREL
Definition: Can.h:598
uint16 Baud
Definition: Can.h:433
boolean CanHardwareObjectUsesPolling
Definition: Can.h:540
Definition: Can.h:348
Can mailox configuration definition.
Definition: Can.h:516
Can_MailboxType ** MailBoxList
Definition: Can.h:574
uint8 CanHandleType
Definition: Can.h:518
Can_ControllerInstance CanControllerInst
Definition: Can.h:506
uint32 CanReadBackRegENDN
Definition: Can.h:600
uint16 BrpValue
Definition: Can.h:470
void Can_EnableControllerInterrupts(uint8 Controller)
This function enables all allowed interrupts.
Std_ReturnType Can_SetControllerMode(uint8 Controller, Can_ControllerStateType Transition)
This function performs software triggered state transitions of the CAN controller State machine...
void Can_MainFunction_Read(void)
This function performs the polling of RX indications when CAN_RX_PROCESSING is set to POLLING...
Definition: Can.h:385
Std_ReturnType Can_RegisterReadback(VAR(uint8,) Controller, Can_RegisterReadbackType *RegRbPtr)
This service will readback CAN registers.
Definition: Can.h:328
void Can_MainFunction_BusOff(void)
This function performs the polling of bus-off events that are configured statically as 'to be polled'...
Can_TxRxProcessingType TxProcessingType
Definition: Can.h:502
Can_ControllerType ** CanControllerList
Definition: Can.h:570
Can Controller Pre Compile Configuration definition.
Definition: Can.h:492
uint32 Can_InterruptMask_Type
Can Interrupt Mask type.
Definition: Can.h:406
uint32 Mask
Definition: Can.h:424
uint32 CanReadBackRegPID
Definition: Can.h:594
Std_ReturnType Can_Write(Can_HwHandleType Hth, const Can_PduType *PduInfo)
This function is called by CanIf to pass a CAN message to CanDrv for transmission.
Can_TxRxProcessingType RxProcessingType
Definition: Can.h:500
Std_ReturnType Can_SetBaudrate(uint8 Controller, uint16 BaudRateConfigID)
This service shall set the baud rate configuration of the CAN controller. Depending on necessary baud...
Can_IdType IDValue
Definition: Can.h:422
Definition: Can.h:389
Std_ReturnType Can_TestLoopBackModeDisable(uint8 Controller, uint8 Mode)
This service will disable CAN loopback mode.
boolean CntrActive
Definition: Can.h:496
boolean CanFDModeEnabled
Definition: Can.h:508
uint8 Pseg1
Definition: Can.h:462
Definition: Can.h:391
uint8 CanControllerState_Type
Can Controller State enum type.
Definition: Can.h:401
uint32 MaxMbCnt
Definition: Can.h:576
Can_BaudConfigType ** BaudRateConfigList
Definition: Can.h:484
Dummy structure will be used if DMA support is required.
Definition: Can.h:557
Definition: Can.h:371
Can mailox Pre compile configuration definition.
Definition: Can.h:548
void Can_MainFunction_Mode(void)
This function performs the polling of CAN controller mode transitions.
Definition: Can.h:352
Std_ReturnType Can_GetControllerErrorState(uint8 ControllerId, Can_ErrorStateType *ErrorStatePtr)
This service obtains the error state of the CAN controller.
const Can_ControllerType_PC * Controller
Definition: Can.h:528
Can_FdBaudConfigType BaudFdRateConfig
Definition: Can.h:472
Can_MailBoxDirectionType MBDir
Definition: Can.h:526
Definition: Can.h:379
Structure defining the CAN baud rate configuration.
Definition: Can.h:456
Can_HwFilterType ** HwFilterList
Definition: Can.h:530
uint32 CanReadBackRegSTAT
Definition: Can.h:596
Can_TxRxProcessingType
Can Tx/Rx processing enum.
Definition: Can.h:346
uint32 MBIdType
Definition: Can.h:520
uint8 PropSeg
Definition: Can.h:435
Structure defining the filter mask to be used.
Definition: Can.h:411
void Can_GetVersionInfo(Std_VersionInfoType *VersionInfo)
Function returns the version information of this module.
Definition: Can.h:367
Definition: Can.h:377
Can Controller Configuration definition.
Definition: Can.h:480
uint16 CanHwObjectCount
Definition: Can.h:524
Can_HwHandleType HwHandle
Definition: Can.h:522
uint8 ControllerId
Definition: Can.h:494
uint16 BrpValue
Definition: Can.h:445
Can_ControllerInstance
Can Controller Instances enum.
Definition: Can.h:360
boolean BrsSwitch
Definition: Can.h:449
uint8 Pseg1
Definition: Can.h:437
uint16 Baud
Definition: Can.h:458
#define CAN_MAX_CONTROLLER
Definition: Can_Cfg.h:151
Structure defining the HW filter to be used.
Definition: Can.h:420
uint16 CanObjectId
Definition: Can.h:550
Definition: Can.h:393
Definition: Can.h:326
Definition: Can.h:350
void Can_MainFunction_Write(void)
This function performs the polling of TX confirmation when CAN_TX_PROCESSING is set to POLLING...
uint8 Sjw
Definition: Can.h:466
Can MCAL root configuration structure.
Definition: Can.h:568
uint16 TimingValues
Definition: Can.h:443
uint16 TrcvCompDelay
Definition: Can.h:447
uint8 Pseg2
Definition: Can.h:464
Definition: Can.h:337
Can_DmaPrms * DmaPrms
Definition: Can.h:580
This file contains generated pre compile configuration file for CAN MCAL driver.
uint8 CanMaxControllerCount
Definition: Can.h:572
uint32 CntrAddr
Definition: Can.h:498
This file contains cover page for generating doxygen API documentation.
Definition: Can.h:383
uint16 TimingValues
Definition: Can.h:468
Definition: Can.h:387
Definition: Can.h:339
uint32 MaskValue
Definition: Can.h:413
Definition: Can.h:373
Definition: Can.h:369
Can_HandleType
Can Handle Type enum.
Definition: Can.h:335
Std_ReturnType Can_TestLoopBackModeEnable(uint8 Controller, uint8 Mode)
This service will enable CAN loopback mode.
Can_MailBoxDirectionType
Can Mailbox direction enum.
Definition: Can.h:324
void Can_MainFunction_Wakeup(void)
This function performs the polling of wake-up events that are configured statically as 'to be polled'...
void Can_DisableControllerInterrupts(uint8 Controller)
This function disables all interrupts for this CAN controller.
Structure defining the CAN FD data phase baud rate configuration.
Definition: Can.h:431
boolean BusOffProcessingInterrupt
Definition: Can.h:504
uint8 Pseg2
Definition: Can.h:439
Definition: Can.h:375
uint8 Sjw
Definition: Can.h:441
Register Readback Structure.
Definition: Can.h:592
void Can_Init(const Can_ConfigType *CfgPtr)
This function initializes the module.
uint32 HwFilterCnt
Definition: Can.h:532
uint32 Reserved
Definition: Can.h:559