1 /*
2  * Copyright 2022 NXP
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef SCHM_CAN_43_CANEXCEL_H
8 #define SCHM_CAN_43_CANEXCEL_H
9 
10 /**
11 *   @file
12 *
13 *   @addtogroup RTE_MODULE
14 *   @{
15 */
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 /*==================================================================================================
21 *                                         INCLUDE FILES
22 * 1) system and project includes
23 * 2) needed interfaces from external units
24 * 3) internal and external interfaces from this unit
25 ==================================================================================================*/
26 
27 /*==================================================================================================
28 *                               SOURCE FILE VERSION INFORMATION
29 ==================================================================================================*/
30 #define SCHM_CAN_43_CANEXCEL_AR_RELEASE_MAJOR_VERSION     4
31 #define SCHM_CAN_43_CANEXCEL_AR_RELEASE_MINOR_VERSION     7
32 #define SCHM_CAN_43_CANEXCEL_AR_RELEASE_REVISION_VERSION  0
33 #define SCHM_CAN_43_CANEXCEL_SW_MAJOR_VERSION             0
34 #define SCHM_CAN_43_CANEXCEL_SW_MINOR_VERSION             9
35 #define SCHM_CAN_43_CANEXCEL_SW_PATCH_VERSION             0
36 
37 /*==================================================================================================
38 *                                      FILE VERSION CHECKS
39 ==================================================================================================*/
40 
41 
42 /*==================================================================================================
43 *                                           CONSTANTS
44 ==================================================================================================*/
45 
46 /*==================================================================================================
47 *                                       DEFINES AND MACROS
48 ==================================================================================================*/
49 #define NUMBER_OF_CORES         (uint8)(14U)
50 
51 /*==================================================================================================
52 *                                             ENUMS
53 ==================================================================================================*/
54 
55 /*==================================================================================================
56 *                                 STRUCTURES AND OTHER TYPEDEFS
57 ==================================================================================================*/
58 
59 /*==================================================================================================
60 *                                 GLOBAL VARIABLE DECLARATIONS
61 ==================================================================================================*/
62 
63 /*==================================================================================================
64 *                                     FUNCTION PROTOTYPES
65 ==================================================================================================*/
66 #define RTE_START_SEC_CODE
67 #include "Rte_MemMap.h"
68 
69 #ifdef MCAL_TESTING_ENVIRONMENT
70 /**
71 @brief   This function checks that all entered exclusive areas were also exited.
72 @details This function checks that all entered exclusive areas were also exited. The check
73          is done by verifying that all reentry_guard_* static variables are back to the
74          zero value.
75 
76 @param[in]     void       No input parameters
77 @return        void       This function does not return a value. Test asserts are used instead.
78 
79 @pre  None
80 @post None
81 
82 @remarks Covers
83 @remarks Implements
84 */
85 void SchM_Check_can_43_CANEXCEL(void);
86 #endif /*MCAL_TESTING_ENVIRONMENT*/
87 
88 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_00(void);
89 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_00(void);
90 
91 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_01(void);
92 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_01(void);
93 
94 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_02(void);
95 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_02(void);
96 
97 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_03(void);
98 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_03(void);
99 
100 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_04(void);
101 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_04(void);
102 
103 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_05(void);
104 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_05(void);
105 
106 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_06(void);
107 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_06(void);
108 
109 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_07(void);
110 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_07(void);
111 
112 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_08(void);
113 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_08(void);
114 
115 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_09(void);
116 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_09(void);
117 
118 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_10(void);
119 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_10(void);
120 
121 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_11(void);
122 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_11(void);
123 
124 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_12(void);
125 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_12(void);
126 
127 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_13(void);
128 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_13(void);
129 
130 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_14(void);
131 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_14(void);
132 
133 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_15(void);
134 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_15(void);
135 
136 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_16(void);
137 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_16(void);
138 
139 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_17(void);
140 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_17(void);
141 
142 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_18(void);
143 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_18(void);
144 
145 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_19(void);
146 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_19(void);
147 
148 extern void SchM_Enter_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_20(void);
149 extern void SchM_Exit_Can_43_CANEXCEL_CAN_EXCLUSIVE_AREA_20(void);
150 
151 
152 void Can_43_CANEXCEL_MainFunction_Write(void);
153 void Can_43_CANEXCEL_MainFunction_Write_0(void);
154 void Can_43_CANEXCEL_MainFunction_Write_1(void);
155 void Can_43_CANEXCEL_MainFunction_Write_2(void);
156 void Can_43_CANEXCEL_MainFunction_Write_3(void);
157 void Can_43_CANEXCEL_MainFunction_Write_4(void);
158 void Can_43_CANEXCEL_MainFunction_Write_5(void);
159 void Can_43_CANEXCEL_MainFunction_Write_6(void);
160 void Can_43_CANEXCEL_MainFunction_Write_7(void);
161 void Can_43_CANEXCEL_MainFunction_Write_8(void);
162 void Can_43_CANEXCEL_MainFunction_Write_9(void);
163 void Can_43_CANEXCEL_MainFunction_Write_10(void);
164 void Can_43_CANEXCEL_MainFunction_Read(void);
165 void Can_43_CANEXCEL_MainFunction_Read_0(void);
166 void Can_43_CANEXCEL_MainFunction_Read_1(void);
167 void Can_43_CANEXCEL_MainFunction_Read_2(void);
168 void Can_43_CANEXCEL_MainFunction_Read_3(void);
169 void Can_43_CANEXCEL_MainFunction_Read_4(void);
170 void Can_43_CANEXCEL_MainFunction_Read_5(void);
171 void Can_43_CANEXCEL_MainFunction_Read_6(void);
172 void Can_43_CANEXCEL_MainFunction_Read_7(void);
173 void Can_43_CANEXCEL_MainFunction_Read_8(void);
174 void Can_43_CANEXCEL_MainFunction_Read_9(void);
175 void Can_43_CANEXCEL_MainFunction_Read_10(void);
176 void Can_43_CANEXCEL_MainFunction_BusOff(void);
177 void Can_43_CANEXCEL_MainFunction_Wakeup(void);
178 void Can_43_CANEXCEL_MainFunction_Mode(void);
179 
180 #define RTE_STOP_SEC_CODE
181 #include "Rte_MemMap.h"
182 
183 #ifdef __cplusplus
184 }
185 #endif
186 
187 /** @} */
188 
189 #endif /* SCHM_CAN_43_CANEXCEL_H */
190