Skip to content

Commit

Permalink
s32: soc: s32k148: add support for ENET
Browse files Browse the repository at this point in the history
Add support for ENET.

Signed-off-by: Kevin Shaju <[email protected]>
  • Loading branch information
KevShaju authored and marcin-wierzbicki committed Feb 23, 2025
1 parent e34b30d commit e3b7e81
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion s32/drivers/s32k1/BaseNXP/header/S32K148_ENET.h
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ typedef struct {
/** Array initializer of ENET peripheral base addresses */
#define IP_ENET_BASE_ADDRS { IP_ENET_BASE }
/** Array initializer of ENET peripheral base pointers */
#define IP_ENET_BASE_PTRS { IP_ENET }
#define ENET_BASE_PTRS { IP_ENET }

/* ----------------------------------------------------------------------------
-- ENET Register Masks
Expand Down Expand Up @@ -1498,6 +1498,16 @@ typedef struct {
* @}
*/ /* end of group ENET_Register_Masks */

/* ENET Buffer Descriptor and Buffer Address Alignment. */
#define ENET_BUFF_ALIGNMENT (64U)

/* Interrupt vectors for the ENET peripheral type */
#define ENET_Transmit_IRQS { ENET_TX_Buffer_IRQn }
#define ENET_Receive_IRQS { ENET_RX_Buffer_IRQn }
#define ENET_Error_IRQS { ENET_PRE_IRQn }
#define ENET_1588_Timer_IRQS { ENET_Timer_IRQn }
#define ENET_Ts_IRQS { ENET_Timer_IRQn }

/*!
* @}
*/ /* end of group ENET_Peripheral_Access_Layer */
Expand Down

0 comments on commit e3b7e81

Please sign in to comment.