1 /* 2 * Copyright 2021-2023 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef NETC_ETH_IP_IRQ_H 8 #define NETC_ETH_IP_IRQ_H 9 10 /** 11 * @file Netc_Eth_Ip_Irq.h 12 * 13 * @addtogroup NETC_ETH_DRIVER NETC_ETH Driver 14 * @{ 15 */ 16 17 #ifdef __cplusplus 18 extern "C"{ 19 #endif 20 21 /*================================================================================================== 22 * INCLUDE FILES 23 * 1) system and project includes 24 * 2) needed interfaces from external units 25 * 3) internal and external interfaces from this unit 26 ==================================================================================================*/ 27 28 /*================================================================================================== 29 * SOURCE FILE VERSION INFORMATION 30 ==================================================================================================*/ 31 #define NETC_ETH_IP_IRQ_VENDOR_ID 43 32 #define NETC_ETH_IP_IRQ_AR_RELEASE_MAJOR_VERSION 4 33 #define NETC_ETH_IP_IRQ_AR_RELEASE_MINOR_VERSION 7 34 #define NETC_ETH_IP_IRQ_AR_RELEASE_REVISION_VERSION 0 35 #define NETC_ETH_IP_IRQ_SW_MAJOR_VERSION 1 36 #define NETC_ETH_IP_IRQ_SW_MINOR_VERSION 0 37 #define NETC_ETH_IP_IRQ_SW_PATCH_VERSION 0 38 39 /*================================================================================================== 40 * FUNCTION PROTOTYPES 41 ==================================================================================================*/ 42 #define ETH_43_NETC_START_SEC_CODE 43 #include "Eth_43_NETC_MemMap.h" 44 45 /** @brief Function used for the interupt messaging from VSI to PSI. */ 46 void Netc_Eth_Ip_MSIX_SIMsgEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 47 48 /** @brief Function used for the TX interrupt from SI 0. */ 49 void Netc_Eth_Ip_0_MSIX_TxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 50 51 /** @brief Function used for the TX interrupt from SI 1. */ 52 void Netc_Eth_Ip_1_MSIX_TxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 53 54 /** @brief Function used for the TX interrupt from SI 2. */ 55 void Netc_Eth_Ip_2_MSIX_TxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 56 57 /** @brief Function used for the TX interrupt from SI 3. */ 58 void Netc_Eth_Ip_3_MSIX_TxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 59 60 /** @brief Function used for the TX interrupt from SI 4. */ 61 void Netc_Eth_Ip_4_MSIX_TxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 62 63 /** @brief Function used for the TX interrupt from SI 5. */ 64 void Netc_Eth_Ip_5_MSIX_TxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 65 66 /** @brief Function used for the TX interrupt from SI 6. */ 67 void Netc_Eth_Ip_6_MSIX_TxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 68 69 /** @brief Function used for the TX interrupt from SI 7. */ 70 void Netc_Eth_Ip_7_MSIX_TxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 71 72 /** @brief Function used for the RX interrupt from SI 0. */ 73 void Netc_Eth_Ip_0_MSIX_RxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 74 75 /** @brief Function used for the RX interrupt from SI 1. */ 76 void Netc_Eth_Ip_1_MSIX_RxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 77 78 /** @brief Function used for the RX interrupt from SI 2. */ 79 void Netc_Eth_Ip_2_MSIX_RxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 80 81 /** @brief Function used for the RX interrupt from SI 3. */ 82 void Netc_Eth_Ip_3_MSIX_RxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 83 84 /** @brief Function used for the RX interrupt from SI 4. */ 85 void Netc_Eth_Ip_4_MSIX_RxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 86 87 /** @brief Function used for the RX interrupt from SI 5. */ 88 void Netc_Eth_Ip_5_MSIX_RxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 89 90 /** @brief Function used for the RX interrupt from SI 6. */ 91 void Netc_Eth_Ip_6_MSIX_RxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 92 93 /** @brief Function used for the RX interrupt from SI 7. */ 94 void Netc_Eth_Ip_7_MSIX_RxEvent(uint8 RxChannelId, const uint32 * RxBuffer, uint8 BufferSize); 95 96 ISR(Netc_Eth_Ip_ErrorReporting); 97 98 99 #define ETH_43_NETC_STOP_SEC_CODE 100 #include "Eth_43_NETC_MemMap.h" 101 102 #ifdef __cplusplus 103 } 104 #endif 105 106 /** @} */ 107 108 #endif /* NETC_ETH_IP_IRQ_H */ 109