1 /* 2 * Copyright 2021-2022 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef SCHM_ETH_43_NETC_H 8 #define SCHM_ETH_43_NETC_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_ETH_43_NETC_AR_RELEASE_MAJOR_VERSION 4 31 #define SCHM_ETH_43_NETC_AR_RELEASE_MINOR_VERSION 7 32 #define SCHM_ETH_43_NETC_AR_RELEASE_REVISION_VERSION 0 33 #define SCHM_ETH_43_NETC_SW_MAJOR_VERSION 0 34 #define SCHM_ETH_43_NETC_SW_MINOR_VERSION 9 35 #define SCHM_ETH_43_NETC_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_eth_43_netc(void); 86 #endif /*MCAL_TESTING_ENVIRONMENT*/ 87 88 /** 89 * @brief The function checks for controller errors and lost frames. Used for polling state 90 * changes. Calls EthIf_CtrlModeIndication when the controller mode changed. 91 */ 92 extern void Eth_43_NETC_MainFunction(void); 93 94 #define RTE_STOP_SEC_CODE 95 #include "Rte_MemMap.h" 96 97 #ifdef __cplusplus 98 } 99 #endif 100 101 /** @} */ 102 103 #endif /* SCHM_ETH_43_NETC_H */ 104