You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2501 lines
287 KiB
C
2501 lines
287 KiB
C
/**
|
|
* \brief Component description for GMAC
|
|
*
|
|
* Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.
|
|
*
|
|
* Subject to your compliance with these terms, you may use Microchip software and any derivatives
|
|
* exclusively with Microchip products. It is your responsibility to comply with third party license
|
|
* terms applicable to your use of third party software (including open source software) that may
|
|
* accompany Microchip software.
|
|
*
|
|
* THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY,
|
|
* APPLY TO THIS SOFTWARE, INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND
|
|
* FITNESS FOR A PARTICULAR PURPOSE.
|
|
*
|
|
* IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL
|
|
* LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE SOFTWARE, HOWEVER CAUSED, EVEN IF
|
|
* MICROCHIP HAS BEEN ADVISED OF THE POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT
|
|
* ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THIS SOFTWARE WILL NOT
|
|
* EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
|
|
*
|
|
*/
|
|
|
|
/* file generated from device description version 2017-08-25T14:00:00Z */
|
|
#ifndef _SAME70_GMAC_COMPONENT_H_
|
|
#define _SAME70_GMAC_COMPONENT_H_
|
|
|
|
/* ************************************************************************** */
|
|
/* SOFTWARE API DEFINITION FOR GMAC */
|
|
/* ************************************************************************** */
|
|
|
|
/* -------- GMAC_SAB : (GMAC Offset: 0x00) (R/W 32) Specific Address 1 Bottom Register -------- */
|
|
#define GMAC_SAB_ADDR_Pos _U_(0) /**< (GMAC_SAB) Specific Address 1 Position */
|
|
#define GMAC_SAB_ADDR_Msk (_U_(0xFFFFFFFF) << GMAC_SAB_ADDR_Pos) /**< (GMAC_SAB) Specific Address 1 Mask */
|
|
#define GMAC_SAB_ADDR(value) (GMAC_SAB_ADDR_Msk & ((value) << GMAC_SAB_ADDR_Pos))
|
|
#define GMAC_SAB_Msk _U_(0xFFFFFFFF) /**< (GMAC_SAB) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_SAT : (GMAC Offset: 0x04) (R/W 32) Specific Address 1 Top Register -------- */
|
|
#define GMAC_SAT_ADDR_Pos _U_(0) /**< (GMAC_SAT) Specific Address 1 Position */
|
|
#define GMAC_SAT_ADDR_Msk (_U_(0xFFFF) << GMAC_SAT_ADDR_Pos) /**< (GMAC_SAT) Specific Address 1 Mask */
|
|
#define GMAC_SAT_ADDR(value) (GMAC_SAT_ADDR_Msk & ((value) << GMAC_SAT_ADDR_Pos))
|
|
#define GMAC_SAT_Msk _U_(0x0000FFFF) /**< (GMAC_SAT) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_NCR : (GMAC Offset: 0x00) (R/W 32) Network Control Register -------- */
|
|
#define GMAC_NCR_LBL_Pos _U_(1) /**< (GMAC_NCR) Loop Back Local Position */
|
|
#define GMAC_NCR_LBL_Msk (_U_(0x1) << GMAC_NCR_LBL_Pos) /**< (GMAC_NCR) Loop Back Local Mask */
|
|
#define GMAC_NCR_LBL(value) (GMAC_NCR_LBL_Msk & ((value) << GMAC_NCR_LBL_Pos))
|
|
#define GMAC_NCR_RXEN_Pos _U_(2) /**< (GMAC_NCR) Receive Enable Position */
|
|
#define GMAC_NCR_RXEN_Msk (_U_(0x1) << GMAC_NCR_RXEN_Pos) /**< (GMAC_NCR) Receive Enable Mask */
|
|
#define GMAC_NCR_RXEN(value) (GMAC_NCR_RXEN_Msk & ((value) << GMAC_NCR_RXEN_Pos))
|
|
#define GMAC_NCR_TXEN_Pos _U_(3) /**< (GMAC_NCR) Transmit Enable Position */
|
|
#define GMAC_NCR_TXEN_Msk (_U_(0x1) << GMAC_NCR_TXEN_Pos) /**< (GMAC_NCR) Transmit Enable Mask */
|
|
#define GMAC_NCR_TXEN(value) (GMAC_NCR_TXEN_Msk & ((value) << GMAC_NCR_TXEN_Pos))
|
|
#define GMAC_NCR_MPE_Pos _U_(4) /**< (GMAC_NCR) Management Port Enable Position */
|
|
#define GMAC_NCR_MPE_Msk (_U_(0x1) << GMAC_NCR_MPE_Pos) /**< (GMAC_NCR) Management Port Enable Mask */
|
|
#define GMAC_NCR_MPE(value) (GMAC_NCR_MPE_Msk & ((value) << GMAC_NCR_MPE_Pos))
|
|
#define GMAC_NCR_CLRSTAT_Pos _U_(5) /**< (GMAC_NCR) Clear Statistics Registers Position */
|
|
#define GMAC_NCR_CLRSTAT_Msk (_U_(0x1) << GMAC_NCR_CLRSTAT_Pos) /**< (GMAC_NCR) Clear Statistics Registers Mask */
|
|
#define GMAC_NCR_CLRSTAT(value) (GMAC_NCR_CLRSTAT_Msk & ((value) << GMAC_NCR_CLRSTAT_Pos))
|
|
#define GMAC_NCR_INCSTAT_Pos _U_(6) /**< (GMAC_NCR) Increment Statistics Registers Position */
|
|
#define GMAC_NCR_INCSTAT_Msk (_U_(0x1) << GMAC_NCR_INCSTAT_Pos) /**< (GMAC_NCR) Increment Statistics Registers Mask */
|
|
#define GMAC_NCR_INCSTAT(value) (GMAC_NCR_INCSTAT_Msk & ((value) << GMAC_NCR_INCSTAT_Pos))
|
|
#define GMAC_NCR_WESTAT_Pos _U_(7) /**< (GMAC_NCR) Write Enable for Statistics Registers Position */
|
|
#define GMAC_NCR_WESTAT_Msk (_U_(0x1) << GMAC_NCR_WESTAT_Pos) /**< (GMAC_NCR) Write Enable for Statistics Registers Mask */
|
|
#define GMAC_NCR_WESTAT(value) (GMAC_NCR_WESTAT_Msk & ((value) << GMAC_NCR_WESTAT_Pos))
|
|
#define GMAC_NCR_BP_Pos _U_(8) /**< (GMAC_NCR) Back pressure Position */
|
|
#define GMAC_NCR_BP_Msk (_U_(0x1) << GMAC_NCR_BP_Pos) /**< (GMAC_NCR) Back pressure Mask */
|
|
#define GMAC_NCR_BP(value) (GMAC_NCR_BP_Msk & ((value) << GMAC_NCR_BP_Pos))
|
|
#define GMAC_NCR_TSTART_Pos _U_(9) /**< (GMAC_NCR) Start Transmission Position */
|
|
#define GMAC_NCR_TSTART_Msk (_U_(0x1) << GMAC_NCR_TSTART_Pos) /**< (GMAC_NCR) Start Transmission Mask */
|
|
#define GMAC_NCR_TSTART(value) (GMAC_NCR_TSTART_Msk & ((value) << GMAC_NCR_TSTART_Pos))
|
|
#define GMAC_NCR_THALT_Pos _U_(10) /**< (GMAC_NCR) Transmit Halt Position */
|
|
#define GMAC_NCR_THALT_Msk (_U_(0x1) << GMAC_NCR_THALT_Pos) /**< (GMAC_NCR) Transmit Halt Mask */
|
|
#define GMAC_NCR_THALT(value) (GMAC_NCR_THALT_Msk & ((value) << GMAC_NCR_THALT_Pos))
|
|
#define GMAC_NCR_TXPF_Pos _U_(11) /**< (GMAC_NCR) Transmit Pause Frame Position */
|
|
#define GMAC_NCR_TXPF_Msk (_U_(0x1) << GMAC_NCR_TXPF_Pos) /**< (GMAC_NCR) Transmit Pause Frame Mask */
|
|
#define GMAC_NCR_TXPF(value) (GMAC_NCR_TXPF_Msk & ((value) << GMAC_NCR_TXPF_Pos))
|
|
#define GMAC_NCR_TXZQPF_Pos _U_(12) /**< (GMAC_NCR) Transmit Zero Quantum Pause Frame Position */
|
|
#define GMAC_NCR_TXZQPF_Msk (_U_(0x1) << GMAC_NCR_TXZQPF_Pos) /**< (GMAC_NCR) Transmit Zero Quantum Pause Frame Mask */
|
|
#define GMAC_NCR_TXZQPF(value) (GMAC_NCR_TXZQPF_Msk & ((value) << GMAC_NCR_TXZQPF_Pos))
|
|
#define GMAC_NCR_SRTSM_Pos _U_(15) /**< (GMAC_NCR) Store Receive Time Stamp to Memory Position */
|
|
#define GMAC_NCR_SRTSM_Msk (_U_(0x1) << GMAC_NCR_SRTSM_Pos) /**< (GMAC_NCR) Store Receive Time Stamp to Memory Mask */
|
|
#define GMAC_NCR_SRTSM(value) (GMAC_NCR_SRTSM_Msk & ((value) << GMAC_NCR_SRTSM_Pos))
|
|
#define GMAC_NCR_ENPBPR_Pos _U_(16) /**< (GMAC_NCR) Enable PFC Priority-based Pause Reception Position */
|
|
#define GMAC_NCR_ENPBPR_Msk (_U_(0x1) << GMAC_NCR_ENPBPR_Pos) /**< (GMAC_NCR) Enable PFC Priority-based Pause Reception Mask */
|
|
#define GMAC_NCR_ENPBPR(value) (GMAC_NCR_ENPBPR_Msk & ((value) << GMAC_NCR_ENPBPR_Pos))
|
|
#define GMAC_NCR_TXPBPF_Pos _U_(17) /**< (GMAC_NCR) Transmit PFC Priority-based Pause Frame Position */
|
|
#define GMAC_NCR_TXPBPF_Msk (_U_(0x1) << GMAC_NCR_TXPBPF_Pos) /**< (GMAC_NCR) Transmit PFC Priority-based Pause Frame Mask */
|
|
#define GMAC_NCR_TXPBPF(value) (GMAC_NCR_TXPBPF_Msk & ((value) << GMAC_NCR_TXPBPF_Pos))
|
|
#define GMAC_NCR_FNP_Pos _U_(18) /**< (GMAC_NCR) Flush Next Packet Position */
|
|
#define GMAC_NCR_FNP_Msk (_U_(0x1) << GMAC_NCR_FNP_Pos) /**< (GMAC_NCR) Flush Next Packet Mask */
|
|
#define GMAC_NCR_FNP(value) (GMAC_NCR_FNP_Msk & ((value) << GMAC_NCR_FNP_Pos))
|
|
#define GMAC_NCR_Msk _U_(0x00079FFE) /**< (GMAC_NCR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_NCFGR : (GMAC Offset: 0x04) (R/W 32) Network Configuration Register -------- */
|
|
#define GMAC_NCFGR_SPD_Pos _U_(0) /**< (GMAC_NCFGR) Speed Position */
|
|
#define GMAC_NCFGR_SPD_Msk (_U_(0x1) << GMAC_NCFGR_SPD_Pos) /**< (GMAC_NCFGR) Speed Mask */
|
|
#define GMAC_NCFGR_SPD(value) (GMAC_NCFGR_SPD_Msk & ((value) << GMAC_NCFGR_SPD_Pos))
|
|
#define GMAC_NCFGR_FD_Pos _U_(1) /**< (GMAC_NCFGR) Full Duplex Position */
|
|
#define GMAC_NCFGR_FD_Msk (_U_(0x1) << GMAC_NCFGR_FD_Pos) /**< (GMAC_NCFGR) Full Duplex Mask */
|
|
#define GMAC_NCFGR_FD(value) (GMAC_NCFGR_FD_Msk & ((value) << GMAC_NCFGR_FD_Pos))
|
|
#define GMAC_NCFGR_DNVLAN_Pos _U_(2) /**< (GMAC_NCFGR) Discard Non-VLAN FRAMES Position */
|
|
#define GMAC_NCFGR_DNVLAN_Msk (_U_(0x1) << GMAC_NCFGR_DNVLAN_Pos) /**< (GMAC_NCFGR) Discard Non-VLAN FRAMES Mask */
|
|
#define GMAC_NCFGR_DNVLAN(value) (GMAC_NCFGR_DNVLAN_Msk & ((value) << GMAC_NCFGR_DNVLAN_Pos))
|
|
#define GMAC_NCFGR_JFRAME_Pos _U_(3) /**< (GMAC_NCFGR) Jumbo Frame Size Position */
|
|
#define GMAC_NCFGR_JFRAME_Msk (_U_(0x1) << GMAC_NCFGR_JFRAME_Pos) /**< (GMAC_NCFGR) Jumbo Frame Size Mask */
|
|
#define GMAC_NCFGR_JFRAME(value) (GMAC_NCFGR_JFRAME_Msk & ((value) << GMAC_NCFGR_JFRAME_Pos))
|
|
#define GMAC_NCFGR_CAF_Pos _U_(4) /**< (GMAC_NCFGR) Copy All Frames Position */
|
|
#define GMAC_NCFGR_CAF_Msk (_U_(0x1) << GMAC_NCFGR_CAF_Pos) /**< (GMAC_NCFGR) Copy All Frames Mask */
|
|
#define GMAC_NCFGR_CAF(value) (GMAC_NCFGR_CAF_Msk & ((value) << GMAC_NCFGR_CAF_Pos))
|
|
#define GMAC_NCFGR_NBC_Pos _U_(5) /**< (GMAC_NCFGR) No Broadcast Position */
|
|
#define GMAC_NCFGR_NBC_Msk (_U_(0x1) << GMAC_NCFGR_NBC_Pos) /**< (GMAC_NCFGR) No Broadcast Mask */
|
|
#define GMAC_NCFGR_NBC(value) (GMAC_NCFGR_NBC_Msk & ((value) << GMAC_NCFGR_NBC_Pos))
|
|
#define GMAC_NCFGR_MTIHEN_Pos _U_(6) /**< (GMAC_NCFGR) Multicast Hash Enable Position */
|
|
#define GMAC_NCFGR_MTIHEN_Msk (_U_(0x1) << GMAC_NCFGR_MTIHEN_Pos) /**< (GMAC_NCFGR) Multicast Hash Enable Mask */
|
|
#define GMAC_NCFGR_MTIHEN(value) (GMAC_NCFGR_MTIHEN_Msk & ((value) << GMAC_NCFGR_MTIHEN_Pos))
|
|
#define GMAC_NCFGR_UNIHEN_Pos _U_(7) /**< (GMAC_NCFGR) Unicast Hash Enable Position */
|
|
#define GMAC_NCFGR_UNIHEN_Msk (_U_(0x1) << GMAC_NCFGR_UNIHEN_Pos) /**< (GMAC_NCFGR) Unicast Hash Enable Mask */
|
|
#define GMAC_NCFGR_UNIHEN(value) (GMAC_NCFGR_UNIHEN_Msk & ((value) << GMAC_NCFGR_UNIHEN_Pos))
|
|
#define GMAC_NCFGR_MAXFS_Pos _U_(8) /**< (GMAC_NCFGR) 1536 Maximum Frame Size Position */
|
|
#define GMAC_NCFGR_MAXFS_Msk (_U_(0x1) << GMAC_NCFGR_MAXFS_Pos) /**< (GMAC_NCFGR) 1536 Maximum Frame Size Mask */
|
|
#define GMAC_NCFGR_MAXFS(value) (GMAC_NCFGR_MAXFS_Msk & ((value) << GMAC_NCFGR_MAXFS_Pos))
|
|
#define GMAC_NCFGR_RTY_Pos _U_(12) /**< (GMAC_NCFGR) Retry Test Position */
|
|
#define GMAC_NCFGR_RTY_Msk (_U_(0x1) << GMAC_NCFGR_RTY_Pos) /**< (GMAC_NCFGR) Retry Test Mask */
|
|
#define GMAC_NCFGR_RTY(value) (GMAC_NCFGR_RTY_Msk & ((value) << GMAC_NCFGR_RTY_Pos))
|
|
#define GMAC_NCFGR_PEN_Pos _U_(13) /**< (GMAC_NCFGR) Pause Enable Position */
|
|
#define GMAC_NCFGR_PEN_Msk (_U_(0x1) << GMAC_NCFGR_PEN_Pos) /**< (GMAC_NCFGR) Pause Enable Mask */
|
|
#define GMAC_NCFGR_PEN(value) (GMAC_NCFGR_PEN_Msk & ((value) << GMAC_NCFGR_PEN_Pos))
|
|
#define GMAC_NCFGR_RXBUFO_Pos _U_(14) /**< (GMAC_NCFGR) Receive Buffer Offset Position */
|
|
#define GMAC_NCFGR_RXBUFO_Msk (_U_(0x3) << GMAC_NCFGR_RXBUFO_Pos) /**< (GMAC_NCFGR) Receive Buffer Offset Mask */
|
|
#define GMAC_NCFGR_RXBUFO(value) (GMAC_NCFGR_RXBUFO_Msk & ((value) << GMAC_NCFGR_RXBUFO_Pos))
|
|
#define GMAC_NCFGR_LFERD_Pos _U_(16) /**< (GMAC_NCFGR) Length Field Error Frame Discard Position */
|
|
#define GMAC_NCFGR_LFERD_Msk (_U_(0x1) << GMAC_NCFGR_LFERD_Pos) /**< (GMAC_NCFGR) Length Field Error Frame Discard Mask */
|
|
#define GMAC_NCFGR_LFERD(value) (GMAC_NCFGR_LFERD_Msk & ((value) << GMAC_NCFGR_LFERD_Pos))
|
|
#define GMAC_NCFGR_RFCS_Pos _U_(17) /**< (GMAC_NCFGR) Remove FCS Position */
|
|
#define GMAC_NCFGR_RFCS_Msk (_U_(0x1) << GMAC_NCFGR_RFCS_Pos) /**< (GMAC_NCFGR) Remove FCS Mask */
|
|
#define GMAC_NCFGR_RFCS(value) (GMAC_NCFGR_RFCS_Msk & ((value) << GMAC_NCFGR_RFCS_Pos))
|
|
#define GMAC_NCFGR_CLK_Pos _U_(18) /**< (GMAC_NCFGR) MDC CLock Division Position */
|
|
#define GMAC_NCFGR_CLK_Msk (_U_(0x7) << GMAC_NCFGR_CLK_Pos) /**< (GMAC_NCFGR) MDC CLock Division Mask */
|
|
#define GMAC_NCFGR_CLK(value) (GMAC_NCFGR_CLK_Msk & ((value) << GMAC_NCFGR_CLK_Pos))
|
|
#define GMAC_NCFGR_CLK_MCK_8_Val _U_(0x0) /**< (GMAC_NCFGR) MCK divided by 8 (MCK up to 20 MHz) */
|
|
#define GMAC_NCFGR_CLK_MCK_16_Val _U_(0x1) /**< (GMAC_NCFGR) MCK divided by 16 (MCK up to 40 MHz) */
|
|
#define GMAC_NCFGR_CLK_MCK_32_Val _U_(0x2) /**< (GMAC_NCFGR) MCK divided by 32 (MCK up to 80 MHz) */
|
|
#define GMAC_NCFGR_CLK_MCK_48_Val _U_(0x3) /**< (GMAC_NCFGR) MCK divided by 48 (MCK up to 120 MHz) */
|
|
#define GMAC_NCFGR_CLK_MCK_64_Val _U_(0x4) /**< (GMAC_NCFGR) MCK divided by 64 (MCK up to 160 MHz) */
|
|
#define GMAC_NCFGR_CLK_MCK_96_Val _U_(0x5) /**< (GMAC_NCFGR) MCK divided by 96 (MCK up to 240 MHz) */
|
|
#define GMAC_NCFGR_CLK_MCK_8 (GMAC_NCFGR_CLK_MCK_8_Val << GMAC_NCFGR_CLK_Pos) /**< (GMAC_NCFGR) MCK divided by 8 (MCK up to 20 MHz) Position */
|
|
#define GMAC_NCFGR_CLK_MCK_16 (GMAC_NCFGR_CLK_MCK_16_Val << GMAC_NCFGR_CLK_Pos) /**< (GMAC_NCFGR) MCK divided by 16 (MCK up to 40 MHz) Position */
|
|
#define GMAC_NCFGR_CLK_MCK_32 (GMAC_NCFGR_CLK_MCK_32_Val << GMAC_NCFGR_CLK_Pos) /**< (GMAC_NCFGR) MCK divided by 32 (MCK up to 80 MHz) Position */
|
|
#define GMAC_NCFGR_CLK_MCK_48 (GMAC_NCFGR_CLK_MCK_48_Val << GMAC_NCFGR_CLK_Pos) /**< (GMAC_NCFGR) MCK divided by 48 (MCK up to 120 MHz) Position */
|
|
#define GMAC_NCFGR_CLK_MCK_64 (GMAC_NCFGR_CLK_MCK_64_Val << GMAC_NCFGR_CLK_Pos) /**< (GMAC_NCFGR) MCK divided by 64 (MCK up to 160 MHz) Position */
|
|
#define GMAC_NCFGR_CLK_MCK_96 (GMAC_NCFGR_CLK_MCK_96_Val << GMAC_NCFGR_CLK_Pos) /**< (GMAC_NCFGR) MCK divided by 96 (MCK up to 240 MHz) Position */
|
|
#define GMAC_NCFGR_DBW_Pos _U_(21) /**< (GMAC_NCFGR) Data Bus Width Position */
|
|
#define GMAC_NCFGR_DBW_Msk (_U_(0x3) << GMAC_NCFGR_DBW_Pos) /**< (GMAC_NCFGR) Data Bus Width Mask */
|
|
#define GMAC_NCFGR_DBW(value) (GMAC_NCFGR_DBW_Msk & ((value) << GMAC_NCFGR_DBW_Pos))
|
|
#define GMAC_NCFGR_DCPF_Pos _U_(23) /**< (GMAC_NCFGR) Disable Copy of Pause Frames Position */
|
|
#define GMAC_NCFGR_DCPF_Msk (_U_(0x1) << GMAC_NCFGR_DCPF_Pos) /**< (GMAC_NCFGR) Disable Copy of Pause Frames Mask */
|
|
#define GMAC_NCFGR_DCPF(value) (GMAC_NCFGR_DCPF_Msk & ((value) << GMAC_NCFGR_DCPF_Pos))
|
|
#define GMAC_NCFGR_RXCOEN_Pos _U_(24) /**< (GMAC_NCFGR) Receive Checksum Offload Enable Position */
|
|
#define GMAC_NCFGR_RXCOEN_Msk (_U_(0x1) << GMAC_NCFGR_RXCOEN_Pos) /**< (GMAC_NCFGR) Receive Checksum Offload Enable Mask */
|
|
#define GMAC_NCFGR_RXCOEN(value) (GMAC_NCFGR_RXCOEN_Msk & ((value) << GMAC_NCFGR_RXCOEN_Pos))
|
|
#define GMAC_NCFGR_EFRHD_Pos _U_(25) /**< (GMAC_NCFGR) Enable Frames Received in Half Duplex Position */
|
|
#define GMAC_NCFGR_EFRHD_Msk (_U_(0x1) << GMAC_NCFGR_EFRHD_Pos) /**< (GMAC_NCFGR) Enable Frames Received in Half Duplex Mask */
|
|
#define GMAC_NCFGR_EFRHD(value) (GMAC_NCFGR_EFRHD_Msk & ((value) << GMAC_NCFGR_EFRHD_Pos))
|
|
#define GMAC_NCFGR_IRXFCS_Pos _U_(26) /**< (GMAC_NCFGR) Ignore RX FCS Position */
|
|
#define GMAC_NCFGR_IRXFCS_Msk (_U_(0x1) << GMAC_NCFGR_IRXFCS_Pos) /**< (GMAC_NCFGR) Ignore RX FCS Mask */
|
|
#define GMAC_NCFGR_IRXFCS(value) (GMAC_NCFGR_IRXFCS_Msk & ((value) << GMAC_NCFGR_IRXFCS_Pos))
|
|
#define GMAC_NCFGR_IPGSEN_Pos _U_(28) /**< (GMAC_NCFGR) IP Stretch Enable Position */
|
|
#define GMAC_NCFGR_IPGSEN_Msk (_U_(0x1) << GMAC_NCFGR_IPGSEN_Pos) /**< (GMAC_NCFGR) IP Stretch Enable Mask */
|
|
#define GMAC_NCFGR_IPGSEN(value) (GMAC_NCFGR_IPGSEN_Msk & ((value) << GMAC_NCFGR_IPGSEN_Pos))
|
|
#define GMAC_NCFGR_RXBP_Pos _U_(29) /**< (GMAC_NCFGR) Receive Bad Preamble Position */
|
|
#define GMAC_NCFGR_RXBP_Msk (_U_(0x1) << GMAC_NCFGR_RXBP_Pos) /**< (GMAC_NCFGR) Receive Bad Preamble Mask */
|
|
#define GMAC_NCFGR_RXBP(value) (GMAC_NCFGR_RXBP_Msk & ((value) << GMAC_NCFGR_RXBP_Pos))
|
|
#define GMAC_NCFGR_IRXER_Pos _U_(30) /**< (GMAC_NCFGR) Ignore IPG GRXER Position */
|
|
#define GMAC_NCFGR_IRXER_Msk (_U_(0x1) << GMAC_NCFGR_IRXER_Pos) /**< (GMAC_NCFGR) Ignore IPG GRXER Mask */
|
|
#define GMAC_NCFGR_IRXER(value) (GMAC_NCFGR_IRXER_Msk & ((value) << GMAC_NCFGR_IRXER_Pos))
|
|
#define GMAC_NCFGR_Msk _U_(0x77FFF1FF) /**< (GMAC_NCFGR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_NSR : (GMAC Offset: 0x08) ( R/ 32) Network Status Register -------- */
|
|
#define GMAC_NSR_MDIO_Pos _U_(1) /**< (GMAC_NSR) MDIO Input Status Position */
|
|
#define GMAC_NSR_MDIO_Msk (_U_(0x1) << GMAC_NSR_MDIO_Pos) /**< (GMAC_NSR) MDIO Input Status Mask */
|
|
#define GMAC_NSR_MDIO(value) (GMAC_NSR_MDIO_Msk & ((value) << GMAC_NSR_MDIO_Pos))
|
|
#define GMAC_NSR_IDLE_Pos _U_(2) /**< (GMAC_NSR) PHY Management Logic Idle Position */
|
|
#define GMAC_NSR_IDLE_Msk (_U_(0x1) << GMAC_NSR_IDLE_Pos) /**< (GMAC_NSR) PHY Management Logic Idle Mask */
|
|
#define GMAC_NSR_IDLE(value) (GMAC_NSR_IDLE_Msk & ((value) << GMAC_NSR_IDLE_Pos))
|
|
#define GMAC_NSR_Msk _U_(0x00000006) /**< (GMAC_NSR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_UR : (GMAC Offset: 0x0C) (R/W 32) User Register -------- */
|
|
#define GMAC_UR_RMII_Pos _U_(0) /**< (GMAC_UR) Reduced MII Mode Position */
|
|
#define GMAC_UR_RMII_Msk (_U_(0x1) << GMAC_UR_RMII_Pos) /**< (GMAC_UR) Reduced MII Mode Mask */
|
|
#define GMAC_UR_RMII(value) (GMAC_UR_RMII_Msk & ((value) << GMAC_UR_RMII_Pos))
|
|
#define GMAC_UR_Msk _U_(0x00000001) /**< (GMAC_UR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_DCFGR : (GMAC Offset: 0x10) (R/W 32) DMA Configuration Register -------- */
|
|
#define GMAC_DCFGR_FBLDO_Pos _U_(0) /**< (GMAC_DCFGR) Fixed Burst Length for DMA Data Operations: Position */
|
|
#define GMAC_DCFGR_FBLDO_Msk (_U_(0x1F) << GMAC_DCFGR_FBLDO_Pos) /**< (GMAC_DCFGR) Fixed Burst Length for DMA Data Operations: Mask */
|
|
#define GMAC_DCFGR_FBLDO(value) (GMAC_DCFGR_FBLDO_Msk & ((value) << GMAC_DCFGR_FBLDO_Pos))
|
|
#define GMAC_DCFGR_FBLDO_SINGLE_Val _U_(0x1) /**< (GMAC_DCFGR) 00001: Always use SINGLE AHB bursts */
|
|
#define GMAC_DCFGR_FBLDO_INCR4_Val _U_(0x4) /**< (GMAC_DCFGR) 001xx: Attempt to use INCR4 AHB bursts (Default) */
|
|
#define GMAC_DCFGR_FBLDO_INCR8_Val _U_(0x8) /**< (GMAC_DCFGR) 01xxx: Attempt to use INCR8 AHB bursts */
|
|
#define GMAC_DCFGR_FBLDO_INCR16_Val _U_(0x10) /**< (GMAC_DCFGR) 1xxxx: Attempt to use INCR16 AHB bursts */
|
|
#define GMAC_DCFGR_FBLDO_SINGLE (GMAC_DCFGR_FBLDO_SINGLE_Val << GMAC_DCFGR_FBLDO_Pos) /**< (GMAC_DCFGR) 00001: Always use SINGLE AHB bursts Position */
|
|
#define GMAC_DCFGR_FBLDO_INCR4 (GMAC_DCFGR_FBLDO_INCR4_Val << GMAC_DCFGR_FBLDO_Pos) /**< (GMAC_DCFGR) 001xx: Attempt to use INCR4 AHB bursts (Default) Position */
|
|
#define GMAC_DCFGR_FBLDO_INCR8 (GMAC_DCFGR_FBLDO_INCR8_Val << GMAC_DCFGR_FBLDO_Pos) /**< (GMAC_DCFGR) 01xxx: Attempt to use INCR8 AHB bursts Position */
|
|
#define GMAC_DCFGR_FBLDO_INCR16 (GMAC_DCFGR_FBLDO_INCR16_Val << GMAC_DCFGR_FBLDO_Pos) /**< (GMAC_DCFGR) 1xxxx: Attempt to use INCR16 AHB bursts Position */
|
|
#define GMAC_DCFGR_ESMA_Pos _U_(6) /**< (GMAC_DCFGR) Endian Swap Mode Enable for Management Descriptor Accesses Position */
|
|
#define GMAC_DCFGR_ESMA_Msk (_U_(0x1) << GMAC_DCFGR_ESMA_Pos) /**< (GMAC_DCFGR) Endian Swap Mode Enable for Management Descriptor Accesses Mask */
|
|
#define GMAC_DCFGR_ESMA(value) (GMAC_DCFGR_ESMA_Msk & ((value) << GMAC_DCFGR_ESMA_Pos))
|
|
#define GMAC_DCFGR_ESPA_Pos _U_(7) /**< (GMAC_DCFGR) Endian Swap Mode Enable for Packet Data Accesses Position */
|
|
#define GMAC_DCFGR_ESPA_Msk (_U_(0x1) << GMAC_DCFGR_ESPA_Pos) /**< (GMAC_DCFGR) Endian Swap Mode Enable for Packet Data Accesses Mask */
|
|
#define GMAC_DCFGR_ESPA(value) (GMAC_DCFGR_ESPA_Msk & ((value) << GMAC_DCFGR_ESPA_Pos))
|
|
#define GMAC_DCFGR_RXBMS_Pos _U_(8) /**< (GMAC_DCFGR) Receiver Packet Buffer Memory Size Select Position */
|
|
#define GMAC_DCFGR_RXBMS_Msk (_U_(0x3) << GMAC_DCFGR_RXBMS_Pos) /**< (GMAC_DCFGR) Receiver Packet Buffer Memory Size Select Mask */
|
|
#define GMAC_DCFGR_RXBMS(value) (GMAC_DCFGR_RXBMS_Msk & ((value) << GMAC_DCFGR_RXBMS_Pos))
|
|
#define GMAC_DCFGR_RXBMS_EIGHTH_Val _U_(0x0) /**< (GMAC_DCFGR) 4/8 Kbyte Memory Size */
|
|
#define GMAC_DCFGR_RXBMS_QUARTER_Val _U_(0x1) /**< (GMAC_DCFGR) 4/4 Kbytes Memory Size */
|
|
#define GMAC_DCFGR_RXBMS_HALF_Val _U_(0x2) /**< (GMAC_DCFGR) 4/2 Kbytes Memory Size */
|
|
#define GMAC_DCFGR_RXBMS_FULL_Val _U_(0x3) /**< (GMAC_DCFGR) 4 Kbytes Memory Size */
|
|
#define GMAC_DCFGR_RXBMS_EIGHTH (GMAC_DCFGR_RXBMS_EIGHTH_Val << GMAC_DCFGR_RXBMS_Pos) /**< (GMAC_DCFGR) 4/8 Kbyte Memory Size Position */
|
|
#define GMAC_DCFGR_RXBMS_QUARTER (GMAC_DCFGR_RXBMS_QUARTER_Val << GMAC_DCFGR_RXBMS_Pos) /**< (GMAC_DCFGR) 4/4 Kbytes Memory Size Position */
|
|
#define GMAC_DCFGR_RXBMS_HALF (GMAC_DCFGR_RXBMS_HALF_Val << GMAC_DCFGR_RXBMS_Pos) /**< (GMAC_DCFGR) 4/2 Kbytes Memory Size Position */
|
|
#define GMAC_DCFGR_RXBMS_FULL (GMAC_DCFGR_RXBMS_FULL_Val << GMAC_DCFGR_RXBMS_Pos) /**< (GMAC_DCFGR) 4 Kbytes Memory Size Position */
|
|
#define GMAC_DCFGR_TXPBMS_Pos _U_(10) /**< (GMAC_DCFGR) Transmitter Packet Buffer Memory Size Select Position */
|
|
#define GMAC_DCFGR_TXPBMS_Msk (_U_(0x1) << GMAC_DCFGR_TXPBMS_Pos) /**< (GMAC_DCFGR) Transmitter Packet Buffer Memory Size Select Mask */
|
|
#define GMAC_DCFGR_TXPBMS(value) (GMAC_DCFGR_TXPBMS_Msk & ((value) << GMAC_DCFGR_TXPBMS_Pos))
|
|
#define GMAC_DCFGR_TXCOEN_Pos _U_(11) /**< (GMAC_DCFGR) Transmitter Checksum Generation Offload Enable Position */
|
|
#define GMAC_DCFGR_TXCOEN_Msk (_U_(0x1) << GMAC_DCFGR_TXCOEN_Pos) /**< (GMAC_DCFGR) Transmitter Checksum Generation Offload Enable Mask */
|
|
#define GMAC_DCFGR_TXCOEN(value) (GMAC_DCFGR_TXCOEN_Msk & ((value) << GMAC_DCFGR_TXCOEN_Pos))
|
|
#define GMAC_DCFGR_DRBS_Pos _U_(16) /**< (GMAC_DCFGR) DMA Receive Buffer Size Position */
|
|
#define GMAC_DCFGR_DRBS_Msk (_U_(0xFF) << GMAC_DCFGR_DRBS_Pos) /**< (GMAC_DCFGR) DMA Receive Buffer Size Mask */
|
|
#define GMAC_DCFGR_DRBS(value) (GMAC_DCFGR_DRBS_Msk & ((value) << GMAC_DCFGR_DRBS_Pos))
|
|
#define GMAC_DCFGR_DDRP_Pos _U_(24) /**< (GMAC_DCFGR) DMA Discard Receive Packets Position */
|
|
#define GMAC_DCFGR_DDRP_Msk (_U_(0x1) << GMAC_DCFGR_DDRP_Pos) /**< (GMAC_DCFGR) DMA Discard Receive Packets Mask */
|
|
#define GMAC_DCFGR_DDRP(value) (GMAC_DCFGR_DDRP_Msk & ((value) << GMAC_DCFGR_DDRP_Pos))
|
|
#define GMAC_DCFGR_Msk _U_(0x01FF0FDF) /**< (GMAC_DCFGR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TSR : (GMAC Offset: 0x14) (R/W 32) Transmit Status Register -------- */
|
|
#define GMAC_TSR_UBR_Pos _U_(0) /**< (GMAC_TSR) Used Bit Read Position */
|
|
#define GMAC_TSR_UBR_Msk (_U_(0x1) << GMAC_TSR_UBR_Pos) /**< (GMAC_TSR) Used Bit Read Mask */
|
|
#define GMAC_TSR_UBR(value) (GMAC_TSR_UBR_Msk & ((value) << GMAC_TSR_UBR_Pos))
|
|
#define GMAC_TSR_COL_Pos _U_(1) /**< (GMAC_TSR) Collision Occurred Position */
|
|
#define GMAC_TSR_COL_Msk (_U_(0x1) << GMAC_TSR_COL_Pos) /**< (GMAC_TSR) Collision Occurred Mask */
|
|
#define GMAC_TSR_COL(value) (GMAC_TSR_COL_Msk & ((value) << GMAC_TSR_COL_Pos))
|
|
#define GMAC_TSR_RLE_Pos _U_(2) /**< (GMAC_TSR) Retry Limit Exceeded Position */
|
|
#define GMAC_TSR_RLE_Msk (_U_(0x1) << GMAC_TSR_RLE_Pos) /**< (GMAC_TSR) Retry Limit Exceeded Mask */
|
|
#define GMAC_TSR_RLE(value) (GMAC_TSR_RLE_Msk & ((value) << GMAC_TSR_RLE_Pos))
|
|
#define GMAC_TSR_TXGO_Pos _U_(3) /**< (GMAC_TSR) Transmit Go Position */
|
|
#define GMAC_TSR_TXGO_Msk (_U_(0x1) << GMAC_TSR_TXGO_Pos) /**< (GMAC_TSR) Transmit Go Mask */
|
|
#define GMAC_TSR_TXGO(value) (GMAC_TSR_TXGO_Msk & ((value) << GMAC_TSR_TXGO_Pos))
|
|
#define GMAC_TSR_TFC_Pos _U_(4) /**< (GMAC_TSR) Transmit Frame Corruption Due to AHB Error Position */
|
|
#define GMAC_TSR_TFC_Msk (_U_(0x1) << GMAC_TSR_TFC_Pos) /**< (GMAC_TSR) Transmit Frame Corruption Due to AHB Error Mask */
|
|
#define GMAC_TSR_TFC(value) (GMAC_TSR_TFC_Msk & ((value) << GMAC_TSR_TFC_Pos))
|
|
#define GMAC_TSR_TXCOMP_Pos _U_(5) /**< (GMAC_TSR) Transmit Complete Position */
|
|
#define GMAC_TSR_TXCOMP_Msk (_U_(0x1) << GMAC_TSR_TXCOMP_Pos) /**< (GMAC_TSR) Transmit Complete Mask */
|
|
#define GMAC_TSR_TXCOMP(value) (GMAC_TSR_TXCOMP_Msk & ((value) << GMAC_TSR_TXCOMP_Pos))
|
|
#define GMAC_TSR_HRESP_Pos _U_(8) /**< (GMAC_TSR) HRESP Not OK Position */
|
|
#define GMAC_TSR_HRESP_Msk (_U_(0x1) << GMAC_TSR_HRESP_Pos) /**< (GMAC_TSR) HRESP Not OK Mask */
|
|
#define GMAC_TSR_HRESP(value) (GMAC_TSR_HRESP_Msk & ((value) << GMAC_TSR_HRESP_Pos))
|
|
#define GMAC_TSR_Msk _U_(0x0000013F) /**< (GMAC_TSR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RBQB : (GMAC Offset: 0x18) (R/W 32) Receive Buffer Queue Base Address Register -------- */
|
|
#define GMAC_RBQB_ADDR_Pos _U_(2) /**< (GMAC_RBQB) Receive Buffer Queue Base Address Position */
|
|
#define GMAC_RBQB_ADDR_Msk (_U_(0x3FFFFFFF) << GMAC_RBQB_ADDR_Pos) /**< (GMAC_RBQB) Receive Buffer Queue Base Address Mask */
|
|
#define GMAC_RBQB_ADDR(value) (GMAC_RBQB_ADDR_Msk & ((value) << GMAC_RBQB_ADDR_Pos))
|
|
#define GMAC_RBQB_Msk _U_(0xFFFFFFFC) /**< (GMAC_RBQB) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBQB : (GMAC Offset: 0x1C) (R/W 32) Transmit Buffer Queue Base Address Register -------- */
|
|
#define GMAC_TBQB_ADDR_Pos _U_(2) /**< (GMAC_TBQB) Transmit Buffer Queue Base Address Position */
|
|
#define GMAC_TBQB_ADDR_Msk (_U_(0x3FFFFFFF) << GMAC_TBQB_ADDR_Pos) /**< (GMAC_TBQB) Transmit Buffer Queue Base Address Mask */
|
|
#define GMAC_TBQB_ADDR(value) (GMAC_TBQB_ADDR_Msk & ((value) << GMAC_TBQB_ADDR_Pos))
|
|
#define GMAC_TBQB_Msk _U_(0xFFFFFFFC) /**< (GMAC_TBQB) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RSR : (GMAC Offset: 0x20) (R/W 32) Receive Status Register -------- */
|
|
#define GMAC_RSR_BNA_Pos _U_(0) /**< (GMAC_RSR) Buffer Not Available Position */
|
|
#define GMAC_RSR_BNA_Msk (_U_(0x1) << GMAC_RSR_BNA_Pos) /**< (GMAC_RSR) Buffer Not Available Mask */
|
|
#define GMAC_RSR_BNA(value) (GMAC_RSR_BNA_Msk & ((value) << GMAC_RSR_BNA_Pos))
|
|
#define GMAC_RSR_REC_Pos _U_(1) /**< (GMAC_RSR) Frame Received Position */
|
|
#define GMAC_RSR_REC_Msk (_U_(0x1) << GMAC_RSR_REC_Pos) /**< (GMAC_RSR) Frame Received Mask */
|
|
#define GMAC_RSR_REC(value) (GMAC_RSR_REC_Msk & ((value) << GMAC_RSR_REC_Pos))
|
|
#define GMAC_RSR_RXOVR_Pos _U_(2) /**< (GMAC_RSR) Receive Overrun Position */
|
|
#define GMAC_RSR_RXOVR_Msk (_U_(0x1) << GMAC_RSR_RXOVR_Pos) /**< (GMAC_RSR) Receive Overrun Mask */
|
|
#define GMAC_RSR_RXOVR(value) (GMAC_RSR_RXOVR_Msk & ((value) << GMAC_RSR_RXOVR_Pos))
|
|
#define GMAC_RSR_HNO_Pos _U_(3) /**< (GMAC_RSR) HRESP Not OK Position */
|
|
#define GMAC_RSR_HNO_Msk (_U_(0x1) << GMAC_RSR_HNO_Pos) /**< (GMAC_RSR) HRESP Not OK Mask */
|
|
#define GMAC_RSR_HNO(value) (GMAC_RSR_HNO_Msk & ((value) << GMAC_RSR_HNO_Pos))
|
|
#define GMAC_RSR_Msk _U_(0x0000000F) /**< (GMAC_RSR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ISR : (GMAC Offset: 0x24) ( R/ 32) Interrupt Status Register -------- */
|
|
#define GMAC_ISR_MFS_Pos _U_(0) /**< (GMAC_ISR) Management Frame Sent Position */
|
|
#define GMAC_ISR_MFS_Msk (_U_(0x1) << GMAC_ISR_MFS_Pos) /**< (GMAC_ISR) Management Frame Sent Mask */
|
|
#define GMAC_ISR_MFS(value) (GMAC_ISR_MFS_Msk & ((value) << GMAC_ISR_MFS_Pos))
|
|
#define GMAC_ISR_RCOMP_Pos _U_(1) /**< (GMAC_ISR) Receive Complete Position */
|
|
#define GMAC_ISR_RCOMP_Msk (_U_(0x1) << GMAC_ISR_RCOMP_Pos) /**< (GMAC_ISR) Receive Complete Mask */
|
|
#define GMAC_ISR_RCOMP(value) (GMAC_ISR_RCOMP_Msk & ((value) << GMAC_ISR_RCOMP_Pos))
|
|
#define GMAC_ISR_RXUBR_Pos _U_(2) /**< (GMAC_ISR) RX Used Bit Read Position */
|
|
#define GMAC_ISR_RXUBR_Msk (_U_(0x1) << GMAC_ISR_RXUBR_Pos) /**< (GMAC_ISR) RX Used Bit Read Mask */
|
|
#define GMAC_ISR_RXUBR(value) (GMAC_ISR_RXUBR_Msk & ((value) << GMAC_ISR_RXUBR_Pos))
|
|
#define GMAC_ISR_TXUBR_Pos _U_(3) /**< (GMAC_ISR) TX Used Bit Read Position */
|
|
#define GMAC_ISR_TXUBR_Msk (_U_(0x1) << GMAC_ISR_TXUBR_Pos) /**< (GMAC_ISR) TX Used Bit Read Mask */
|
|
#define GMAC_ISR_TXUBR(value) (GMAC_ISR_TXUBR_Msk & ((value) << GMAC_ISR_TXUBR_Pos))
|
|
#define GMAC_ISR_TUR_Pos _U_(4) /**< (GMAC_ISR) Transmit Underrun Position */
|
|
#define GMAC_ISR_TUR_Msk (_U_(0x1) << GMAC_ISR_TUR_Pos) /**< (GMAC_ISR) Transmit Underrun Mask */
|
|
#define GMAC_ISR_TUR(value) (GMAC_ISR_TUR_Msk & ((value) << GMAC_ISR_TUR_Pos))
|
|
#define GMAC_ISR_RLEX_Pos _U_(5) /**< (GMAC_ISR) Retry Limit Exceeded Position */
|
|
#define GMAC_ISR_RLEX_Msk (_U_(0x1) << GMAC_ISR_RLEX_Pos) /**< (GMAC_ISR) Retry Limit Exceeded Mask */
|
|
#define GMAC_ISR_RLEX(value) (GMAC_ISR_RLEX_Msk & ((value) << GMAC_ISR_RLEX_Pos))
|
|
#define GMAC_ISR_TFC_Pos _U_(6) /**< (GMAC_ISR) Transmit Frame Corruption Due to AHB Error Position */
|
|
#define GMAC_ISR_TFC_Msk (_U_(0x1) << GMAC_ISR_TFC_Pos) /**< (GMAC_ISR) Transmit Frame Corruption Due to AHB Error Mask */
|
|
#define GMAC_ISR_TFC(value) (GMAC_ISR_TFC_Msk & ((value) << GMAC_ISR_TFC_Pos))
|
|
#define GMAC_ISR_TCOMP_Pos _U_(7) /**< (GMAC_ISR) Transmit Complete Position */
|
|
#define GMAC_ISR_TCOMP_Msk (_U_(0x1) << GMAC_ISR_TCOMP_Pos) /**< (GMAC_ISR) Transmit Complete Mask */
|
|
#define GMAC_ISR_TCOMP(value) (GMAC_ISR_TCOMP_Msk & ((value) << GMAC_ISR_TCOMP_Pos))
|
|
#define GMAC_ISR_ROVR_Pos _U_(10) /**< (GMAC_ISR) Receive Overrun Position */
|
|
#define GMAC_ISR_ROVR_Msk (_U_(0x1) << GMAC_ISR_ROVR_Pos) /**< (GMAC_ISR) Receive Overrun Mask */
|
|
#define GMAC_ISR_ROVR(value) (GMAC_ISR_ROVR_Msk & ((value) << GMAC_ISR_ROVR_Pos))
|
|
#define GMAC_ISR_HRESP_Pos _U_(11) /**< (GMAC_ISR) HRESP Not OK Position */
|
|
#define GMAC_ISR_HRESP_Msk (_U_(0x1) << GMAC_ISR_HRESP_Pos) /**< (GMAC_ISR) HRESP Not OK Mask */
|
|
#define GMAC_ISR_HRESP(value) (GMAC_ISR_HRESP_Msk & ((value) << GMAC_ISR_HRESP_Pos))
|
|
#define GMAC_ISR_PFNZ_Pos _U_(12) /**< (GMAC_ISR) Pause Frame with Non-zero Pause Quantum Received Position */
|
|
#define GMAC_ISR_PFNZ_Msk (_U_(0x1) << GMAC_ISR_PFNZ_Pos) /**< (GMAC_ISR) Pause Frame with Non-zero Pause Quantum Received Mask */
|
|
#define GMAC_ISR_PFNZ(value) (GMAC_ISR_PFNZ_Msk & ((value) << GMAC_ISR_PFNZ_Pos))
|
|
#define GMAC_ISR_PTZ_Pos _U_(13) /**< (GMAC_ISR) Pause Time Zero Position */
|
|
#define GMAC_ISR_PTZ_Msk (_U_(0x1) << GMAC_ISR_PTZ_Pos) /**< (GMAC_ISR) Pause Time Zero Mask */
|
|
#define GMAC_ISR_PTZ(value) (GMAC_ISR_PTZ_Msk & ((value) << GMAC_ISR_PTZ_Pos))
|
|
#define GMAC_ISR_PFTR_Pos _U_(14) /**< (GMAC_ISR) Pause Frame Transmitted Position */
|
|
#define GMAC_ISR_PFTR_Msk (_U_(0x1) << GMAC_ISR_PFTR_Pos) /**< (GMAC_ISR) Pause Frame Transmitted Mask */
|
|
#define GMAC_ISR_PFTR(value) (GMAC_ISR_PFTR_Msk & ((value) << GMAC_ISR_PFTR_Pos))
|
|
#define GMAC_ISR_DRQFR_Pos _U_(18) /**< (GMAC_ISR) PTP Delay Request Frame Received Position */
|
|
#define GMAC_ISR_DRQFR_Msk (_U_(0x1) << GMAC_ISR_DRQFR_Pos) /**< (GMAC_ISR) PTP Delay Request Frame Received Mask */
|
|
#define GMAC_ISR_DRQFR(value) (GMAC_ISR_DRQFR_Msk & ((value) << GMAC_ISR_DRQFR_Pos))
|
|
#define GMAC_ISR_SFR_Pos _U_(19) /**< (GMAC_ISR) PTP Sync Frame Received Position */
|
|
#define GMAC_ISR_SFR_Msk (_U_(0x1) << GMAC_ISR_SFR_Pos) /**< (GMAC_ISR) PTP Sync Frame Received Mask */
|
|
#define GMAC_ISR_SFR(value) (GMAC_ISR_SFR_Msk & ((value) << GMAC_ISR_SFR_Pos))
|
|
#define GMAC_ISR_DRQFT_Pos _U_(20) /**< (GMAC_ISR) PTP Delay Request Frame Transmitted Position */
|
|
#define GMAC_ISR_DRQFT_Msk (_U_(0x1) << GMAC_ISR_DRQFT_Pos) /**< (GMAC_ISR) PTP Delay Request Frame Transmitted Mask */
|
|
#define GMAC_ISR_DRQFT(value) (GMAC_ISR_DRQFT_Msk & ((value) << GMAC_ISR_DRQFT_Pos))
|
|
#define GMAC_ISR_SFT_Pos _U_(21) /**< (GMAC_ISR) PTP Sync Frame Transmitted Position */
|
|
#define GMAC_ISR_SFT_Msk (_U_(0x1) << GMAC_ISR_SFT_Pos) /**< (GMAC_ISR) PTP Sync Frame Transmitted Mask */
|
|
#define GMAC_ISR_SFT(value) (GMAC_ISR_SFT_Msk & ((value) << GMAC_ISR_SFT_Pos))
|
|
#define GMAC_ISR_PDRQFR_Pos _U_(22) /**< (GMAC_ISR) PDelay Request Frame Received Position */
|
|
#define GMAC_ISR_PDRQFR_Msk (_U_(0x1) << GMAC_ISR_PDRQFR_Pos) /**< (GMAC_ISR) PDelay Request Frame Received Mask */
|
|
#define GMAC_ISR_PDRQFR(value) (GMAC_ISR_PDRQFR_Msk & ((value) << GMAC_ISR_PDRQFR_Pos))
|
|
#define GMAC_ISR_PDRSFR_Pos _U_(23) /**< (GMAC_ISR) PDelay Response Frame Received Position */
|
|
#define GMAC_ISR_PDRSFR_Msk (_U_(0x1) << GMAC_ISR_PDRSFR_Pos) /**< (GMAC_ISR) PDelay Response Frame Received Mask */
|
|
#define GMAC_ISR_PDRSFR(value) (GMAC_ISR_PDRSFR_Msk & ((value) << GMAC_ISR_PDRSFR_Pos))
|
|
#define GMAC_ISR_PDRQFT_Pos _U_(24) /**< (GMAC_ISR) PDelay Request Frame Transmitted Position */
|
|
#define GMAC_ISR_PDRQFT_Msk (_U_(0x1) << GMAC_ISR_PDRQFT_Pos) /**< (GMAC_ISR) PDelay Request Frame Transmitted Mask */
|
|
#define GMAC_ISR_PDRQFT(value) (GMAC_ISR_PDRQFT_Msk & ((value) << GMAC_ISR_PDRQFT_Pos))
|
|
#define GMAC_ISR_PDRSFT_Pos _U_(25) /**< (GMAC_ISR) PDelay Response Frame Transmitted Position */
|
|
#define GMAC_ISR_PDRSFT_Msk (_U_(0x1) << GMAC_ISR_PDRSFT_Pos) /**< (GMAC_ISR) PDelay Response Frame Transmitted Mask */
|
|
#define GMAC_ISR_PDRSFT(value) (GMAC_ISR_PDRSFT_Msk & ((value) << GMAC_ISR_PDRSFT_Pos))
|
|
#define GMAC_ISR_SRI_Pos _U_(26) /**< (GMAC_ISR) TSU Seconds Register Increment Position */
|
|
#define GMAC_ISR_SRI_Msk (_U_(0x1) << GMAC_ISR_SRI_Pos) /**< (GMAC_ISR) TSU Seconds Register Increment Mask */
|
|
#define GMAC_ISR_SRI(value) (GMAC_ISR_SRI_Msk & ((value) << GMAC_ISR_SRI_Pos))
|
|
#define GMAC_ISR_WOL_Pos _U_(28) /**< (GMAC_ISR) Wake On LAN Position */
|
|
#define GMAC_ISR_WOL_Msk (_U_(0x1) << GMAC_ISR_WOL_Pos) /**< (GMAC_ISR) Wake On LAN Mask */
|
|
#define GMAC_ISR_WOL(value) (GMAC_ISR_WOL_Msk & ((value) << GMAC_ISR_WOL_Pos))
|
|
#define GMAC_ISR_Msk _U_(0x17FC7CFF) /**< (GMAC_ISR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_IER : (GMAC Offset: 0x28) ( /W 32) Interrupt Enable Register -------- */
|
|
#define GMAC_IER_MFS_Pos _U_(0) /**< (GMAC_IER) Management Frame Sent Position */
|
|
#define GMAC_IER_MFS_Msk (_U_(0x1) << GMAC_IER_MFS_Pos) /**< (GMAC_IER) Management Frame Sent Mask */
|
|
#define GMAC_IER_MFS(value) (GMAC_IER_MFS_Msk & ((value) << GMAC_IER_MFS_Pos))
|
|
#define GMAC_IER_RCOMP_Pos _U_(1) /**< (GMAC_IER) Receive Complete Position */
|
|
#define GMAC_IER_RCOMP_Msk (_U_(0x1) << GMAC_IER_RCOMP_Pos) /**< (GMAC_IER) Receive Complete Mask */
|
|
#define GMAC_IER_RCOMP(value) (GMAC_IER_RCOMP_Msk & ((value) << GMAC_IER_RCOMP_Pos))
|
|
#define GMAC_IER_RXUBR_Pos _U_(2) /**< (GMAC_IER) RX Used Bit Read Position */
|
|
#define GMAC_IER_RXUBR_Msk (_U_(0x1) << GMAC_IER_RXUBR_Pos) /**< (GMAC_IER) RX Used Bit Read Mask */
|
|
#define GMAC_IER_RXUBR(value) (GMAC_IER_RXUBR_Msk & ((value) << GMAC_IER_RXUBR_Pos))
|
|
#define GMAC_IER_TXUBR_Pos _U_(3) /**< (GMAC_IER) TX Used Bit Read Position */
|
|
#define GMAC_IER_TXUBR_Msk (_U_(0x1) << GMAC_IER_TXUBR_Pos) /**< (GMAC_IER) TX Used Bit Read Mask */
|
|
#define GMAC_IER_TXUBR(value) (GMAC_IER_TXUBR_Msk & ((value) << GMAC_IER_TXUBR_Pos))
|
|
#define GMAC_IER_TUR_Pos _U_(4) /**< (GMAC_IER) Transmit Underrun Position */
|
|
#define GMAC_IER_TUR_Msk (_U_(0x1) << GMAC_IER_TUR_Pos) /**< (GMAC_IER) Transmit Underrun Mask */
|
|
#define GMAC_IER_TUR(value) (GMAC_IER_TUR_Msk & ((value) << GMAC_IER_TUR_Pos))
|
|
#define GMAC_IER_RLEX_Pos _U_(5) /**< (GMAC_IER) Retry Limit Exceeded or Late Collision Position */
|
|
#define GMAC_IER_RLEX_Msk (_U_(0x1) << GMAC_IER_RLEX_Pos) /**< (GMAC_IER) Retry Limit Exceeded or Late Collision Mask */
|
|
#define GMAC_IER_RLEX(value) (GMAC_IER_RLEX_Msk & ((value) << GMAC_IER_RLEX_Pos))
|
|
#define GMAC_IER_TFC_Pos _U_(6) /**< (GMAC_IER) Transmit Frame Corruption Due to AHB Error Position */
|
|
#define GMAC_IER_TFC_Msk (_U_(0x1) << GMAC_IER_TFC_Pos) /**< (GMAC_IER) Transmit Frame Corruption Due to AHB Error Mask */
|
|
#define GMAC_IER_TFC(value) (GMAC_IER_TFC_Msk & ((value) << GMAC_IER_TFC_Pos))
|
|
#define GMAC_IER_TCOMP_Pos _U_(7) /**< (GMAC_IER) Transmit Complete Position */
|
|
#define GMAC_IER_TCOMP_Msk (_U_(0x1) << GMAC_IER_TCOMP_Pos) /**< (GMAC_IER) Transmit Complete Mask */
|
|
#define GMAC_IER_TCOMP(value) (GMAC_IER_TCOMP_Msk & ((value) << GMAC_IER_TCOMP_Pos))
|
|
#define GMAC_IER_ROVR_Pos _U_(10) /**< (GMAC_IER) Receive Overrun Position */
|
|
#define GMAC_IER_ROVR_Msk (_U_(0x1) << GMAC_IER_ROVR_Pos) /**< (GMAC_IER) Receive Overrun Mask */
|
|
#define GMAC_IER_ROVR(value) (GMAC_IER_ROVR_Msk & ((value) << GMAC_IER_ROVR_Pos))
|
|
#define GMAC_IER_HRESP_Pos _U_(11) /**< (GMAC_IER) HRESP Not OK Position */
|
|
#define GMAC_IER_HRESP_Msk (_U_(0x1) << GMAC_IER_HRESP_Pos) /**< (GMAC_IER) HRESP Not OK Mask */
|
|
#define GMAC_IER_HRESP(value) (GMAC_IER_HRESP_Msk & ((value) << GMAC_IER_HRESP_Pos))
|
|
#define GMAC_IER_PFNZ_Pos _U_(12) /**< (GMAC_IER) Pause Frame with Non-zero Pause Quantum Received Position */
|
|
#define GMAC_IER_PFNZ_Msk (_U_(0x1) << GMAC_IER_PFNZ_Pos) /**< (GMAC_IER) Pause Frame with Non-zero Pause Quantum Received Mask */
|
|
#define GMAC_IER_PFNZ(value) (GMAC_IER_PFNZ_Msk & ((value) << GMAC_IER_PFNZ_Pos))
|
|
#define GMAC_IER_PTZ_Pos _U_(13) /**< (GMAC_IER) Pause Time Zero Position */
|
|
#define GMAC_IER_PTZ_Msk (_U_(0x1) << GMAC_IER_PTZ_Pos) /**< (GMAC_IER) Pause Time Zero Mask */
|
|
#define GMAC_IER_PTZ(value) (GMAC_IER_PTZ_Msk & ((value) << GMAC_IER_PTZ_Pos))
|
|
#define GMAC_IER_PFTR_Pos _U_(14) /**< (GMAC_IER) Pause Frame Transmitted Position */
|
|
#define GMAC_IER_PFTR_Msk (_U_(0x1) << GMAC_IER_PFTR_Pos) /**< (GMAC_IER) Pause Frame Transmitted Mask */
|
|
#define GMAC_IER_PFTR(value) (GMAC_IER_PFTR_Msk & ((value) << GMAC_IER_PFTR_Pos))
|
|
#define GMAC_IER_EXINT_Pos _U_(15) /**< (GMAC_IER) External Interrupt Position */
|
|
#define GMAC_IER_EXINT_Msk (_U_(0x1) << GMAC_IER_EXINT_Pos) /**< (GMAC_IER) External Interrupt Mask */
|
|
#define GMAC_IER_EXINT(value) (GMAC_IER_EXINT_Msk & ((value) << GMAC_IER_EXINT_Pos))
|
|
#define GMAC_IER_DRQFR_Pos _U_(18) /**< (GMAC_IER) PTP Delay Request Frame Received Position */
|
|
#define GMAC_IER_DRQFR_Msk (_U_(0x1) << GMAC_IER_DRQFR_Pos) /**< (GMAC_IER) PTP Delay Request Frame Received Mask */
|
|
#define GMAC_IER_DRQFR(value) (GMAC_IER_DRQFR_Msk & ((value) << GMAC_IER_DRQFR_Pos))
|
|
#define GMAC_IER_SFR_Pos _U_(19) /**< (GMAC_IER) PTP Sync Frame Received Position */
|
|
#define GMAC_IER_SFR_Msk (_U_(0x1) << GMAC_IER_SFR_Pos) /**< (GMAC_IER) PTP Sync Frame Received Mask */
|
|
#define GMAC_IER_SFR(value) (GMAC_IER_SFR_Msk & ((value) << GMAC_IER_SFR_Pos))
|
|
#define GMAC_IER_DRQFT_Pos _U_(20) /**< (GMAC_IER) PTP Delay Request Frame Transmitted Position */
|
|
#define GMAC_IER_DRQFT_Msk (_U_(0x1) << GMAC_IER_DRQFT_Pos) /**< (GMAC_IER) PTP Delay Request Frame Transmitted Mask */
|
|
#define GMAC_IER_DRQFT(value) (GMAC_IER_DRQFT_Msk & ((value) << GMAC_IER_DRQFT_Pos))
|
|
#define GMAC_IER_SFT_Pos _U_(21) /**< (GMAC_IER) PTP Sync Frame Transmitted Position */
|
|
#define GMAC_IER_SFT_Msk (_U_(0x1) << GMAC_IER_SFT_Pos) /**< (GMAC_IER) PTP Sync Frame Transmitted Mask */
|
|
#define GMAC_IER_SFT(value) (GMAC_IER_SFT_Msk & ((value) << GMAC_IER_SFT_Pos))
|
|
#define GMAC_IER_PDRQFR_Pos _U_(22) /**< (GMAC_IER) PDelay Request Frame Received Position */
|
|
#define GMAC_IER_PDRQFR_Msk (_U_(0x1) << GMAC_IER_PDRQFR_Pos) /**< (GMAC_IER) PDelay Request Frame Received Mask */
|
|
#define GMAC_IER_PDRQFR(value) (GMAC_IER_PDRQFR_Msk & ((value) << GMAC_IER_PDRQFR_Pos))
|
|
#define GMAC_IER_PDRSFR_Pos _U_(23) /**< (GMAC_IER) PDelay Response Frame Received Position */
|
|
#define GMAC_IER_PDRSFR_Msk (_U_(0x1) << GMAC_IER_PDRSFR_Pos) /**< (GMAC_IER) PDelay Response Frame Received Mask */
|
|
#define GMAC_IER_PDRSFR(value) (GMAC_IER_PDRSFR_Msk & ((value) << GMAC_IER_PDRSFR_Pos))
|
|
#define GMAC_IER_PDRQFT_Pos _U_(24) /**< (GMAC_IER) PDelay Request Frame Transmitted Position */
|
|
#define GMAC_IER_PDRQFT_Msk (_U_(0x1) << GMAC_IER_PDRQFT_Pos) /**< (GMAC_IER) PDelay Request Frame Transmitted Mask */
|
|
#define GMAC_IER_PDRQFT(value) (GMAC_IER_PDRQFT_Msk & ((value) << GMAC_IER_PDRQFT_Pos))
|
|
#define GMAC_IER_PDRSFT_Pos _U_(25) /**< (GMAC_IER) PDelay Response Frame Transmitted Position */
|
|
#define GMAC_IER_PDRSFT_Msk (_U_(0x1) << GMAC_IER_PDRSFT_Pos) /**< (GMAC_IER) PDelay Response Frame Transmitted Mask */
|
|
#define GMAC_IER_PDRSFT(value) (GMAC_IER_PDRSFT_Msk & ((value) << GMAC_IER_PDRSFT_Pos))
|
|
#define GMAC_IER_SRI_Pos _U_(26) /**< (GMAC_IER) TSU Seconds Register Increment Position */
|
|
#define GMAC_IER_SRI_Msk (_U_(0x1) << GMAC_IER_SRI_Pos) /**< (GMAC_IER) TSU Seconds Register Increment Mask */
|
|
#define GMAC_IER_SRI(value) (GMAC_IER_SRI_Msk & ((value) << GMAC_IER_SRI_Pos))
|
|
#define GMAC_IER_WOL_Pos _U_(28) /**< (GMAC_IER) Wake On LAN Position */
|
|
#define GMAC_IER_WOL_Msk (_U_(0x1) << GMAC_IER_WOL_Pos) /**< (GMAC_IER) Wake On LAN Mask */
|
|
#define GMAC_IER_WOL(value) (GMAC_IER_WOL_Msk & ((value) << GMAC_IER_WOL_Pos))
|
|
#define GMAC_IER_Msk _U_(0x17FCFCFF) /**< (GMAC_IER) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_IDR : (GMAC Offset: 0x2C) ( /W 32) Interrupt Disable Register -------- */
|
|
#define GMAC_IDR_MFS_Pos _U_(0) /**< (GMAC_IDR) Management Frame Sent Position */
|
|
#define GMAC_IDR_MFS_Msk (_U_(0x1) << GMAC_IDR_MFS_Pos) /**< (GMAC_IDR) Management Frame Sent Mask */
|
|
#define GMAC_IDR_MFS(value) (GMAC_IDR_MFS_Msk & ((value) << GMAC_IDR_MFS_Pos))
|
|
#define GMAC_IDR_RCOMP_Pos _U_(1) /**< (GMAC_IDR) Receive Complete Position */
|
|
#define GMAC_IDR_RCOMP_Msk (_U_(0x1) << GMAC_IDR_RCOMP_Pos) /**< (GMAC_IDR) Receive Complete Mask */
|
|
#define GMAC_IDR_RCOMP(value) (GMAC_IDR_RCOMP_Msk & ((value) << GMAC_IDR_RCOMP_Pos))
|
|
#define GMAC_IDR_RXUBR_Pos _U_(2) /**< (GMAC_IDR) RX Used Bit Read Position */
|
|
#define GMAC_IDR_RXUBR_Msk (_U_(0x1) << GMAC_IDR_RXUBR_Pos) /**< (GMAC_IDR) RX Used Bit Read Mask */
|
|
#define GMAC_IDR_RXUBR(value) (GMAC_IDR_RXUBR_Msk & ((value) << GMAC_IDR_RXUBR_Pos))
|
|
#define GMAC_IDR_TXUBR_Pos _U_(3) /**< (GMAC_IDR) TX Used Bit Read Position */
|
|
#define GMAC_IDR_TXUBR_Msk (_U_(0x1) << GMAC_IDR_TXUBR_Pos) /**< (GMAC_IDR) TX Used Bit Read Mask */
|
|
#define GMAC_IDR_TXUBR(value) (GMAC_IDR_TXUBR_Msk & ((value) << GMAC_IDR_TXUBR_Pos))
|
|
#define GMAC_IDR_TUR_Pos _U_(4) /**< (GMAC_IDR) Transmit Underrun Position */
|
|
#define GMAC_IDR_TUR_Msk (_U_(0x1) << GMAC_IDR_TUR_Pos) /**< (GMAC_IDR) Transmit Underrun Mask */
|
|
#define GMAC_IDR_TUR(value) (GMAC_IDR_TUR_Msk & ((value) << GMAC_IDR_TUR_Pos))
|
|
#define GMAC_IDR_RLEX_Pos _U_(5) /**< (GMAC_IDR) Retry Limit Exceeded or Late Collision Position */
|
|
#define GMAC_IDR_RLEX_Msk (_U_(0x1) << GMAC_IDR_RLEX_Pos) /**< (GMAC_IDR) Retry Limit Exceeded or Late Collision Mask */
|
|
#define GMAC_IDR_RLEX(value) (GMAC_IDR_RLEX_Msk & ((value) << GMAC_IDR_RLEX_Pos))
|
|
#define GMAC_IDR_TFC_Pos _U_(6) /**< (GMAC_IDR) Transmit Frame Corruption Due to AHB Error Position */
|
|
#define GMAC_IDR_TFC_Msk (_U_(0x1) << GMAC_IDR_TFC_Pos) /**< (GMAC_IDR) Transmit Frame Corruption Due to AHB Error Mask */
|
|
#define GMAC_IDR_TFC(value) (GMAC_IDR_TFC_Msk & ((value) << GMAC_IDR_TFC_Pos))
|
|
#define GMAC_IDR_TCOMP_Pos _U_(7) /**< (GMAC_IDR) Transmit Complete Position */
|
|
#define GMAC_IDR_TCOMP_Msk (_U_(0x1) << GMAC_IDR_TCOMP_Pos) /**< (GMAC_IDR) Transmit Complete Mask */
|
|
#define GMAC_IDR_TCOMP(value) (GMAC_IDR_TCOMP_Msk & ((value) << GMAC_IDR_TCOMP_Pos))
|
|
#define GMAC_IDR_ROVR_Pos _U_(10) /**< (GMAC_IDR) Receive Overrun Position */
|
|
#define GMAC_IDR_ROVR_Msk (_U_(0x1) << GMAC_IDR_ROVR_Pos) /**< (GMAC_IDR) Receive Overrun Mask */
|
|
#define GMAC_IDR_ROVR(value) (GMAC_IDR_ROVR_Msk & ((value) << GMAC_IDR_ROVR_Pos))
|
|
#define GMAC_IDR_HRESP_Pos _U_(11) /**< (GMAC_IDR) HRESP Not OK Position */
|
|
#define GMAC_IDR_HRESP_Msk (_U_(0x1) << GMAC_IDR_HRESP_Pos) /**< (GMAC_IDR) HRESP Not OK Mask */
|
|
#define GMAC_IDR_HRESP(value) (GMAC_IDR_HRESP_Msk & ((value) << GMAC_IDR_HRESP_Pos))
|
|
#define GMAC_IDR_PFNZ_Pos _U_(12) /**< (GMAC_IDR) Pause Frame with Non-zero Pause Quantum Received Position */
|
|
#define GMAC_IDR_PFNZ_Msk (_U_(0x1) << GMAC_IDR_PFNZ_Pos) /**< (GMAC_IDR) Pause Frame with Non-zero Pause Quantum Received Mask */
|
|
#define GMAC_IDR_PFNZ(value) (GMAC_IDR_PFNZ_Msk & ((value) << GMAC_IDR_PFNZ_Pos))
|
|
#define GMAC_IDR_PTZ_Pos _U_(13) /**< (GMAC_IDR) Pause Time Zero Position */
|
|
#define GMAC_IDR_PTZ_Msk (_U_(0x1) << GMAC_IDR_PTZ_Pos) /**< (GMAC_IDR) Pause Time Zero Mask */
|
|
#define GMAC_IDR_PTZ(value) (GMAC_IDR_PTZ_Msk & ((value) << GMAC_IDR_PTZ_Pos))
|
|
#define GMAC_IDR_PFTR_Pos _U_(14) /**< (GMAC_IDR) Pause Frame Transmitted Position */
|
|
#define GMAC_IDR_PFTR_Msk (_U_(0x1) << GMAC_IDR_PFTR_Pos) /**< (GMAC_IDR) Pause Frame Transmitted Mask */
|
|
#define GMAC_IDR_PFTR(value) (GMAC_IDR_PFTR_Msk & ((value) << GMAC_IDR_PFTR_Pos))
|
|
#define GMAC_IDR_EXINT_Pos _U_(15) /**< (GMAC_IDR) External Interrupt Position */
|
|
#define GMAC_IDR_EXINT_Msk (_U_(0x1) << GMAC_IDR_EXINT_Pos) /**< (GMAC_IDR) External Interrupt Mask */
|
|
#define GMAC_IDR_EXINT(value) (GMAC_IDR_EXINT_Msk & ((value) << GMAC_IDR_EXINT_Pos))
|
|
#define GMAC_IDR_DRQFR_Pos _U_(18) /**< (GMAC_IDR) PTP Delay Request Frame Received Position */
|
|
#define GMAC_IDR_DRQFR_Msk (_U_(0x1) << GMAC_IDR_DRQFR_Pos) /**< (GMAC_IDR) PTP Delay Request Frame Received Mask */
|
|
#define GMAC_IDR_DRQFR(value) (GMAC_IDR_DRQFR_Msk & ((value) << GMAC_IDR_DRQFR_Pos))
|
|
#define GMAC_IDR_SFR_Pos _U_(19) /**< (GMAC_IDR) PTP Sync Frame Received Position */
|
|
#define GMAC_IDR_SFR_Msk (_U_(0x1) << GMAC_IDR_SFR_Pos) /**< (GMAC_IDR) PTP Sync Frame Received Mask */
|
|
#define GMAC_IDR_SFR(value) (GMAC_IDR_SFR_Msk & ((value) << GMAC_IDR_SFR_Pos))
|
|
#define GMAC_IDR_DRQFT_Pos _U_(20) /**< (GMAC_IDR) PTP Delay Request Frame Transmitted Position */
|
|
#define GMAC_IDR_DRQFT_Msk (_U_(0x1) << GMAC_IDR_DRQFT_Pos) /**< (GMAC_IDR) PTP Delay Request Frame Transmitted Mask */
|
|
#define GMAC_IDR_DRQFT(value) (GMAC_IDR_DRQFT_Msk & ((value) << GMAC_IDR_DRQFT_Pos))
|
|
#define GMAC_IDR_SFT_Pos _U_(21) /**< (GMAC_IDR) PTP Sync Frame Transmitted Position */
|
|
#define GMAC_IDR_SFT_Msk (_U_(0x1) << GMAC_IDR_SFT_Pos) /**< (GMAC_IDR) PTP Sync Frame Transmitted Mask */
|
|
#define GMAC_IDR_SFT(value) (GMAC_IDR_SFT_Msk & ((value) << GMAC_IDR_SFT_Pos))
|
|
#define GMAC_IDR_PDRQFR_Pos _U_(22) /**< (GMAC_IDR) PDelay Request Frame Received Position */
|
|
#define GMAC_IDR_PDRQFR_Msk (_U_(0x1) << GMAC_IDR_PDRQFR_Pos) /**< (GMAC_IDR) PDelay Request Frame Received Mask */
|
|
#define GMAC_IDR_PDRQFR(value) (GMAC_IDR_PDRQFR_Msk & ((value) << GMAC_IDR_PDRQFR_Pos))
|
|
#define GMAC_IDR_PDRSFR_Pos _U_(23) /**< (GMAC_IDR) PDelay Response Frame Received Position */
|
|
#define GMAC_IDR_PDRSFR_Msk (_U_(0x1) << GMAC_IDR_PDRSFR_Pos) /**< (GMAC_IDR) PDelay Response Frame Received Mask */
|
|
#define GMAC_IDR_PDRSFR(value) (GMAC_IDR_PDRSFR_Msk & ((value) << GMAC_IDR_PDRSFR_Pos))
|
|
#define GMAC_IDR_PDRQFT_Pos _U_(24) /**< (GMAC_IDR) PDelay Request Frame Transmitted Position */
|
|
#define GMAC_IDR_PDRQFT_Msk (_U_(0x1) << GMAC_IDR_PDRQFT_Pos) /**< (GMAC_IDR) PDelay Request Frame Transmitted Mask */
|
|
#define GMAC_IDR_PDRQFT(value) (GMAC_IDR_PDRQFT_Msk & ((value) << GMAC_IDR_PDRQFT_Pos))
|
|
#define GMAC_IDR_PDRSFT_Pos _U_(25) /**< (GMAC_IDR) PDelay Response Frame Transmitted Position */
|
|
#define GMAC_IDR_PDRSFT_Msk (_U_(0x1) << GMAC_IDR_PDRSFT_Pos) /**< (GMAC_IDR) PDelay Response Frame Transmitted Mask */
|
|
#define GMAC_IDR_PDRSFT(value) (GMAC_IDR_PDRSFT_Msk & ((value) << GMAC_IDR_PDRSFT_Pos))
|
|
#define GMAC_IDR_SRI_Pos _U_(26) /**< (GMAC_IDR) TSU Seconds Register Increment Position */
|
|
#define GMAC_IDR_SRI_Msk (_U_(0x1) << GMAC_IDR_SRI_Pos) /**< (GMAC_IDR) TSU Seconds Register Increment Mask */
|
|
#define GMAC_IDR_SRI(value) (GMAC_IDR_SRI_Msk & ((value) << GMAC_IDR_SRI_Pos))
|
|
#define GMAC_IDR_WOL_Pos _U_(28) /**< (GMAC_IDR) Wake On LAN Position */
|
|
#define GMAC_IDR_WOL_Msk (_U_(0x1) << GMAC_IDR_WOL_Pos) /**< (GMAC_IDR) Wake On LAN Mask */
|
|
#define GMAC_IDR_WOL(value) (GMAC_IDR_WOL_Msk & ((value) << GMAC_IDR_WOL_Pos))
|
|
#define GMAC_IDR_Msk _U_(0x17FCFCFF) /**< (GMAC_IDR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_IMR : (GMAC Offset: 0x30) (R/W 32) Interrupt Mask Register -------- */
|
|
#define GMAC_IMR_MFS_Pos _U_(0) /**< (GMAC_IMR) Management Frame Sent Position */
|
|
#define GMAC_IMR_MFS_Msk (_U_(0x1) << GMAC_IMR_MFS_Pos) /**< (GMAC_IMR) Management Frame Sent Mask */
|
|
#define GMAC_IMR_MFS(value) (GMAC_IMR_MFS_Msk & ((value) << GMAC_IMR_MFS_Pos))
|
|
#define GMAC_IMR_RCOMP_Pos _U_(1) /**< (GMAC_IMR) Receive Complete Position */
|
|
#define GMAC_IMR_RCOMP_Msk (_U_(0x1) << GMAC_IMR_RCOMP_Pos) /**< (GMAC_IMR) Receive Complete Mask */
|
|
#define GMAC_IMR_RCOMP(value) (GMAC_IMR_RCOMP_Msk & ((value) << GMAC_IMR_RCOMP_Pos))
|
|
#define GMAC_IMR_RXUBR_Pos _U_(2) /**< (GMAC_IMR) RX Used Bit Read Position */
|
|
#define GMAC_IMR_RXUBR_Msk (_U_(0x1) << GMAC_IMR_RXUBR_Pos) /**< (GMAC_IMR) RX Used Bit Read Mask */
|
|
#define GMAC_IMR_RXUBR(value) (GMAC_IMR_RXUBR_Msk & ((value) << GMAC_IMR_RXUBR_Pos))
|
|
#define GMAC_IMR_TXUBR_Pos _U_(3) /**< (GMAC_IMR) TX Used Bit Read Position */
|
|
#define GMAC_IMR_TXUBR_Msk (_U_(0x1) << GMAC_IMR_TXUBR_Pos) /**< (GMAC_IMR) TX Used Bit Read Mask */
|
|
#define GMAC_IMR_TXUBR(value) (GMAC_IMR_TXUBR_Msk & ((value) << GMAC_IMR_TXUBR_Pos))
|
|
#define GMAC_IMR_TUR_Pos _U_(4) /**< (GMAC_IMR) Transmit Underrun Position */
|
|
#define GMAC_IMR_TUR_Msk (_U_(0x1) << GMAC_IMR_TUR_Pos) /**< (GMAC_IMR) Transmit Underrun Mask */
|
|
#define GMAC_IMR_TUR(value) (GMAC_IMR_TUR_Msk & ((value) << GMAC_IMR_TUR_Pos))
|
|
#define GMAC_IMR_RLEX_Pos _U_(5) /**< (GMAC_IMR) Retry Limit Exceeded Position */
|
|
#define GMAC_IMR_RLEX_Msk (_U_(0x1) << GMAC_IMR_RLEX_Pos) /**< (GMAC_IMR) Retry Limit Exceeded Mask */
|
|
#define GMAC_IMR_RLEX(value) (GMAC_IMR_RLEX_Msk & ((value) << GMAC_IMR_RLEX_Pos))
|
|
#define GMAC_IMR_TFC_Pos _U_(6) /**< (GMAC_IMR) Transmit Frame Corruption Due to AHB Error Position */
|
|
#define GMAC_IMR_TFC_Msk (_U_(0x1) << GMAC_IMR_TFC_Pos) /**< (GMAC_IMR) Transmit Frame Corruption Due to AHB Error Mask */
|
|
#define GMAC_IMR_TFC(value) (GMAC_IMR_TFC_Msk & ((value) << GMAC_IMR_TFC_Pos))
|
|
#define GMAC_IMR_TCOMP_Pos _U_(7) /**< (GMAC_IMR) Transmit Complete Position */
|
|
#define GMAC_IMR_TCOMP_Msk (_U_(0x1) << GMAC_IMR_TCOMP_Pos) /**< (GMAC_IMR) Transmit Complete Mask */
|
|
#define GMAC_IMR_TCOMP(value) (GMAC_IMR_TCOMP_Msk & ((value) << GMAC_IMR_TCOMP_Pos))
|
|
#define GMAC_IMR_ROVR_Pos _U_(10) /**< (GMAC_IMR) Receive Overrun Position */
|
|
#define GMAC_IMR_ROVR_Msk (_U_(0x1) << GMAC_IMR_ROVR_Pos) /**< (GMAC_IMR) Receive Overrun Mask */
|
|
#define GMAC_IMR_ROVR(value) (GMAC_IMR_ROVR_Msk & ((value) << GMAC_IMR_ROVR_Pos))
|
|
#define GMAC_IMR_HRESP_Pos _U_(11) /**< (GMAC_IMR) HRESP Not OK Position */
|
|
#define GMAC_IMR_HRESP_Msk (_U_(0x1) << GMAC_IMR_HRESP_Pos) /**< (GMAC_IMR) HRESP Not OK Mask */
|
|
#define GMAC_IMR_HRESP(value) (GMAC_IMR_HRESP_Msk & ((value) << GMAC_IMR_HRESP_Pos))
|
|
#define GMAC_IMR_PFNZ_Pos _U_(12) /**< (GMAC_IMR) Pause Frame with Non-zero Pause Quantum Received Position */
|
|
#define GMAC_IMR_PFNZ_Msk (_U_(0x1) << GMAC_IMR_PFNZ_Pos) /**< (GMAC_IMR) Pause Frame with Non-zero Pause Quantum Received Mask */
|
|
#define GMAC_IMR_PFNZ(value) (GMAC_IMR_PFNZ_Msk & ((value) << GMAC_IMR_PFNZ_Pos))
|
|
#define GMAC_IMR_PTZ_Pos _U_(13) /**< (GMAC_IMR) Pause Time Zero Position */
|
|
#define GMAC_IMR_PTZ_Msk (_U_(0x1) << GMAC_IMR_PTZ_Pos) /**< (GMAC_IMR) Pause Time Zero Mask */
|
|
#define GMAC_IMR_PTZ(value) (GMAC_IMR_PTZ_Msk & ((value) << GMAC_IMR_PTZ_Pos))
|
|
#define GMAC_IMR_PFTR_Pos _U_(14) /**< (GMAC_IMR) Pause Frame Transmitted Position */
|
|
#define GMAC_IMR_PFTR_Msk (_U_(0x1) << GMAC_IMR_PFTR_Pos) /**< (GMAC_IMR) Pause Frame Transmitted Mask */
|
|
#define GMAC_IMR_PFTR(value) (GMAC_IMR_PFTR_Msk & ((value) << GMAC_IMR_PFTR_Pos))
|
|
#define GMAC_IMR_EXINT_Pos _U_(15) /**< (GMAC_IMR) External Interrupt Position */
|
|
#define GMAC_IMR_EXINT_Msk (_U_(0x1) << GMAC_IMR_EXINT_Pos) /**< (GMAC_IMR) External Interrupt Mask */
|
|
#define GMAC_IMR_EXINT(value) (GMAC_IMR_EXINT_Msk & ((value) << GMAC_IMR_EXINT_Pos))
|
|
#define GMAC_IMR_DRQFR_Pos _U_(18) /**< (GMAC_IMR) PTP Delay Request Frame Received Position */
|
|
#define GMAC_IMR_DRQFR_Msk (_U_(0x1) << GMAC_IMR_DRQFR_Pos) /**< (GMAC_IMR) PTP Delay Request Frame Received Mask */
|
|
#define GMAC_IMR_DRQFR(value) (GMAC_IMR_DRQFR_Msk & ((value) << GMAC_IMR_DRQFR_Pos))
|
|
#define GMAC_IMR_SFR_Pos _U_(19) /**< (GMAC_IMR) PTP Sync Frame Received Position */
|
|
#define GMAC_IMR_SFR_Msk (_U_(0x1) << GMAC_IMR_SFR_Pos) /**< (GMAC_IMR) PTP Sync Frame Received Mask */
|
|
#define GMAC_IMR_SFR(value) (GMAC_IMR_SFR_Msk & ((value) << GMAC_IMR_SFR_Pos))
|
|
#define GMAC_IMR_DRQFT_Pos _U_(20) /**< (GMAC_IMR) PTP Delay Request Frame Transmitted Position */
|
|
#define GMAC_IMR_DRQFT_Msk (_U_(0x1) << GMAC_IMR_DRQFT_Pos) /**< (GMAC_IMR) PTP Delay Request Frame Transmitted Mask */
|
|
#define GMAC_IMR_DRQFT(value) (GMAC_IMR_DRQFT_Msk & ((value) << GMAC_IMR_DRQFT_Pos))
|
|
#define GMAC_IMR_SFT_Pos _U_(21) /**< (GMAC_IMR) PTP Sync Frame Transmitted Position */
|
|
#define GMAC_IMR_SFT_Msk (_U_(0x1) << GMAC_IMR_SFT_Pos) /**< (GMAC_IMR) PTP Sync Frame Transmitted Mask */
|
|
#define GMAC_IMR_SFT(value) (GMAC_IMR_SFT_Msk & ((value) << GMAC_IMR_SFT_Pos))
|
|
#define GMAC_IMR_PDRQFR_Pos _U_(22) /**< (GMAC_IMR) PDelay Request Frame Received Position */
|
|
#define GMAC_IMR_PDRQFR_Msk (_U_(0x1) << GMAC_IMR_PDRQFR_Pos) /**< (GMAC_IMR) PDelay Request Frame Received Mask */
|
|
#define GMAC_IMR_PDRQFR(value) (GMAC_IMR_PDRQFR_Msk & ((value) << GMAC_IMR_PDRQFR_Pos))
|
|
#define GMAC_IMR_PDRSFR_Pos _U_(23) /**< (GMAC_IMR) PDelay Response Frame Received Position */
|
|
#define GMAC_IMR_PDRSFR_Msk (_U_(0x1) << GMAC_IMR_PDRSFR_Pos) /**< (GMAC_IMR) PDelay Response Frame Received Mask */
|
|
#define GMAC_IMR_PDRSFR(value) (GMAC_IMR_PDRSFR_Msk & ((value) << GMAC_IMR_PDRSFR_Pos))
|
|
#define GMAC_IMR_PDRQFT_Pos _U_(24) /**< (GMAC_IMR) PDelay Request Frame Transmitted Position */
|
|
#define GMAC_IMR_PDRQFT_Msk (_U_(0x1) << GMAC_IMR_PDRQFT_Pos) /**< (GMAC_IMR) PDelay Request Frame Transmitted Mask */
|
|
#define GMAC_IMR_PDRQFT(value) (GMAC_IMR_PDRQFT_Msk & ((value) << GMAC_IMR_PDRQFT_Pos))
|
|
#define GMAC_IMR_PDRSFT_Pos _U_(25) /**< (GMAC_IMR) PDelay Response Frame Transmitted Position */
|
|
#define GMAC_IMR_PDRSFT_Msk (_U_(0x1) << GMAC_IMR_PDRSFT_Pos) /**< (GMAC_IMR) PDelay Response Frame Transmitted Mask */
|
|
#define GMAC_IMR_PDRSFT(value) (GMAC_IMR_PDRSFT_Msk & ((value) << GMAC_IMR_PDRSFT_Pos))
|
|
#define GMAC_IMR_SRI_Pos _U_(26) /**< (GMAC_IMR) TSU Seconds Register Increment Position */
|
|
#define GMAC_IMR_SRI_Msk (_U_(0x1) << GMAC_IMR_SRI_Pos) /**< (GMAC_IMR) TSU Seconds Register Increment Mask */
|
|
#define GMAC_IMR_SRI(value) (GMAC_IMR_SRI_Msk & ((value) << GMAC_IMR_SRI_Pos))
|
|
#define GMAC_IMR_WOL_Pos _U_(28) /**< (GMAC_IMR) Wake On LAN Position */
|
|
#define GMAC_IMR_WOL_Msk (_U_(0x1) << GMAC_IMR_WOL_Pos) /**< (GMAC_IMR) Wake On LAN Mask */
|
|
#define GMAC_IMR_WOL(value) (GMAC_IMR_WOL_Msk & ((value) << GMAC_IMR_WOL_Pos))
|
|
#define GMAC_IMR_Msk _U_(0x17FCFCFF) /**< (GMAC_IMR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_MAN : (GMAC Offset: 0x34) (R/W 32) PHY Maintenance Register -------- */
|
|
#define GMAC_MAN_DATA_Pos _U_(0) /**< (GMAC_MAN) PHY Data Position */
|
|
#define GMAC_MAN_DATA_Msk (_U_(0xFFFF) << GMAC_MAN_DATA_Pos) /**< (GMAC_MAN) PHY Data Mask */
|
|
#define GMAC_MAN_DATA(value) (GMAC_MAN_DATA_Msk & ((value) << GMAC_MAN_DATA_Pos))
|
|
#define GMAC_MAN_WTN_Pos _U_(16) /**< (GMAC_MAN) Write Ten Position */
|
|
#define GMAC_MAN_WTN_Msk (_U_(0x3) << GMAC_MAN_WTN_Pos) /**< (GMAC_MAN) Write Ten Mask */
|
|
#define GMAC_MAN_WTN(value) (GMAC_MAN_WTN_Msk & ((value) << GMAC_MAN_WTN_Pos))
|
|
#define GMAC_MAN_REGA_Pos _U_(18) /**< (GMAC_MAN) Register Address Position */
|
|
#define GMAC_MAN_REGA_Msk (_U_(0x1F) << GMAC_MAN_REGA_Pos) /**< (GMAC_MAN) Register Address Mask */
|
|
#define GMAC_MAN_REGA(value) (GMAC_MAN_REGA_Msk & ((value) << GMAC_MAN_REGA_Pos))
|
|
#define GMAC_MAN_PHYA_Pos _U_(23) /**< (GMAC_MAN) PHY Address Position */
|
|
#define GMAC_MAN_PHYA_Msk (_U_(0x1F) << GMAC_MAN_PHYA_Pos) /**< (GMAC_MAN) PHY Address Mask */
|
|
#define GMAC_MAN_PHYA(value) (GMAC_MAN_PHYA_Msk & ((value) << GMAC_MAN_PHYA_Pos))
|
|
#define GMAC_MAN_OP_Pos _U_(28) /**< (GMAC_MAN) Operation Position */
|
|
#define GMAC_MAN_OP_Msk (_U_(0x3) << GMAC_MAN_OP_Pos) /**< (GMAC_MAN) Operation Mask */
|
|
#define GMAC_MAN_OP(value) (GMAC_MAN_OP_Msk & ((value) << GMAC_MAN_OP_Pos))
|
|
#define GMAC_MAN_CLTTO_Pos _U_(30) /**< (GMAC_MAN) Clause 22 Operation Position */
|
|
#define GMAC_MAN_CLTTO_Msk (_U_(0x1) << GMAC_MAN_CLTTO_Pos) /**< (GMAC_MAN) Clause 22 Operation Mask */
|
|
#define GMAC_MAN_CLTTO(value) (GMAC_MAN_CLTTO_Msk & ((value) << GMAC_MAN_CLTTO_Pos))
|
|
#define GMAC_MAN_WZO_Pos _U_(31) /**< (GMAC_MAN) Write ZERO Position */
|
|
#define GMAC_MAN_WZO_Msk (_U_(0x1) << GMAC_MAN_WZO_Pos) /**< (GMAC_MAN) Write ZERO Mask */
|
|
#define GMAC_MAN_WZO(value) (GMAC_MAN_WZO_Msk & ((value) << GMAC_MAN_WZO_Pos))
|
|
#define GMAC_MAN_Msk _U_(0xFFFFFFFF) /**< (GMAC_MAN) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RPQ : (GMAC Offset: 0x38) ( R/ 32) Received Pause Quantum Register -------- */
|
|
#define GMAC_RPQ_RPQ_Pos _U_(0) /**< (GMAC_RPQ) Received Pause Quantum Position */
|
|
#define GMAC_RPQ_RPQ_Msk (_U_(0xFFFF) << GMAC_RPQ_RPQ_Pos) /**< (GMAC_RPQ) Received Pause Quantum Mask */
|
|
#define GMAC_RPQ_RPQ(value) (GMAC_RPQ_RPQ_Msk & ((value) << GMAC_RPQ_RPQ_Pos))
|
|
#define GMAC_RPQ_Msk _U_(0x0000FFFF) /**< (GMAC_RPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TPQ : (GMAC Offset: 0x3C) (R/W 32) Transmit Pause Quantum Register -------- */
|
|
#define GMAC_TPQ_TPQ_Pos _U_(0) /**< (GMAC_TPQ) Transmit Pause Quantum Position */
|
|
#define GMAC_TPQ_TPQ_Msk (_U_(0xFFFF) << GMAC_TPQ_TPQ_Pos) /**< (GMAC_TPQ) Transmit Pause Quantum Mask */
|
|
#define GMAC_TPQ_TPQ(value) (GMAC_TPQ_TPQ_Msk & ((value) << GMAC_TPQ_TPQ_Pos))
|
|
#define GMAC_TPQ_Msk _U_(0x0000FFFF) /**< (GMAC_TPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TPSF : (GMAC Offset: 0x40) (R/W 32) TX Partial Store and Forward Register -------- */
|
|
#define GMAC_TPSF_TPB1ADR_Pos _U_(0) /**< (GMAC_TPSF) Transmit Partial Store and Forward Address Position */
|
|
#define GMAC_TPSF_TPB1ADR_Msk (_U_(0xFFF) << GMAC_TPSF_TPB1ADR_Pos) /**< (GMAC_TPSF) Transmit Partial Store and Forward Address Mask */
|
|
#define GMAC_TPSF_TPB1ADR(value) (GMAC_TPSF_TPB1ADR_Msk & ((value) << GMAC_TPSF_TPB1ADR_Pos))
|
|
#define GMAC_TPSF_ENTXP_Pos _U_(31) /**< (GMAC_TPSF) Enable TX Partial Store and Forward Operation Position */
|
|
#define GMAC_TPSF_ENTXP_Msk (_U_(0x1) << GMAC_TPSF_ENTXP_Pos) /**< (GMAC_TPSF) Enable TX Partial Store and Forward Operation Mask */
|
|
#define GMAC_TPSF_ENTXP(value) (GMAC_TPSF_ENTXP_Msk & ((value) << GMAC_TPSF_ENTXP_Pos))
|
|
#define GMAC_TPSF_Msk _U_(0x80000FFF) /**< (GMAC_TPSF) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RPSF : (GMAC Offset: 0x44) (R/W 32) RX Partial Store and Forward Register -------- */
|
|
#define GMAC_RPSF_RPB1ADR_Pos _U_(0) /**< (GMAC_RPSF) Receive Partial Store and Forward Address Position */
|
|
#define GMAC_RPSF_RPB1ADR_Msk (_U_(0xFFF) << GMAC_RPSF_RPB1ADR_Pos) /**< (GMAC_RPSF) Receive Partial Store and Forward Address Mask */
|
|
#define GMAC_RPSF_RPB1ADR(value) (GMAC_RPSF_RPB1ADR_Msk & ((value) << GMAC_RPSF_RPB1ADR_Pos))
|
|
#define GMAC_RPSF_ENRXP_Pos _U_(31) /**< (GMAC_RPSF) Enable RX Partial Store and Forward Operation Position */
|
|
#define GMAC_RPSF_ENRXP_Msk (_U_(0x1) << GMAC_RPSF_ENRXP_Pos) /**< (GMAC_RPSF) Enable RX Partial Store and Forward Operation Mask */
|
|
#define GMAC_RPSF_ENRXP(value) (GMAC_RPSF_ENRXP_Msk & ((value) << GMAC_RPSF_ENRXP_Pos))
|
|
#define GMAC_RPSF_Msk _U_(0x80000FFF) /**< (GMAC_RPSF) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RJFML : (GMAC Offset: 0x48) (R/W 32) RX Jumbo Frame Max Length Register -------- */
|
|
#define GMAC_RJFML_FML_Pos _U_(0) /**< (GMAC_RJFML) Frame Max Length Position */
|
|
#define GMAC_RJFML_FML_Msk (_U_(0x3FFF) << GMAC_RJFML_FML_Pos) /**< (GMAC_RJFML) Frame Max Length Mask */
|
|
#define GMAC_RJFML_FML(value) (GMAC_RJFML_FML_Msk & ((value) << GMAC_RJFML_FML_Pos))
|
|
#define GMAC_RJFML_Msk _U_(0x00003FFF) /**< (GMAC_RJFML) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_HRB : (GMAC Offset: 0x80) (R/W 32) Hash Register Bottom -------- */
|
|
#define GMAC_HRB_ADDR_Pos _U_(0) /**< (GMAC_HRB) Hash Address Position */
|
|
#define GMAC_HRB_ADDR_Msk (_U_(0xFFFFFFFF) << GMAC_HRB_ADDR_Pos) /**< (GMAC_HRB) Hash Address Mask */
|
|
#define GMAC_HRB_ADDR(value) (GMAC_HRB_ADDR_Msk & ((value) << GMAC_HRB_ADDR_Pos))
|
|
#define GMAC_HRB_Msk _U_(0xFFFFFFFF) /**< (GMAC_HRB) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_HRT : (GMAC Offset: 0x84) (R/W 32) Hash Register Top -------- */
|
|
#define GMAC_HRT_ADDR_Pos _U_(0) /**< (GMAC_HRT) Hash Address Position */
|
|
#define GMAC_HRT_ADDR_Msk (_U_(0xFFFFFFFF) << GMAC_HRT_ADDR_Pos) /**< (GMAC_HRT) Hash Address Mask */
|
|
#define GMAC_HRT_ADDR(value) (GMAC_HRT_ADDR_Msk & ((value) << GMAC_HRT_ADDR_Pos))
|
|
#define GMAC_HRT_Msk _U_(0xFFFFFFFF) /**< (GMAC_HRT) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TIDM1 : (GMAC Offset: 0xA8) (R/W 32) Type ID Match 1 Register -------- */
|
|
#define GMAC_TIDM1_TID_Pos _U_(0) /**< (GMAC_TIDM1) Type ID Match 1 Position */
|
|
#define GMAC_TIDM1_TID_Msk (_U_(0xFFFF) << GMAC_TIDM1_TID_Pos) /**< (GMAC_TIDM1) Type ID Match 1 Mask */
|
|
#define GMAC_TIDM1_TID(value) (GMAC_TIDM1_TID_Msk & ((value) << GMAC_TIDM1_TID_Pos))
|
|
#define GMAC_TIDM1_ENID1_Pos _U_(31) /**< (GMAC_TIDM1) Enable Copying of TID Matched Frames Position */
|
|
#define GMAC_TIDM1_ENID1_Msk (_U_(0x1) << GMAC_TIDM1_ENID1_Pos) /**< (GMAC_TIDM1) Enable Copying of TID Matched Frames Mask */
|
|
#define GMAC_TIDM1_ENID1(value) (GMAC_TIDM1_ENID1_Msk & ((value) << GMAC_TIDM1_ENID1_Pos))
|
|
#define GMAC_TIDM1_Msk _U_(0x8000FFFF) /**< (GMAC_TIDM1) Register Mask */
|
|
|
|
#define GMAC_TIDM1_ENID_Pos _U_(31) /**< (GMAC_TIDM1 Position) Enable Copying of TID Matched Frames */
|
|
#define GMAC_TIDM1_ENID_Msk (_U_(0x1) << GMAC_TIDM1_ENID_Pos) /**< (GMAC_TIDM1 Mask) ENID */
|
|
#define GMAC_TIDM1_ENID(value) (GMAC_TIDM1_ENID_Msk & ((value) << GMAC_TIDM1_ENID_Pos))
|
|
|
|
/* -------- GMAC_TIDM2 : (GMAC Offset: 0xAC) (R/W 32) Type ID Match 2 Register -------- */
|
|
#define GMAC_TIDM2_TID_Pos _U_(0) /**< (GMAC_TIDM2) Type ID Match 2 Position */
|
|
#define GMAC_TIDM2_TID_Msk (_U_(0xFFFF) << GMAC_TIDM2_TID_Pos) /**< (GMAC_TIDM2) Type ID Match 2 Mask */
|
|
#define GMAC_TIDM2_TID(value) (GMAC_TIDM2_TID_Msk & ((value) << GMAC_TIDM2_TID_Pos))
|
|
#define GMAC_TIDM2_ENID2_Pos _U_(31) /**< (GMAC_TIDM2) Enable Copying of TID Matched Frames Position */
|
|
#define GMAC_TIDM2_ENID2_Msk (_U_(0x1) << GMAC_TIDM2_ENID2_Pos) /**< (GMAC_TIDM2) Enable Copying of TID Matched Frames Mask */
|
|
#define GMAC_TIDM2_ENID2(value) (GMAC_TIDM2_ENID2_Msk & ((value) << GMAC_TIDM2_ENID2_Pos))
|
|
#define GMAC_TIDM2_Msk _U_(0x8000FFFF) /**< (GMAC_TIDM2) Register Mask */
|
|
|
|
#define GMAC_TIDM2_ENID_Pos _U_(31) /**< (GMAC_TIDM2 Position) Enable Copying of TID Matched Frames */
|
|
#define GMAC_TIDM2_ENID_Msk (_U_(0x1) << GMAC_TIDM2_ENID_Pos) /**< (GMAC_TIDM2 Mask) ENID */
|
|
#define GMAC_TIDM2_ENID(value) (GMAC_TIDM2_ENID_Msk & ((value) << GMAC_TIDM2_ENID_Pos))
|
|
|
|
/* -------- GMAC_TIDM3 : (GMAC Offset: 0xB0) (R/W 32) Type ID Match 3 Register -------- */
|
|
#define GMAC_TIDM3_TID_Pos _U_(0) /**< (GMAC_TIDM3) Type ID Match 3 Position */
|
|
#define GMAC_TIDM3_TID_Msk (_U_(0xFFFF) << GMAC_TIDM3_TID_Pos) /**< (GMAC_TIDM3) Type ID Match 3 Mask */
|
|
#define GMAC_TIDM3_TID(value) (GMAC_TIDM3_TID_Msk & ((value) << GMAC_TIDM3_TID_Pos))
|
|
#define GMAC_TIDM3_ENID3_Pos _U_(31) /**< (GMAC_TIDM3) Enable Copying of TID Matched Frames Position */
|
|
#define GMAC_TIDM3_ENID3_Msk (_U_(0x1) << GMAC_TIDM3_ENID3_Pos) /**< (GMAC_TIDM3) Enable Copying of TID Matched Frames Mask */
|
|
#define GMAC_TIDM3_ENID3(value) (GMAC_TIDM3_ENID3_Msk & ((value) << GMAC_TIDM3_ENID3_Pos))
|
|
#define GMAC_TIDM3_Msk _U_(0x8000FFFF) /**< (GMAC_TIDM3) Register Mask */
|
|
|
|
#define GMAC_TIDM3_ENID_Pos _U_(31) /**< (GMAC_TIDM3 Position) Enable Copying of TID Matched Frames */
|
|
#define GMAC_TIDM3_ENID_Msk (_U_(0x1) << GMAC_TIDM3_ENID_Pos) /**< (GMAC_TIDM3 Mask) ENID */
|
|
#define GMAC_TIDM3_ENID(value) (GMAC_TIDM3_ENID_Msk & ((value) << GMAC_TIDM3_ENID_Pos))
|
|
|
|
/* -------- GMAC_TIDM4 : (GMAC Offset: 0xB4) (R/W 32) Type ID Match 4 Register -------- */
|
|
#define GMAC_TIDM4_TID_Pos _U_(0) /**< (GMAC_TIDM4) Type ID Match 4 Position */
|
|
#define GMAC_TIDM4_TID_Msk (_U_(0xFFFF) << GMAC_TIDM4_TID_Pos) /**< (GMAC_TIDM4) Type ID Match 4 Mask */
|
|
#define GMAC_TIDM4_TID(value) (GMAC_TIDM4_TID_Msk & ((value) << GMAC_TIDM4_TID_Pos))
|
|
#define GMAC_TIDM4_ENID4_Pos _U_(31) /**< (GMAC_TIDM4) Enable Copying of TID Matched Frames Position */
|
|
#define GMAC_TIDM4_ENID4_Msk (_U_(0x1) << GMAC_TIDM4_ENID4_Pos) /**< (GMAC_TIDM4) Enable Copying of TID Matched Frames Mask */
|
|
#define GMAC_TIDM4_ENID4(value) (GMAC_TIDM4_ENID4_Msk & ((value) << GMAC_TIDM4_ENID4_Pos))
|
|
#define GMAC_TIDM4_Msk _U_(0x8000FFFF) /**< (GMAC_TIDM4) Register Mask */
|
|
|
|
#define GMAC_TIDM4_ENID_Pos _U_(31) /**< (GMAC_TIDM4 Position) Enable Copying of TID Matched Frames */
|
|
#define GMAC_TIDM4_ENID_Msk (_U_(0x1) << GMAC_TIDM4_ENID_Pos) /**< (GMAC_TIDM4 Mask) ENID */
|
|
#define GMAC_TIDM4_ENID(value) (GMAC_TIDM4_ENID_Msk & ((value) << GMAC_TIDM4_ENID_Pos))
|
|
|
|
/* -------- GMAC_WOL : (GMAC Offset: 0xB8) (R/W 32) Wake on LAN Register -------- */
|
|
#define GMAC_WOL_IP_Pos _U_(0) /**< (GMAC_WOL) ARP Request IP Address Position */
|
|
#define GMAC_WOL_IP_Msk (_U_(0xFFFF) << GMAC_WOL_IP_Pos) /**< (GMAC_WOL) ARP Request IP Address Mask */
|
|
#define GMAC_WOL_IP(value) (GMAC_WOL_IP_Msk & ((value) << GMAC_WOL_IP_Pos))
|
|
#define GMAC_WOL_MAG_Pos _U_(16) /**< (GMAC_WOL) Magic Packet Event Enable Position */
|
|
#define GMAC_WOL_MAG_Msk (_U_(0x1) << GMAC_WOL_MAG_Pos) /**< (GMAC_WOL) Magic Packet Event Enable Mask */
|
|
#define GMAC_WOL_MAG(value) (GMAC_WOL_MAG_Msk & ((value) << GMAC_WOL_MAG_Pos))
|
|
#define GMAC_WOL_ARP_Pos _U_(17) /**< (GMAC_WOL) ARP Request IP Address Position */
|
|
#define GMAC_WOL_ARP_Msk (_U_(0x1) << GMAC_WOL_ARP_Pos) /**< (GMAC_WOL) ARP Request IP Address Mask */
|
|
#define GMAC_WOL_ARP(value) (GMAC_WOL_ARP_Msk & ((value) << GMAC_WOL_ARP_Pos))
|
|
#define GMAC_WOL_SA1_Pos _U_(18) /**< (GMAC_WOL) Specific Address Register 1 Event Enable Position */
|
|
#define GMAC_WOL_SA1_Msk (_U_(0x1) << GMAC_WOL_SA1_Pos) /**< (GMAC_WOL) Specific Address Register 1 Event Enable Mask */
|
|
#define GMAC_WOL_SA1(value) (GMAC_WOL_SA1_Msk & ((value) << GMAC_WOL_SA1_Pos))
|
|
#define GMAC_WOL_MTI_Pos _U_(19) /**< (GMAC_WOL) Multicast Hash Event Enable Position */
|
|
#define GMAC_WOL_MTI_Msk (_U_(0x1) << GMAC_WOL_MTI_Pos) /**< (GMAC_WOL) Multicast Hash Event Enable Mask */
|
|
#define GMAC_WOL_MTI(value) (GMAC_WOL_MTI_Msk & ((value) << GMAC_WOL_MTI_Pos))
|
|
#define GMAC_WOL_Msk _U_(0x000FFFFF) /**< (GMAC_WOL) Register Mask */
|
|
|
|
#define GMAC_WOL_SA_Pos _U_(18) /**< (GMAC_WOL Position) Specific Address Register x Event Enable */
|
|
#define GMAC_WOL_SA_Msk (_U_(0x1) << GMAC_WOL_SA_Pos) /**< (GMAC_WOL Mask) SA */
|
|
#define GMAC_WOL_SA(value) (GMAC_WOL_SA_Msk & ((value) << GMAC_WOL_SA_Pos))
|
|
|
|
/* -------- GMAC_IPGS : (GMAC Offset: 0xBC) (R/W 32) IPG Stretch Register -------- */
|
|
#define GMAC_IPGS_FL_Pos _U_(0) /**< (GMAC_IPGS) Frame Length Position */
|
|
#define GMAC_IPGS_FL_Msk (_U_(0xFFFF) << GMAC_IPGS_FL_Pos) /**< (GMAC_IPGS) Frame Length Mask */
|
|
#define GMAC_IPGS_FL(value) (GMAC_IPGS_FL_Msk & ((value) << GMAC_IPGS_FL_Pos))
|
|
#define GMAC_IPGS_Msk _U_(0x0000FFFF) /**< (GMAC_IPGS) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_SVLAN : (GMAC Offset: 0xC0) (R/W 32) Stacked VLAN Register -------- */
|
|
#define GMAC_SVLAN_VLAN_TYPE_Pos _U_(0) /**< (GMAC_SVLAN) User Defined VLAN_TYPE Field Position */
|
|
#define GMAC_SVLAN_VLAN_TYPE_Msk (_U_(0xFFFF) << GMAC_SVLAN_VLAN_TYPE_Pos) /**< (GMAC_SVLAN) User Defined VLAN_TYPE Field Mask */
|
|
#define GMAC_SVLAN_VLAN_TYPE(value) (GMAC_SVLAN_VLAN_TYPE_Msk & ((value) << GMAC_SVLAN_VLAN_TYPE_Pos))
|
|
#define GMAC_SVLAN_ESVLAN_Pos _U_(31) /**< (GMAC_SVLAN) Enable Stacked VLAN Processing Mode Position */
|
|
#define GMAC_SVLAN_ESVLAN_Msk (_U_(0x1) << GMAC_SVLAN_ESVLAN_Pos) /**< (GMAC_SVLAN) Enable Stacked VLAN Processing Mode Mask */
|
|
#define GMAC_SVLAN_ESVLAN(value) (GMAC_SVLAN_ESVLAN_Msk & ((value) << GMAC_SVLAN_ESVLAN_Pos))
|
|
#define GMAC_SVLAN_Msk _U_(0x8000FFFF) /**< (GMAC_SVLAN) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TPFCP : (GMAC Offset: 0xC4) (R/W 32) Transmit PFC Pause Register -------- */
|
|
#define GMAC_TPFCP_PEV_Pos _U_(0) /**< (GMAC_TPFCP) Priority Enable Vector Position */
|
|
#define GMAC_TPFCP_PEV_Msk (_U_(0xFF) << GMAC_TPFCP_PEV_Pos) /**< (GMAC_TPFCP) Priority Enable Vector Mask */
|
|
#define GMAC_TPFCP_PEV(value) (GMAC_TPFCP_PEV_Msk & ((value) << GMAC_TPFCP_PEV_Pos))
|
|
#define GMAC_TPFCP_PQ_Pos _U_(8) /**< (GMAC_TPFCP) Pause Quantum Position */
|
|
#define GMAC_TPFCP_PQ_Msk (_U_(0xFF) << GMAC_TPFCP_PQ_Pos) /**< (GMAC_TPFCP) Pause Quantum Mask */
|
|
#define GMAC_TPFCP_PQ(value) (GMAC_TPFCP_PQ_Msk & ((value) << GMAC_TPFCP_PQ_Pos))
|
|
#define GMAC_TPFCP_Msk _U_(0x0000FFFF) /**< (GMAC_TPFCP) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_SAMB1 : (GMAC Offset: 0xC8) (R/W 32) Specific Address 1 Mask Bottom Register -------- */
|
|
#define GMAC_SAMB1_ADDR_Pos _U_(0) /**< (GMAC_SAMB1) Specific Address 1 Mask Position */
|
|
#define GMAC_SAMB1_ADDR_Msk (_U_(0xFFFFFFFF) << GMAC_SAMB1_ADDR_Pos) /**< (GMAC_SAMB1) Specific Address 1 Mask Mask */
|
|
#define GMAC_SAMB1_ADDR(value) (GMAC_SAMB1_ADDR_Msk & ((value) << GMAC_SAMB1_ADDR_Pos))
|
|
#define GMAC_SAMB1_Msk _U_(0xFFFFFFFF) /**< (GMAC_SAMB1) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_SAMT1 : (GMAC Offset: 0xCC) (R/W 32) Specific Address 1 Mask Top Register -------- */
|
|
#define GMAC_SAMT1_ADDR_Pos _U_(0) /**< (GMAC_SAMT1) Specific Address 1 Mask Position */
|
|
#define GMAC_SAMT1_ADDR_Msk (_U_(0xFFFF) << GMAC_SAMT1_ADDR_Pos) /**< (GMAC_SAMT1) Specific Address 1 Mask Mask */
|
|
#define GMAC_SAMT1_ADDR(value) (GMAC_SAMT1_ADDR_Msk & ((value) << GMAC_SAMT1_ADDR_Pos))
|
|
#define GMAC_SAMT1_Msk _U_(0x0000FFFF) /**< (GMAC_SAMT1) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_NSC : (GMAC Offset: 0xDC) (R/W 32) 1588 Timer Nanosecond Comparison Register -------- */
|
|
#define GMAC_NSC_NANOSEC_Pos _U_(0) /**< (GMAC_NSC) 1588 Timer Nanosecond Comparison Value Position */
|
|
#define GMAC_NSC_NANOSEC_Msk (_U_(0x3FFFFF) << GMAC_NSC_NANOSEC_Pos) /**< (GMAC_NSC) 1588 Timer Nanosecond Comparison Value Mask */
|
|
#define GMAC_NSC_NANOSEC(value) (GMAC_NSC_NANOSEC_Msk & ((value) << GMAC_NSC_NANOSEC_Pos))
|
|
#define GMAC_NSC_Msk _U_(0x003FFFFF) /**< (GMAC_NSC) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_SCL : (GMAC Offset: 0xE0) (R/W 32) 1588 Timer Second Comparison Low Register -------- */
|
|
#define GMAC_SCL_SEC_Pos _U_(0) /**< (GMAC_SCL) 1588 Timer Second Comparison Value Position */
|
|
#define GMAC_SCL_SEC_Msk (_U_(0xFFFFFFFF) << GMAC_SCL_SEC_Pos) /**< (GMAC_SCL) 1588 Timer Second Comparison Value Mask */
|
|
#define GMAC_SCL_SEC(value) (GMAC_SCL_SEC_Msk & ((value) << GMAC_SCL_SEC_Pos))
|
|
#define GMAC_SCL_Msk _U_(0xFFFFFFFF) /**< (GMAC_SCL) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_SCH : (GMAC Offset: 0xE4) (R/W 32) 1588 Timer Second Comparison High Register -------- */
|
|
#define GMAC_SCH_SEC_Pos _U_(0) /**< (GMAC_SCH) 1588 Timer Second Comparison Value Position */
|
|
#define GMAC_SCH_SEC_Msk (_U_(0xFFFF) << GMAC_SCH_SEC_Pos) /**< (GMAC_SCH) 1588 Timer Second Comparison Value Mask */
|
|
#define GMAC_SCH_SEC(value) (GMAC_SCH_SEC_Msk & ((value) << GMAC_SCH_SEC_Pos))
|
|
#define GMAC_SCH_Msk _U_(0x0000FFFF) /**< (GMAC_SCH) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_EFTSH : (GMAC Offset: 0xE8) ( R/ 32) PTP Event Frame Transmitted Seconds High Register -------- */
|
|
#define GMAC_EFTSH_RUD_Pos _U_(0) /**< (GMAC_EFTSH) Register Update Position */
|
|
#define GMAC_EFTSH_RUD_Msk (_U_(0xFFFF) << GMAC_EFTSH_RUD_Pos) /**< (GMAC_EFTSH) Register Update Mask */
|
|
#define GMAC_EFTSH_RUD(value) (GMAC_EFTSH_RUD_Msk & ((value) << GMAC_EFTSH_RUD_Pos))
|
|
#define GMAC_EFTSH_Msk _U_(0x0000FFFF) /**< (GMAC_EFTSH) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_EFRSH : (GMAC Offset: 0xEC) ( R/ 32) PTP Event Frame Received Seconds High Register -------- */
|
|
#define GMAC_EFRSH_RUD_Pos _U_(0) /**< (GMAC_EFRSH) Register Update Position */
|
|
#define GMAC_EFRSH_RUD_Msk (_U_(0xFFFF) << GMAC_EFRSH_RUD_Pos) /**< (GMAC_EFRSH) Register Update Mask */
|
|
#define GMAC_EFRSH_RUD(value) (GMAC_EFRSH_RUD_Msk & ((value) << GMAC_EFRSH_RUD_Pos))
|
|
#define GMAC_EFRSH_Msk _U_(0x0000FFFF) /**< (GMAC_EFRSH) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_PEFTSH : (GMAC Offset: 0xF0) ( R/ 32) PTP Peer Event Frame Transmitted Seconds High Register -------- */
|
|
#define GMAC_PEFTSH_RUD_Pos _U_(0) /**< (GMAC_PEFTSH) Register Update Position */
|
|
#define GMAC_PEFTSH_RUD_Msk (_U_(0xFFFF) << GMAC_PEFTSH_RUD_Pos) /**< (GMAC_PEFTSH) Register Update Mask */
|
|
#define GMAC_PEFTSH_RUD(value) (GMAC_PEFTSH_RUD_Msk & ((value) << GMAC_PEFTSH_RUD_Pos))
|
|
#define GMAC_PEFTSH_Msk _U_(0x0000FFFF) /**< (GMAC_PEFTSH) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_PEFRSH : (GMAC Offset: 0xF4) ( R/ 32) PTP Peer Event Frame Received Seconds High Register -------- */
|
|
#define GMAC_PEFRSH_RUD_Pos _U_(0) /**< (GMAC_PEFRSH) Register Update Position */
|
|
#define GMAC_PEFRSH_RUD_Msk (_U_(0xFFFF) << GMAC_PEFRSH_RUD_Pos) /**< (GMAC_PEFRSH) Register Update Mask */
|
|
#define GMAC_PEFRSH_RUD(value) (GMAC_PEFRSH_RUD_Msk & ((value) << GMAC_PEFRSH_RUD_Pos))
|
|
#define GMAC_PEFRSH_Msk _U_(0x0000FFFF) /**< (GMAC_PEFRSH) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_OTLO : (GMAC Offset: 0x100) ( R/ 32) Octets Transmitted Low Register -------- */
|
|
#define GMAC_OTLO_TXO_Pos _U_(0) /**< (GMAC_OTLO) Transmitted Octets Position */
|
|
#define GMAC_OTLO_TXO_Msk (_U_(0xFFFFFFFF) << GMAC_OTLO_TXO_Pos) /**< (GMAC_OTLO) Transmitted Octets Mask */
|
|
#define GMAC_OTLO_TXO(value) (GMAC_OTLO_TXO_Msk & ((value) << GMAC_OTLO_TXO_Pos))
|
|
#define GMAC_OTLO_Msk _U_(0xFFFFFFFF) /**< (GMAC_OTLO) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_OTHI : (GMAC Offset: 0x104) ( R/ 32) Octets Transmitted High Register -------- */
|
|
#define GMAC_OTHI_TXO_Pos _U_(0) /**< (GMAC_OTHI) Transmitted Octets Position */
|
|
#define GMAC_OTHI_TXO_Msk (_U_(0xFFFF) << GMAC_OTHI_TXO_Pos) /**< (GMAC_OTHI) Transmitted Octets Mask */
|
|
#define GMAC_OTHI_TXO(value) (GMAC_OTHI_TXO_Msk & ((value) << GMAC_OTHI_TXO_Pos))
|
|
#define GMAC_OTHI_Msk _U_(0x0000FFFF) /**< (GMAC_OTHI) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_FT : (GMAC Offset: 0x108) ( R/ 32) Frames Transmitted Register -------- */
|
|
#define GMAC_FT_FTX_Pos _U_(0) /**< (GMAC_FT) Frames Transmitted without Error Position */
|
|
#define GMAC_FT_FTX_Msk (_U_(0xFFFFFFFF) << GMAC_FT_FTX_Pos) /**< (GMAC_FT) Frames Transmitted without Error Mask */
|
|
#define GMAC_FT_FTX(value) (GMAC_FT_FTX_Msk & ((value) << GMAC_FT_FTX_Pos))
|
|
#define GMAC_FT_Msk _U_(0xFFFFFFFF) /**< (GMAC_FT) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_BCFT : (GMAC Offset: 0x10C) ( R/ 32) Broadcast Frames Transmitted Register -------- */
|
|
#define GMAC_BCFT_BFTX_Pos _U_(0) /**< (GMAC_BCFT) Broadcast Frames Transmitted without Error Position */
|
|
#define GMAC_BCFT_BFTX_Msk (_U_(0xFFFFFFFF) << GMAC_BCFT_BFTX_Pos) /**< (GMAC_BCFT) Broadcast Frames Transmitted without Error Mask */
|
|
#define GMAC_BCFT_BFTX(value) (GMAC_BCFT_BFTX_Msk & ((value) << GMAC_BCFT_BFTX_Pos))
|
|
#define GMAC_BCFT_Msk _U_(0xFFFFFFFF) /**< (GMAC_BCFT) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_MFT : (GMAC Offset: 0x110) ( R/ 32) Multicast Frames Transmitted Register -------- */
|
|
#define GMAC_MFT_MFTX_Pos _U_(0) /**< (GMAC_MFT) Multicast Frames Transmitted without Error Position */
|
|
#define GMAC_MFT_MFTX_Msk (_U_(0xFFFFFFFF) << GMAC_MFT_MFTX_Pos) /**< (GMAC_MFT) Multicast Frames Transmitted without Error Mask */
|
|
#define GMAC_MFT_MFTX(value) (GMAC_MFT_MFTX_Msk & ((value) << GMAC_MFT_MFTX_Pos))
|
|
#define GMAC_MFT_Msk _U_(0xFFFFFFFF) /**< (GMAC_MFT) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_PFT : (GMAC Offset: 0x114) ( R/ 32) Pause Frames Transmitted Register -------- */
|
|
#define GMAC_PFT_PFTX_Pos _U_(0) /**< (GMAC_PFT) Pause Frames Transmitted Register Position */
|
|
#define GMAC_PFT_PFTX_Msk (_U_(0xFFFF) << GMAC_PFT_PFTX_Pos) /**< (GMAC_PFT) Pause Frames Transmitted Register Mask */
|
|
#define GMAC_PFT_PFTX(value) (GMAC_PFT_PFTX_Msk & ((value) << GMAC_PFT_PFTX_Pos))
|
|
#define GMAC_PFT_Msk _U_(0x0000FFFF) /**< (GMAC_PFT) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_BFT64 : (GMAC Offset: 0x118) ( R/ 32) 64 Byte Frames Transmitted Register -------- */
|
|
#define GMAC_BFT64_NFTX_Pos _U_(0) /**< (GMAC_BFT64) 64 Byte Frames Transmitted without Error Position */
|
|
#define GMAC_BFT64_NFTX_Msk (_U_(0xFFFFFFFF) << GMAC_BFT64_NFTX_Pos) /**< (GMAC_BFT64) 64 Byte Frames Transmitted without Error Mask */
|
|
#define GMAC_BFT64_NFTX(value) (GMAC_BFT64_NFTX_Msk & ((value) << GMAC_BFT64_NFTX_Pos))
|
|
#define GMAC_BFT64_Msk _U_(0xFFFFFFFF) /**< (GMAC_BFT64) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFT127 : (GMAC Offset: 0x11C) ( R/ 32) 65 to 127 Byte Frames Transmitted Register -------- */
|
|
#define GMAC_TBFT127_NFTX_Pos _U_(0) /**< (GMAC_TBFT127) 65 to 127 Byte Frames Transmitted without Error Position */
|
|
#define GMAC_TBFT127_NFTX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFT127_NFTX_Pos) /**< (GMAC_TBFT127) 65 to 127 Byte Frames Transmitted without Error Mask */
|
|
#define GMAC_TBFT127_NFTX(value) (GMAC_TBFT127_NFTX_Msk & ((value) << GMAC_TBFT127_NFTX_Pos))
|
|
#define GMAC_TBFT127_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFT127) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFT255 : (GMAC Offset: 0x120) ( R/ 32) 128 to 255 Byte Frames Transmitted Register -------- */
|
|
#define GMAC_TBFT255_NFTX_Pos _U_(0) /**< (GMAC_TBFT255) 128 to 255 Byte Frames Transmitted without Error Position */
|
|
#define GMAC_TBFT255_NFTX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFT255_NFTX_Pos) /**< (GMAC_TBFT255) 128 to 255 Byte Frames Transmitted without Error Mask */
|
|
#define GMAC_TBFT255_NFTX(value) (GMAC_TBFT255_NFTX_Msk & ((value) << GMAC_TBFT255_NFTX_Pos))
|
|
#define GMAC_TBFT255_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFT255) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFT511 : (GMAC Offset: 0x124) ( R/ 32) 256 to 511 Byte Frames Transmitted Register -------- */
|
|
#define GMAC_TBFT511_NFTX_Pos _U_(0) /**< (GMAC_TBFT511) 256 to 511 Byte Frames Transmitted without Error Position */
|
|
#define GMAC_TBFT511_NFTX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFT511_NFTX_Pos) /**< (GMAC_TBFT511) 256 to 511 Byte Frames Transmitted without Error Mask */
|
|
#define GMAC_TBFT511_NFTX(value) (GMAC_TBFT511_NFTX_Msk & ((value) << GMAC_TBFT511_NFTX_Pos))
|
|
#define GMAC_TBFT511_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFT511) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFT1023 : (GMAC Offset: 0x128) ( R/ 32) 512 to 1023 Byte Frames Transmitted Register -------- */
|
|
#define GMAC_TBFT1023_NFTX_Pos _U_(0) /**< (GMAC_TBFT1023) 512 to 1023 Byte Frames Transmitted without Error Position */
|
|
#define GMAC_TBFT1023_NFTX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFT1023_NFTX_Pos) /**< (GMAC_TBFT1023) 512 to 1023 Byte Frames Transmitted without Error Mask */
|
|
#define GMAC_TBFT1023_NFTX(value) (GMAC_TBFT1023_NFTX_Msk & ((value) << GMAC_TBFT1023_NFTX_Pos))
|
|
#define GMAC_TBFT1023_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFT1023) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFT1518 : (GMAC Offset: 0x12C) ( R/ 32) 1024 to 1518 Byte Frames Transmitted Register -------- */
|
|
#define GMAC_TBFT1518_NFTX_Pos _U_(0) /**< (GMAC_TBFT1518) 1024 to 1518 Byte Frames Transmitted without Error Position */
|
|
#define GMAC_TBFT1518_NFTX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFT1518_NFTX_Pos) /**< (GMAC_TBFT1518) 1024 to 1518 Byte Frames Transmitted without Error Mask */
|
|
#define GMAC_TBFT1518_NFTX(value) (GMAC_TBFT1518_NFTX_Msk & ((value) << GMAC_TBFT1518_NFTX_Pos))
|
|
#define GMAC_TBFT1518_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFT1518) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_GTBFT1518 : (GMAC Offset: 0x130) ( R/ 32) Greater Than 1518 Byte Frames Transmitted Register -------- */
|
|
#define GMAC_GTBFT1518_NFTX_Pos _U_(0) /**< (GMAC_GTBFT1518) Greater than 1518 Byte Frames Transmitted without Error Position */
|
|
#define GMAC_GTBFT1518_NFTX_Msk (_U_(0xFFFFFFFF) << GMAC_GTBFT1518_NFTX_Pos) /**< (GMAC_GTBFT1518) Greater than 1518 Byte Frames Transmitted without Error Mask */
|
|
#define GMAC_GTBFT1518_NFTX(value) (GMAC_GTBFT1518_NFTX_Msk & ((value) << GMAC_GTBFT1518_NFTX_Pos))
|
|
#define GMAC_GTBFT1518_Msk _U_(0xFFFFFFFF) /**< (GMAC_GTBFT1518) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TUR : (GMAC Offset: 0x134) ( R/ 32) Transmit Underruns Register -------- */
|
|
#define GMAC_TUR_TXUNR_Pos _U_(0) /**< (GMAC_TUR) Transmit Underruns Position */
|
|
#define GMAC_TUR_TXUNR_Msk (_U_(0x3FF) << GMAC_TUR_TXUNR_Pos) /**< (GMAC_TUR) Transmit Underruns Mask */
|
|
#define GMAC_TUR_TXUNR(value) (GMAC_TUR_TXUNR_Msk & ((value) << GMAC_TUR_TXUNR_Pos))
|
|
#define GMAC_TUR_Msk _U_(0x000003FF) /**< (GMAC_TUR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_SCF : (GMAC Offset: 0x138) ( R/ 32) Single Collision Frames Register -------- */
|
|
#define GMAC_SCF_SCOL_Pos _U_(0) /**< (GMAC_SCF) Single Collision Position */
|
|
#define GMAC_SCF_SCOL_Msk (_U_(0x3FFFF) << GMAC_SCF_SCOL_Pos) /**< (GMAC_SCF) Single Collision Mask */
|
|
#define GMAC_SCF_SCOL(value) (GMAC_SCF_SCOL_Msk & ((value) << GMAC_SCF_SCOL_Pos))
|
|
#define GMAC_SCF_Msk _U_(0x0003FFFF) /**< (GMAC_SCF) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_MCF : (GMAC Offset: 0x13C) ( R/ 32) Multiple Collision Frames Register -------- */
|
|
#define GMAC_MCF_MCOL_Pos _U_(0) /**< (GMAC_MCF) Multiple Collision Position */
|
|
#define GMAC_MCF_MCOL_Msk (_U_(0x3FFFF) << GMAC_MCF_MCOL_Pos) /**< (GMAC_MCF) Multiple Collision Mask */
|
|
#define GMAC_MCF_MCOL(value) (GMAC_MCF_MCOL_Msk & ((value) << GMAC_MCF_MCOL_Pos))
|
|
#define GMAC_MCF_Msk _U_(0x0003FFFF) /**< (GMAC_MCF) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_EC : (GMAC Offset: 0x140) ( R/ 32) Excessive Collisions Register -------- */
|
|
#define GMAC_EC_XCOL_Pos _U_(0) /**< (GMAC_EC) Excessive Collisions Position */
|
|
#define GMAC_EC_XCOL_Msk (_U_(0x3FF) << GMAC_EC_XCOL_Pos) /**< (GMAC_EC) Excessive Collisions Mask */
|
|
#define GMAC_EC_XCOL(value) (GMAC_EC_XCOL_Msk & ((value) << GMAC_EC_XCOL_Pos))
|
|
#define GMAC_EC_Msk _U_(0x000003FF) /**< (GMAC_EC) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_LC : (GMAC Offset: 0x144) ( R/ 32) Late Collisions Register -------- */
|
|
#define GMAC_LC_LCOL_Pos _U_(0) /**< (GMAC_LC) Late Collisions Position */
|
|
#define GMAC_LC_LCOL_Msk (_U_(0x3FF) << GMAC_LC_LCOL_Pos) /**< (GMAC_LC) Late Collisions Mask */
|
|
#define GMAC_LC_LCOL(value) (GMAC_LC_LCOL_Msk & ((value) << GMAC_LC_LCOL_Pos))
|
|
#define GMAC_LC_Msk _U_(0x000003FF) /**< (GMAC_LC) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_DTF : (GMAC Offset: 0x148) ( R/ 32) Deferred Transmission Frames Register -------- */
|
|
#define GMAC_DTF_DEFT_Pos _U_(0) /**< (GMAC_DTF) Deferred Transmission Position */
|
|
#define GMAC_DTF_DEFT_Msk (_U_(0x3FFFF) << GMAC_DTF_DEFT_Pos) /**< (GMAC_DTF) Deferred Transmission Mask */
|
|
#define GMAC_DTF_DEFT(value) (GMAC_DTF_DEFT_Msk & ((value) << GMAC_DTF_DEFT_Pos))
|
|
#define GMAC_DTF_Msk _U_(0x0003FFFF) /**< (GMAC_DTF) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_CSE : (GMAC Offset: 0x14C) ( R/ 32) Carrier Sense Errors Register -------- */
|
|
#define GMAC_CSE_CSR_Pos _U_(0) /**< (GMAC_CSE) Carrier Sense Error Position */
|
|
#define GMAC_CSE_CSR_Msk (_U_(0x3FF) << GMAC_CSE_CSR_Pos) /**< (GMAC_CSE) Carrier Sense Error Mask */
|
|
#define GMAC_CSE_CSR(value) (GMAC_CSE_CSR_Msk & ((value) << GMAC_CSE_CSR_Pos))
|
|
#define GMAC_CSE_Msk _U_(0x000003FF) /**< (GMAC_CSE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ORLO : (GMAC Offset: 0x150) ( R/ 32) Octets Received Low Received Register -------- */
|
|
#define GMAC_ORLO_RXO_Pos _U_(0) /**< (GMAC_ORLO) Received Octets Position */
|
|
#define GMAC_ORLO_RXO_Msk (_U_(0xFFFFFFFF) << GMAC_ORLO_RXO_Pos) /**< (GMAC_ORLO) Received Octets Mask */
|
|
#define GMAC_ORLO_RXO(value) (GMAC_ORLO_RXO_Msk & ((value) << GMAC_ORLO_RXO_Pos))
|
|
#define GMAC_ORLO_Msk _U_(0xFFFFFFFF) /**< (GMAC_ORLO) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ORHI : (GMAC Offset: 0x154) ( R/ 32) Octets Received High Received Register -------- */
|
|
#define GMAC_ORHI_RXO_Pos _U_(0) /**< (GMAC_ORHI) Received Octets Position */
|
|
#define GMAC_ORHI_RXO_Msk (_U_(0xFFFF) << GMAC_ORHI_RXO_Pos) /**< (GMAC_ORHI) Received Octets Mask */
|
|
#define GMAC_ORHI_RXO(value) (GMAC_ORHI_RXO_Msk & ((value) << GMAC_ORHI_RXO_Pos))
|
|
#define GMAC_ORHI_Msk _U_(0x0000FFFF) /**< (GMAC_ORHI) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_FR : (GMAC Offset: 0x158) ( R/ 32) Frames Received Register -------- */
|
|
#define GMAC_FR_FRX_Pos _U_(0) /**< (GMAC_FR) Frames Received without Error Position */
|
|
#define GMAC_FR_FRX_Msk (_U_(0xFFFFFFFF) << GMAC_FR_FRX_Pos) /**< (GMAC_FR) Frames Received without Error Mask */
|
|
#define GMAC_FR_FRX(value) (GMAC_FR_FRX_Msk & ((value) << GMAC_FR_FRX_Pos))
|
|
#define GMAC_FR_Msk _U_(0xFFFFFFFF) /**< (GMAC_FR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_BCFR : (GMAC Offset: 0x15C) ( R/ 32) Broadcast Frames Received Register -------- */
|
|
#define GMAC_BCFR_BFRX_Pos _U_(0) /**< (GMAC_BCFR) Broadcast Frames Received without Error Position */
|
|
#define GMAC_BCFR_BFRX_Msk (_U_(0xFFFFFFFF) << GMAC_BCFR_BFRX_Pos) /**< (GMAC_BCFR) Broadcast Frames Received without Error Mask */
|
|
#define GMAC_BCFR_BFRX(value) (GMAC_BCFR_BFRX_Msk & ((value) << GMAC_BCFR_BFRX_Pos))
|
|
#define GMAC_BCFR_Msk _U_(0xFFFFFFFF) /**< (GMAC_BCFR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_MFR : (GMAC Offset: 0x160) ( R/ 32) Multicast Frames Received Register -------- */
|
|
#define GMAC_MFR_MFRX_Pos _U_(0) /**< (GMAC_MFR) Multicast Frames Received without Error Position */
|
|
#define GMAC_MFR_MFRX_Msk (_U_(0xFFFFFFFF) << GMAC_MFR_MFRX_Pos) /**< (GMAC_MFR) Multicast Frames Received without Error Mask */
|
|
#define GMAC_MFR_MFRX(value) (GMAC_MFR_MFRX_Msk & ((value) << GMAC_MFR_MFRX_Pos))
|
|
#define GMAC_MFR_Msk _U_(0xFFFFFFFF) /**< (GMAC_MFR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_PFR : (GMAC Offset: 0x164) ( R/ 32) Pause Frames Received Register -------- */
|
|
#define GMAC_PFR_PFRX_Pos _U_(0) /**< (GMAC_PFR) Pause Frames Received Register Position */
|
|
#define GMAC_PFR_PFRX_Msk (_U_(0xFFFF) << GMAC_PFR_PFRX_Pos) /**< (GMAC_PFR) Pause Frames Received Register Mask */
|
|
#define GMAC_PFR_PFRX(value) (GMAC_PFR_PFRX_Msk & ((value) << GMAC_PFR_PFRX_Pos))
|
|
#define GMAC_PFR_Msk _U_(0x0000FFFF) /**< (GMAC_PFR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_BFR64 : (GMAC Offset: 0x168) ( R/ 32) 64 Byte Frames Received Register -------- */
|
|
#define GMAC_BFR64_NFRX_Pos _U_(0) /**< (GMAC_BFR64) 64 Byte Frames Received without Error Position */
|
|
#define GMAC_BFR64_NFRX_Msk (_U_(0xFFFFFFFF) << GMAC_BFR64_NFRX_Pos) /**< (GMAC_BFR64) 64 Byte Frames Received without Error Mask */
|
|
#define GMAC_BFR64_NFRX(value) (GMAC_BFR64_NFRX_Msk & ((value) << GMAC_BFR64_NFRX_Pos))
|
|
#define GMAC_BFR64_Msk _U_(0xFFFFFFFF) /**< (GMAC_BFR64) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFR127 : (GMAC Offset: 0x16C) ( R/ 32) 65 to 127 Byte Frames Received Register -------- */
|
|
#define GMAC_TBFR127_NFRX_Pos _U_(0) /**< (GMAC_TBFR127) 65 to 127 Byte Frames Received without Error Position */
|
|
#define GMAC_TBFR127_NFRX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFR127_NFRX_Pos) /**< (GMAC_TBFR127) 65 to 127 Byte Frames Received without Error Mask */
|
|
#define GMAC_TBFR127_NFRX(value) (GMAC_TBFR127_NFRX_Msk & ((value) << GMAC_TBFR127_NFRX_Pos))
|
|
#define GMAC_TBFR127_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFR127) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFR255 : (GMAC Offset: 0x170) ( R/ 32) 128 to 255 Byte Frames Received Register -------- */
|
|
#define GMAC_TBFR255_NFRX_Pos _U_(0) /**< (GMAC_TBFR255) 128 to 255 Byte Frames Received without Error Position */
|
|
#define GMAC_TBFR255_NFRX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFR255_NFRX_Pos) /**< (GMAC_TBFR255) 128 to 255 Byte Frames Received without Error Mask */
|
|
#define GMAC_TBFR255_NFRX(value) (GMAC_TBFR255_NFRX_Msk & ((value) << GMAC_TBFR255_NFRX_Pos))
|
|
#define GMAC_TBFR255_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFR255) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFR511 : (GMAC Offset: 0x174) ( R/ 32) 256 to 511 Byte Frames Received Register -------- */
|
|
#define GMAC_TBFR511_NFRX_Pos _U_(0) /**< (GMAC_TBFR511) 256 to 511 Byte Frames Received without Error Position */
|
|
#define GMAC_TBFR511_NFRX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFR511_NFRX_Pos) /**< (GMAC_TBFR511) 256 to 511 Byte Frames Received without Error Mask */
|
|
#define GMAC_TBFR511_NFRX(value) (GMAC_TBFR511_NFRX_Msk & ((value) << GMAC_TBFR511_NFRX_Pos))
|
|
#define GMAC_TBFR511_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFR511) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFR1023 : (GMAC Offset: 0x178) ( R/ 32) 512 to 1023 Byte Frames Received Register -------- */
|
|
#define GMAC_TBFR1023_NFRX_Pos _U_(0) /**< (GMAC_TBFR1023) 512 to 1023 Byte Frames Received without Error Position */
|
|
#define GMAC_TBFR1023_NFRX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFR1023_NFRX_Pos) /**< (GMAC_TBFR1023) 512 to 1023 Byte Frames Received without Error Mask */
|
|
#define GMAC_TBFR1023_NFRX(value) (GMAC_TBFR1023_NFRX_Msk & ((value) << GMAC_TBFR1023_NFRX_Pos))
|
|
#define GMAC_TBFR1023_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFR1023) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBFR1518 : (GMAC Offset: 0x17C) ( R/ 32) 1024 to 1518 Byte Frames Received Register -------- */
|
|
#define GMAC_TBFR1518_NFRX_Pos _U_(0) /**< (GMAC_TBFR1518) 1024 to 1518 Byte Frames Received without Error Position */
|
|
#define GMAC_TBFR1518_NFRX_Msk (_U_(0xFFFFFFFF) << GMAC_TBFR1518_NFRX_Pos) /**< (GMAC_TBFR1518) 1024 to 1518 Byte Frames Received without Error Mask */
|
|
#define GMAC_TBFR1518_NFRX(value) (GMAC_TBFR1518_NFRX_Msk & ((value) << GMAC_TBFR1518_NFRX_Pos))
|
|
#define GMAC_TBFR1518_Msk _U_(0xFFFFFFFF) /**< (GMAC_TBFR1518) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TMXBFR : (GMAC Offset: 0x180) ( R/ 32) 1519 to Maximum Byte Frames Received Register -------- */
|
|
#define GMAC_TMXBFR_NFRX_Pos _U_(0) /**< (GMAC_TMXBFR) 1519 to Maximum Byte Frames Received without Error Position */
|
|
#define GMAC_TMXBFR_NFRX_Msk (_U_(0xFFFFFFFF) << GMAC_TMXBFR_NFRX_Pos) /**< (GMAC_TMXBFR) 1519 to Maximum Byte Frames Received without Error Mask */
|
|
#define GMAC_TMXBFR_NFRX(value) (GMAC_TMXBFR_NFRX_Msk & ((value) << GMAC_TMXBFR_NFRX_Pos))
|
|
#define GMAC_TMXBFR_Msk _U_(0xFFFFFFFF) /**< (GMAC_TMXBFR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_UFR : (GMAC Offset: 0x184) ( R/ 32) Undersize Frames Received Register -------- */
|
|
#define GMAC_UFR_UFRX_Pos _U_(0) /**< (GMAC_UFR) Undersize Frames Received Position */
|
|
#define GMAC_UFR_UFRX_Msk (_U_(0x3FF) << GMAC_UFR_UFRX_Pos) /**< (GMAC_UFR) Undersize Frames Received Mask */
|
|
#define GMAC_UFR_UFRX(value) (GMAC_UFR_UFRX_Msk & ((value) << GMAC_UFR_UFRX_Pos))
|
|
#define GMAC_UFR_Msk _U_(0x000003FF) /**< (GMAC_UFR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_OFR : (GMAC Offset: 0x188) ( R/ 32) Oversize Frames Received Register -------- */
|
|
#define GMAC_OFR_OFRX_Pos _U_(0) /**< (GMAC_OFR) Oversized Frames Received Position */
|
|
#define GMAC_OFR_OFRX_Msk (_U_(0x3FF) << GMAC_OFR_OFRX_Pos) /**< (GMAC_OFR) Oversized Frames Received Mask */
|
|
#define GMAC_OFR_OFRX(value) (GMAC_OFR_OFRX_Msk & ((value) << GMAC_OFR_OFRX_Pos))
|
|
#define GMAC_OFR_Msk _U_(0x000003FF) /**< (GMAC_OFR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_JR : (GMAC Offset: 0x18C) ( R/ 32) Jabbers Received Register -------- */
|
|
#define GMAC_JR_JRX_Pos _U_(0) /**< (GMAC_JR) Jabbers Received Position */
|
|
#define GMAC_JR_JRX_Msk (_U_(0x3FF) << GMAC_JR_JRX_Pos) /**< (GMAC_JR) Jabbers Received Mask */
|
|
#define GMAC_JR_JRX(value) (GMAC_JR_JRX_Msk & ((value) << GMAC_JR_JRX_Pos))
|
|
#define GMAC_JR_Msk _U_(0x000003FF) /**< (GMAC_JR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_FCSE : (GMAC Offset: 0x190) ( R/ 32) Frame Check Sequence Errors Register -------- */
|
|
#define GMAC_FCSE_FCKR_Pos _U_(0) /**< (GMAC_FCSE) Frame Check Sequence Errors Position */
|
|
#define GMAC_FCSE_FCKR_Msk (_U_(0x3FF) << GMAC_FCSE_FCKR_Pos) /**< (GMAC_FCSE) Frame Check Sequence Errors Mask */
|
|
#define GMAC_FCSE_FCKR(value) (GMAC_FCSE_FCKR_Msk & ((value) << GMAC_FCSE_FCKR_Pos))
|
|
#define GMAC_FCSE_Msk _U_(0x000003FF) /**< (GMAC_FCSE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_LFFE : (GMAC Offset: 0x194) ( R/ 32) Length Field Frame Errors Register -------- */
|
|
#define GMAC_LFFE_LFER_Pos _U_(0) /**< (GMAC_LFFE) Length Field Frame Errors Position */
|
|
#define GMAC_LFFE_LFER_Msk (_U_(0x3FF) << GMAC_LFFE_LFER_Pos) /**< (GMAC_LFFE) Length Field Frame Errors Mask */
|
|
#define GMAC_LFFE_LFER(value) (GMAC_LFFE_LFER_Msk & ((value) << GMAC_LFFE_LFER_Pos))
|
|
#define GMAC_LFFE_Msk _U_(0x000003FF) /**< (GMAC_LFFE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RSE : (GMAC Offset: 0x198) ( R/ 32) Receive Symbol Errors Register -------- */
|
|
#define GMAC_RSE_RXSE_Pos _U_(0) /**< (GMAC_RSE) Receive Symbol Errors Position */
|
|
#define GMAC_RSE_RXSE_Msk (_U_(0x3FF) << GMAC_RSE_RXSE_Pos) /**< (GMAC_RSE) Receive Symbol Errors Mask */
|
|
#define GMAC_RSE_RXSE(value) (GMAC_RSE_RXSE_Msk & ((value) << GMAC_RSE_RXSE_Pos))
|
|
#define GMAC_RSE_Msk _U_(0x000003FF) /**< (GMAC_RSE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_AE : (GMAC Offset: 0x19C) ( R/ 32) Alignment Errors Register -------- */
|
|
#define GMAC_AE_AER_Pos _U_(0) /**< (GMAC_AE) Alignment Errors Position */
|
|
#define GMAC_AE_AER_Msk (_U_(0x3FF) << GMAC_AE_AER_Pos) /**< (GMAC_AE) Alignment Errors Mask */
|
|
#define GMAC_AE_AER(value) (GMAC_AE_AER_Msk & ((value) << GMAC_AE_AER_Pos))
|
|
#define GMAC_AE_Msk _U_(0x000003FF) /**< (GMAC_AE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RRE : (GMAC Offset: 0x1A0) ( R/ 32) Receive Resource Errors Register -------- */
|
|
#define GMAC_RRE_RXRER_Pos _U_(0) /**< (GMAC_RRE) Receive Resource Errors Position */
|
|
#define GMAC_RRE_RXRER_Msk (_U_(0x3FFFF) << GMAC_RRE_RXRER_Pos) /**< (GMAC_RRE) Receive Resource Errors Mask */
|
|
#define GMAC_RRE_RXRER(value) (GMAC_RRE_RXRER_Msk & ((value) << GMAC_RRE_RXRER_Pos))
|
|
#define GMAC_RRE_Msk _U_(0x0003FFFF) /**< (GMAC_RRE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ROE : (GMAC Offset: 0x1A4) ( R/ 32) Receive Overrun Register -------- */
|
|
#define GMAC_ROE_RXOVR_Pos _U_(0) /**< (GMAC_ROE) Receive Overruns Position */
|
|
#define GMAC_ROE_RXOVR_Msk (_U_(0x3FF) << GMAC_ROE_RXOVR_Pos) /**< (GMAC_ROE) Receive Overruns Mask */
|
|
#define GMAC_ROE_RXOVR(value) (GMAC_ROE_RXOVR_Msk & ((value) << GMAC_ROE_RXOVR_Pos))
|
|
#define GMAC_ROE_Msk _U_(0x000003FF) /**< (GMAC_ROE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_IHCE : (GMAC Offset: 0x1A8) ( R/ 32) IP Header Checksum Errors Register -------- */
|
|
#define GMAC_IHCE_HCKER_Pos _U_(0) /**< (GMAC_IHCE) IP Header Checksum Errors Position */
|
|
#define GMAC_IHCE_HCKER_Msk (_U_(0xFF) << GMAC_IHCE_HCKER_Pos) /**< (GMAC_IHCE) IP Header Checksum Errors Mask */
|
|
#define GMAC_IHCE_HCKER(value) (GMAC_IHCE_HCKER_Msk & ((value) << GMAC_IHCE_HCKER_Pos))
|
|
#define GMAC_IHCE_Msk _U_(0x000000FF) /**< (GMAC_IHCE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TCE : (GMAC Offset: 0x1AC) ( R/ 32) TCP Checksum Errors Register -------- */
|
|
#define GMAC_TCE_TCKER_Pos _U_(0) /**< (GMAC_TCE) TCP Checksum Errors Position */
|
|
#define GMAC_TCE_TCKER_Msk (_U_(0xFF) << GMAC_TCE_TCKER_Pos) /**< (GMAC_TCE) TCP Checksum Errors Mask */
|
|
#define GMAC_TCE_TCKER(value) (GMAC_TCE_TCKER_Msk & ((value) << GMAC_TCE_TCKER_Pos))
|
|
#define GMAC_TCE_Msk _U_(0x000000FF) /**< (GMAC_TCE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_UCE : (GMAC Offset: 0x1B0) ( R/ 32) UDP Checksum Errors Register -------- */
|
|
#define GMAC_UCE_UCKER_Pos _U_(0) /**< (GMAC_UCE) UDP Checksum Errors Position */
|
|
#define GMAC_UCE_UCKER_Msk (_U_(0xFF) << GMAC_UCE_UCKER_Pos) /**< (GMAC_UCE) UDP Checksum Errors Mask */
|
|
#define GMAC_UCE_UCKER(value) (GMAC_UCE_UCKER_Msk & ((value) << GMAC_UCE_UCKER_Pos))
|
|
#define GMAC_UCE_Msk _U_(0x000000FF) /**< (GMAC_UCE) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TISUBN : (GMAC Offset: 0x1BC) (R/W 32) 1588 Timer Increment Sub-nanoseconds Register -------- */
|
|
#define GMAC_TISUBN_LSBTIR_Pos _U_(0) /**< (GMAC_TISUBN) Lower Significant Bits of Timer Increment Register Position */
|
|
#define GMAC_TISUBN_LSBTIR_Msk (_U_(0xFFFF) << GMAC_TISUBN_LSBTIR_Pos) /**< (GMAC_TISUBN) Lower Significant Bits of Timer Increment Register Mask */
|
|
#define GMAC_TISUBN_LSBTIR(value) (GMAC_TISUBN_LSBTIR_Msk & ((value) << GMAC_TISUBN_LSBTIR_Pos))
|
|
#define GMAC_TISUBN_Msk _U_(0x0000FFFF) /**< (GMAC_TISUBN) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TSH : (GMAC Offset: 0x1C0) (R/W 32) 1588 Timer Seconds High Register -------- */
|
|
#define GMAC_TSH_TCS_Pos _U_(0) /**< (GMAC_TSH) Timer Count in Seconds Position */
|
|
#define GMAC_TSH_TCS_Msk (_U_(0xFFFF) << GMAC_TSH_TCS_Pos) /**< (GMAC_TSH) Timer Count in Seconds Mask */
|
|
#define GMAC_TSH_TCS(value) (GMAC_TSH_TCS_Msk & ((value) << GMAC_TSH_TCS_Pos))
|
|
#define GMAC_TSH_Msk _U_(0x0000FFFF) /**< (GMAC_TSH) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TSL : (GMAC Offset: 0x1D0) (R/W 32) 1588 Timer Seconds Low Register -------- */
|
|
#define GMAC_TSL_TCS_Pos _U_(0) /**< (GMAC_TSL) Timer Count in Seconds Position */
|
|
#define GMAC_TSL_TCS_Msk (_U_(0xFFFFFFFF) << GMAC_TSL_TCS_Pos) /**< (GMAC_TSL) Timer Count in Seconds Mask */
|
|
#define GMAC_TSL_TCS(value) (GMAC_TSL_TCS_Msk & ((value) << GMAC_TSL_TCS_Pos))
|
|
#define GMAC_TSL_Msk _U_(0xFFFFFFFF) /**< (GMAC_TSL) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TN : (GMAC Offset: 0x1D4) (R/W 32) 1588 Timer Nanoseconds Register -------- */
|
|
#define GMAC_TN_TNS_Pos _U_(0) /**< (GMAC_TN) Timer Count in Nanoseconds Position */
|
|
#define GMAC_TN_TNS_Msk (_U_(0x3FFFFFFF) << GMAC_TN_TNS_Pos) /**< (GMAC_TN) Timer Count in Nanoseconds Mask */
|
|
#define GMAC_TN_TNS(value) (GMAC_TN_TNS_Msk & ((value) << GMAC_TN_TNS_Pos))
|
|
#define GMAC_TN_Msk _U_(0x3FFFFFFF) /**< (GMAC_TN) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TA : (GMAC Offset: 0x1D8) ( /W 32) 1588 Timer Adjust Register -------- */
|
|
#define GMAC_TA_ITDT_Pos _U_(0) /**< (GMAC_TA) Increment/Decrement Position */
|
|
#define GMAC_TA_ITDT_Msk (_U_(0x3FFFFFFF) << GMAC_TA_ITDT_Pos) /**< (GMAC_TA) Increment/Decrement Mask */
|
|
#define GMAC_TA_ITDT(value) (GMAC_TA_ITDT_Msk & ((value) << GMAC_TA_ITDT_Pos))
|
|
#define GMAC_TA_ADJ_Pos _U_(31) /**< (GMAC_TA) Adjust 1588 Timer Position */
|
|
#define GMAC_TA_ADJ_Msk (_U_(0x1) << GMAC_TA_ADJ_Pos) /**< (GMAC_TA) Adjust 1588 Timer Mask */
|
|
#define GMAC_TA_ADJ(value) (GMAC_TA_ADJ_Msk & ((value) << GMAC_TA_ADJ_Pos))
|
|
#define GMAC_TA_Msk _U_(0xBFFFFFFF) /**< (GMAC_TA) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TI : (GMAC Offset: 0x1DC) (R/W 32) 1588 Timer Increment Register -------- */
|
|
#define GMAC_TI_CNS_Pos _U_(0) /**< (GMAC_TI) Count Nanoseconds Position */
|
|
#define GMAC_TI_CNS_Msk (_U_(0xFF) << GMAC_TI_CNS_Pos) /**< (GMAC_TI) Count Nanoseconds Mask */
|
|
#define GMAC_TI_CNS(value) (GMAC_TI_CNS_Msk & ((value) << GMAC_TI_CNS_Pos))
|
|
#define GMAC_TI_ACNS_Pos _U_(8) /**< (GMAC_TI) Alternative Count Nanoseconds Position */
|
|
#define GMAC_TI_ACNS_Msk (_U_(0xFF) << GMAC_TI_ACNS_Pos) /**< (GMAC_TI) Alternative Count Nanoseconds Mask */
|
|
#define GMAC_TI_ACNS(value) (GMAC_TI_ACNS_Msk & ((value) << GMAC_TI_ACNS_Pos))
|
|
#define GMAC_TI_NIT_Pos _U_(16) /**< (GMAC_TI) Number of Increments Position */
|
|
#define GMAC_TI_NIT_Msk (_U_(0xFF) << GMAC_TI_NIT_Pos) /**< (GMAC_TI) Number of Increments Mask */
|
|
#define GMAC_TI_NIT(value) (GMAC_TI_NIT_Msk & ((value) << GMAC_TI_NIT_Pos))
|
|
#define GMAC_TI_Msk _U_(0x00FFFFFF) /**< (GMAC_TI) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_EFTSL : (GMAC Offset: 0x1E0) ( R/ 32) PTP Event Frame Transmitted Seconds Low Register -------- */
|
|
#define GMAC_EFTSL_RUD_Pos _U_(0) /**< (GMAC_EFTSL) Register Update Position */
|
|
#define GMAC_EFTSL_RUD_Msk (_U_(0xFFFFFFFF) << GMAC_EFTSL_RUD_Pos) /**< (GMAC_EFTSL) Register Update Mask */
|
|
#define GMAC_EFTSL_RUD(value) (GMAC_EFTSL_RUD_Msk & ((value) << GMAC_EFTSL_RUD_Pos))
|
|
#define GMAC_EFTSL_Msk _U_(0xFFFFFFFF) /**< (GMAC_EFTSL) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_EFTN : (GMAC Offset: 0x1E4) ( R/ 32) PTP Event Frame Transmitted Nanoseconds Register -------- */
|
|
#define GMAC_EFTN_RUD_Pos _U_(0) /**< (GMAC_EFTN) Register Update Position */
|
|
#define GMAC_EFTN_RUD_Msk (_U_(0x3FFFFFFF) << GMAC_EFTN_RUD_Pos) /**< (GMAC_EFTN) Register Update Mask */
|
|
#define GMAC_EFTN_RUD(value) (GMAC_EFTN_RUD_Msk & ((value) << GMAC_EFTN_RUD_Pos))
|
|
#define GMAC_EFTN_Msk _U_(0x3FFFFFFF) /**< (GMAC_EFTN) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_EFRSL : (GMAC Offset: 0x1E8) ( R/ 32) PTP Event Frame Received Seconds Low Register -------- */
|
|
#define GMAC_EFRSL_RUD_Pos _U_(0) /**< (GMAC_EFRSL) Register Update Position */
|
|
#define GMAC_EFRSL_RUD_Msk (_U_(0xFFFFFFFF) << GMAC_EFRSL_RUD_Pos) /**< (GMAC_EFRSL) Register Update Mask */
|
|
#define GMAC_EFRSL_RUD(value) (GMAC_EFRSL_RUD_Msk & ((value) << GMAC_EFRSL_RUD_Pos))
|
|
#define GMAC_EFRSL_Msk _U_(0xFFFFFFFF) /**< (GMAC_EFRSL) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_EFRN : (GMAC Offset: 0x1EC) ( R/ 32) PTP Event Frame Received Nanoseconds Register -------- */
|
|
#define GMAC_EFRN_RUD_Pos _U_(0) /**< (GMAC_EFRN) Register Update Position */
|
|
#define GMAC_EFRN_RUD_Msk (_U_(0x3FFFFFFF) << GMAC_EFRN_RUD_Pos) /**< (GMAC_EFRN) Register Update Mask */
|
|
#define GMAC_EFRN_RUD(value) (GMAC_EFRN_RUD_Msk & ((value) << GMAC_EFRN_RUD_Pos))
|
|
#define GMAC_EFRN_Msk _U_(0x3FFFFFFF) /**< (GMAC_EFRN) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_PEFTSL : (GMAC Offset: 0x1F0) ( R/ 32) PTP Peer Event Frame Transmitted Seconds Low Register -------- */
|
|
#define GMAC_PEFTSL_RUD_Pos _U_(0) /**< (GMAC_PEFTSL) Register Update Position */
|
|
#define GMAC_PEFTSL_RUD_Msk (_U_(0xFFFFFFFF) << GMAC_PEFTSL_RUD_Pos) /**< (GMAC_PEFTSL) Register Update Mask */
|
|
#define GMAC_PEFTSL_RUD(value) (GMAC_PEFTSL_RUD_Msk & ((value) << GMAC_PEFTSL_RUD_Pos))
|
|
#define GMAC_PEFTSL_Msk _U_(0xFFFFFFFF) /**< (GMAC_PEFTSL) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_PEFTN : (GMAC Offset: 0x1F4) ( R/ 32) PTP Peer Event Frame Transmitted Nanoseconds Register -------- */
|
|
#define GMAC_PEFTN_RUD_Pos _U_(0) /**< (GMAC_PEFTN) Register Update Position */
|
|
#define GMAC_PEFTN_RUD_Msk (_U_(0x3FFFFFFF) << GMAC_PEFTN_RUD_Pos) /**< (GMAC_PEFTN) Register Update Mask */
|
|
#define GMAC_PEFTN_RUD(value) (GMAC_PEFTN_RUD_Msk & ((value) << GMAC_PEFTN_RUD_Pos))
|
|
#define GMAC_PEFTN_Msk _U_(0x3FFFFFFF) /**< (GMAC_PEFTN) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_PEFRSL : (GMAC Offset: 0x1F8) ( R/ 32) PTP Peer Event Frame Received Seconds Low Register -------- */
|
|
#define GMAC_PEFRSL_RUD_Pos _U_(0) /**< (GMAC_PEFRSL) Register Update Position */
|
|
#define GMAC_PEFRSL_RUD_Msk (_U_(0xFFFFFFFF) << GMAC_PEFRSL_RUD_Pos) /**< (GMAC_PEFRSL) Register Update Mask */
|
|
#define GMAC_PEFRSL_RUD(value) (GMAC_PEFRSL_RUD_Msk & ((value) << GMAC_PEFRSL_RUD_Pos))
|
|
#define GMAC_PEFRSL_Msk _U_(0xFFFFFFFF) /**< (GMAC_PEFRSL) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_PEFRN : (GMAC Offset: 0x1FC) ( R/ 32) PTP Peer Event Frame Received Nanoseconds Register -------- */
|
|
#define GMAC_PEFRN_RUD_Pos _U_(0) /**< (GMAC_PEFRN) Register Update Position */
|
|
#define GMAC_PEFRN_RUD_Msk (_U_(0x3FFFFFFF) << GMAC_PEFRN_RUD_Pos) /**< (GMAC_PEFRN) Register Update Mask */
|
|
#define GMAC_PEFRN_RUD(value) (GMAC_PEFRN_RUD_Msk & ((value) << GMAC_PEFRN_RUD_Pos))
|
|
#define GMAC_PEFRN_Msk _U_(0x3FFFFFFF) /**< (GMAC_PEFRN) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ISRPQ : (GMAC Offset: 0x3FC) ( R/ 32) Interrupt Status Register Priority Queue (index = 1) 0 -------- */
|
|
#define GMAC_ISRPQ_RCOMP_Pos _U_(1) /**< (GMAC_ISRPQ) Receive Complete Position */
|
|
#define GMAC_ISRPQ_RCOMP_Msk (_U_(0x1) << GMAC_ISRPQ_RCOMP_Pos) /**< (GMAC_ISRPQ) Receive Complete Mask */
|
|
#define GMAC_ISRPQ_RCOMP(value) (GMAC_ISRPQ_RCOMP_Msk & ((value) << GMAC_ISRPQ_RCOMP_Pos))
|
|
#define GMAC_ISRPQ_RXUBR_Pos _U_(2) /**< (GMAC_ISRPQ) RX Used Bit Read Position */
|
|
#define GMAC_ISRPQ_RXUBR_Msk (_U_(0x1) << GMAC_ISRPQ_RXUBR_Pos) /**< (GMAC_ISRPQ) RX Used Bit Read Mask */
|
|
#define GMAC_ISRPQ_RXUBR(value) (GMAC_ISRPQ_RXUBR_Msk & ((value) << GMAC_ISRPQ_RXUBR_Pos))
|
|
#define GMAC_ISRPQ_RLEX_Pos _U_(5) /**< (GMAC_ISRPQ) Retry Limit Exceeded or Late Collision Position */
|
|
#define GMAC_ISRPQ_RLEX_Msk (_U_(0x1) << GMAC_ISRPQ_RLEX_Pos) /**< (GMAC_ISRPQ) Retry Limit Exceeded or Late Collision Mask */
|
|
#define GMAC_ISRPQ_RLEX(value) (GMAC_ISRPQ_RLEX_Msk & ((value) << GMAC_ISRPQ_RLEX_Pos))
|
|
#define GMAC_ISRPQ_TFC_Pos _U_(6) /**< (GMAC_ISRPQ) Transmit Frame Corruption Due to AHB Error Position */
|
|
#define GMAC_ISRPQ_TFC_Msk (_U_(0x1) << GMAC_ISRPQ_TFC_Pos) /**< (GMAC_ISRPQ) Transmit Frame Corruption Due to AHB Error Mask */
|
|
#define GMAC_ISRPQ_TFC(value) (GMAC_ISRPQ_TFC_Msk & ((value) << GMAC_ISRPQ_TFC_Pos))
|
|
#define GMAC_ISRPQ_TCOMP_Pos _U_(7) /**< (GMAC_ISRPQ) Transmit Complete Position */
|
|
#define GMAC_ISRPQ_TCOMP_Msk (_U_(0x1) << GMAC_ISRPQ_TCOMP_Pos) /**< (GMAC_ISRPQ) Transmit Complete Mask */
|
|
#define GMAC_ISRPQ_TCOMP(value) (GMAC_ISRPQ_TCOMP_Msk & ((value) << GMAC_ISRPQ_TCOMP_Pos))
|
|
#define GMAC_ISRPQ_ROVR_Pos _U_(10) /**< (GMAC_ISRPQ) Receive Overrun Position */
|
|
#define GMAC_ISRPQ_ROVR_Msk (_U_(0x1) << GMAC_ISRPQ_ROVR_Pos) /**< (GMAC_ISRPQ) Receive Overrun Mask */
|
|
#define GMAC_ISRPQ_ROVR(value) (GMAC_ISRPQ_ROVR_Msk & ((value) << GMAC_ISRPQ_ROVR_Pos))
|
|
#define GMAC_ISRPQ_HRESP_Pos _U_(11) /**< (GMAC_ISRPQ) HRESP Not OK Position */
|
|
#define GMAC_ISRPQ_HRESP_Msk (_U_(0x1) << GMAC_ISRPQ_HRESP_Pos) /**< (GMAC_ISRPQ) HRESP Not OK Mask */
|
|
#define GMAC_ISRPQ_HRESP(value) (GMAC_ISRPQ_HRESP_Msk & ((value) << GMAC_ISRPQ_HRESP_Pos))
|
|
#define GMAC_ISRPQ_Msk _U_(0x00000CE6) /**< (GMAC_ISRPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_TBQBAPQ : (GMAC Offset: 0x43C) (R/W 32) Transmit Buffer Queue Base Address Register Priority Queue (index = 1) 0 -------- */
|
|
#define GMAC_TBQBAPQ_TXBQBA_Pos _U_(2) /**< (GMAC_TBQBAPQ) Transmit Buffer Queue Base Address Position */
|
|
#define GMAC_TBQBAPQ_TXBQBA_Msk (_U_(0x3FFFFFFF) << GMAC_TBQBAPQ_TXBQBA_Pos) /**< (GMAC_TBQBAPQ) Transmit Buffer Queue Base Address Mask */
|
|
#define GMAC_TBQBAPQ_TXBQBA(value) (GMAC_TBQBAPQ_TXBQBA_Msk & ((value) << GMAC_TBQBAPQ_TXBQBA_Pos))
|
|
#define GMAC_TBQBAPQ_Msk _U_(0xFFFFFFFC) /**< (GMAC_TBQBAPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RBQBAPQ : (GMAC Offset: 0x47C) (R/W 32) Receive Buffer Queue Base Address Register Priority Queue (index = 1) 0 -------- */
|
|
#define GMAC_RBQBAPQ_RXBQBA_Pos _U_(2) /**< (GMAC_RBQBAPQ) Receive Buffer Queue Base Address Position */
|
|
#define GMAC_RBQBAPQ_RXBQBA_Msk (_U_(0x3FFFFFFF) << GMAC_RBQBAPQ_RXBQBA_Pos) /**< (GMAC_RBQBAPQ) Receive Buffer Queue Base Address Mask */
|
|
#define GMAC_RBQBAPQ_RXBQBA(value) (GMAC_RBQBAPQ_RXBQBA_Msk & ((value) << GMAC_RBQBAPQ_RXBQBA_Pos))
|
|
#define GMAC_RBQBAPQ_Msk _U_(0xFFFFFFFC) /**< (GMAC_RBQBAPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_RBSRPQ : (GMAC Offset: 0x49C) (R/W 32) Receive Buffer Size Register Priority Queue (index = 1) 0 -------- */
|
|
#define GMAC_RBSRPQ_RBS_Pos _U_(0) /**< (GMAC_RBSRPQ) Receive Buffer Size Position */
|
|
#define GMAC_RBSRPQ_RBS_Msk (_U_(0xFFFF) << GMAC_RBSRPQ_RBS_Pos) /**< (GMAC_RBSRPQ) Receive Buffer Size Mask */
|
|
#define GMAC_RBSRPQ_RBS(value) (GMAC_RBSRPQ_RBS_Msk & ((value) << GMAC_RBSRPQ_RBS_Pos))
|
|
#define GMAC_RBSRPQ_Msk _U_(0x0000FFFF) /**< (GMAC_RBSRPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_CBSCR : (GMAC Offset: 0x4BC) (R/W 32) Credit-Based Shaping Control Register -------- */
|
|
#define GMAC_CBSCR_QBE_Pos _U_(0) /**< (GMAC_CBSCR) Queue B CBS Enable Position */
|
|
#define GMAC_CBSCR_QBE_Msk (_U_(0x1) << GMAC_CBSCR_QBE_Pos) /**< (GMAC_CBSCR) Queue B CBS Enable Mask */
|
|
#define GMAC_CBSCR_QBE(value) (GMAC_CBSCR_QBE_Msk & ((value) << GMAC_CBSCR_QBE_Pos))
|
|
#define GMAC_CBSCR_QAE_Pos _U_(1) /**< (GMAC_CBSCR) Queue A CBS Enable Position */
|
|
#define GMAC_CBSCR_QAE_Msk (_U_(0x1) << GMAC_CBSCR_QAE_Pos) /**< (GMAC_CBSCR) Queue A CBS Enable Mask */
|
|
#define GMAC_CBSCR_QAE(value) (GMAC_CBSCR_QAE_Msk & ((value) << GMAC_CBSCR_QAE_Pos))
|
|
#define GMAC_CBSCR_Msk _U_(0x00000003) /**< (GMAC_CBSCR) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_CBSISQA : (GMAC Offset: 0x4C0) (R/W 32) Credit-Based Shaping IdleSlope Register for Queue A -------- */
|
|
#define GMAC_CBSISQA_IS_Pos _U_(0) /**< (GMAC_CBSISQA) IdleSlope Position */
|
|
#define GMAC_CBSISQA_IS_Msk (_U_(0xFFFFFFFF) << GMAC_CBSISQA_IS_Pos) /**< (GMAC_CBSISQA) IdleSlope Mask */
|
|
#define GMAC_CBSISQA_IS(value) (GMAC_CBSISQA_IS_Msk & ((value) << GMAC_CBSISQA_IS_Pos))
|
|
#define GMAC_CBSISQA_Msk _U_(0xFFFFFFFF) /**< (GMAC_CBSISQA) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_CBSISQB : (GMAC Offset: 0x4C4) (R/W 32) Credit-Based Shaping IdleSlope Register for Queue B -------- */
|
|
#define GMAC_CBSISQB_IS_Pos _U_(0) /**< (GMAC_CBSISQB) IdleSlope Position */
|
|
#define GMAC_CBSISQB_IS_Msk (_U_(0xFFFFFFFF) << GMAC_CBSISQB_IS_Pos) /**< (GMAC_CBSISQB) IdleSlope Mask */
|
|
#define GMAC_CBSISQB_IS(value) (GMAC_CBSISQB_IS_Msk & ((value) << GMAC_CBSISQB_IS_Pos))
|
|
#define GMAC_CBSISQB_Msk _U_(0xFFFFFFFF) /**< (GMAC_CBSISQB) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST1RPQ : (GMAC Offset: 0x500) (R/W 32) Screening Type 1 Register Priority Queue (index = 0) 0 -------- */
|
|
#define GMAC_ST1RPQ_QNB_Pos _U_(0) /**< (GMAC_ST1RPQ) Queue Number (0-2) Position */
|
|
#define GMAC_ST1RPQ_QNB_Msk (_U_(0x7) << GMAC_ST1RPQ_QNB_Pos) /**< (GMAC_ST1RPQ) Queue Number (0-2) Mask */
|
|
#define GMAC_ST1RPQ_QNB(value) (GMAC_ST1RPQ_QNB_Msk & ((value) << GMAC_ST1RPQ_QNB_Pos))
|
|
#define GMAC_ST1RPQ_DSTCM_Pos _U_(4) /**< (GMAC_ST1RPQ) Differentiated Services or Traffic Class Match Position */
|
|
#define GMAC_ST1RPQ_DSTCM_Msk (_U_(0xFF) << GMAC_ST1RPQ_DSTCM_Pos) /**< (GMAC_ST1RPQ) Differentiated Services or Traffic Class Match Mask */
|
|
#define GMAC_ST1RPQ_DSTCM(value) (GMAC_ST1RPQ_DSTCM_Msk & ((value) << GMAC_ST1RPQ_DSTCM_Pos))
|
|
#define GMAC_ST1RPQ_UDPM_Pos _U_(12) /**< (GMAC_ST1RPQ) UDP Port Match Position */
|
|
#define GMAC_ST1RPQ_UDPM_Msk (_U_(0xFFFF) << GMAC_ST1RPQ_UDPM_Pos) /**< (GMAC_ST1RPQ) UDP Port Match Mask */
|
|
#define GMAC_ST1RPQ_UDPM(value) (GMAC_ST1RPQ_UDPM_Msk & ((value) << GMAC_ST1RPQ_UDPM_Pos))
|
|
#define GMAC_ST1RPQ_DSTCE_Pos _U_(28) /**< (GMAC_ST1RPQ) Differentiated Services or Traffic Class Match Enable Position */
|
|
#define GMAC_ST1RPQ_DSTCE_Msk (_U_(0x1) << GMAC_ST1RPQ_DSTCE_Pos) /**< (GMAC_ST1RPQ) Differentiated Services or Traffic Class Match Enable Mask */
|
|
#define GMAC_ST1RPQ_DSTCE(value) (GMAC_ST1RPQ_DSTCE_Msk & ((value) << GMAC_ST1RPQ_DSTCE_Pos))
|
|
#define GMAC_ST1RPQ_UDPE_Pos _U_(29) /**< (GMAC_ST1RPQ) UDP Port Match Enable Position */
|
|
#define GMAC_ST1RPQ_UDPE_Msk (_U_(0x1) << GMAC_ST1RPQ_UDPE_Pos) /**< (GMAC_ST1RPQ) UDP Port Match Enable Mask */
|
|
#define GMAC_ST1RPQ_UDPE(value) (GMAC_ST1RPQ_UDPE_Msk & ((value) << GMAC_ST1RPQ_UDPE_Pos))
|
|
#define GMAC_ST1RPQ_Msk _U_(0x3FFFFFF7) /**< (GMAC_ST1RPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2RPQ : (GMAC Offset: 0x540) (R/W 32) Screening Type 2 Register Priority Queue (index = 0) 0 -------- */
|
|
#define GMAC_ST2RPQ_QNB_Pos _U_(0) /**< (GMAC_ST2RPQ) Queue Number (0-2) Position */
|
|
#define GMAC_ST2RPQ_QNB_Msk (_U_(0x7) << GMAC_ST2RPQ_QNB_Pos) /**< (GMAC_ST2RPQ) Queue Number (0-2) Mask */
|
|
#define GMAC_ST2RPQ_QNB(value) (GMAC_ST2RPQ_QNB_Msk & ((value) << GMAC_ST2RPQ_QNB_Pos))
|
|
#define GMAC_ST2RPQ_VLANP_Pos _U_(4) /**< (GMAC_ST2RPQ) VLAN Priority Position */
|
|
#define GMAC_ST2RPQ_VLANP_Msk (_U_(0x7) << GMAC_ST2RPQ_VLANP_Pos) /**< (GMAC_ST2RPQ) VLAN Priority Mask */
|
|
#define GMAC_ST2RPQ_VLANP(value) (GMAC_ST2RPQ_VLANP_Msk & ((value) << GMAC_ST2RPQ_VLANP_Pos))
|
|
#define GMAC_ST2RPQ_VLANE_Pos _U_(8) /**< (GMAC_ST2RPQ) VLAN Enable Position */
|
|
#define GMAC_ST2RPQ_VLANE_Msk (_U_(0x1) << GMAC_ST2RPQ_VLANE_Pos) /**< (GMAC_ST2RPQ) VLAN Enable Mask */
|
|
#define GMAC_ST2RPQ_VLANE(value) (GMAC_ST2RPQ_VLANE_Msk & ((value) << GMAC_ST2RPQ_VLANE_Pos))
|
|
#define GMAC_ST2RPQ_I2ETH_Pos _U_(9) /**< (GMAC_ST2RPQ) Index of Screening Type 2 EtherType register x Position */
|
|
#define GMAC_ST2RPQ_I2ETH_Msk (_U_(0x7) << GMAC_ST2RPQ_I2ETH_Pos) /**< (GMAC_ST2RPQ) Index of Screening Type 2 EtherType register x Mask */
|
|
#define GMAC_ST2RPQ_I2ETH(value) (GMAC_ST2RPQ_I2ETH_Msk & ((value) << GMAC_ST2RPQ_I2ETH_Pos))
|
|
#define GMAC_ST2RPQ_ETHE_Pos _U_(12) /**< (GMAC_ST2RPQ) EtherType Enable Position */
|
|
#define GMAC_ST2RPQ_ETHE_Msk (_U_(0x1) << GMAC_ST2RPQ_ETHE_Pos) /**< (GMAC_ST2RPQ) EtherType Enable Mask */
|
|
#define GMAC_ST2RPQ_ETHE(value) (GMAC_ST2RPQ_ETHE_Msk & ((value) << GMAC_ST2RPQ_ETHE_Pos))
|
|
#define GMAC_ST2RPQ_COMPA_Pos _U_(13) /**< (GMAC_ST2RPQ) Index of Screening Type 2 Compare Word 0/Word 1 register x Position */
|
|
#define GMAC_ST2RPQ_COMPA_Msk (_U_(0x1F) << GMAC_ST2RPQ_COMPA_Pos) /**< (GMAC_ST2RPQ) Index of Screening Type 2 Compare Word 0/Word 1 register x Mask */
|
|
#define GMAC_ST2RPQ_COMPA(value) (GMAC_ST2RPQ_COMPA_Msk & ((value) << GMAC_ST2RPQ_COMPA_Pos))
|
|
#define GMAC_ST2RPQ_COMPAE_Pos _U_(18) /**< (GMAC_ST2RPQ) Compare A Enable Position */
|
|
#define GMAC_ST2RPQ_COMPAE_Msk (_U_(0x1) << GMAC_ST2RPQ_COMPAE_Pos) /**< (GMAC_ST2RPQ) Compare A Enable Mask */
|
|
#define GMAC_ST2RPQ_COMPAE(value) (GMAC_ST2RPQ_COMPAE_Msk & ((value) << GMAC_ST2RPQ_COMPAE_Pos))
|
|
#define GMAC_ST2RPQ_COMPB_Pos _U_(19) /**< (GMAC_ST2RPQ) Index of Screening Type 2 Compare Word 0/Word 1 register x Position */
|
|
#define GMAC_ST2RPQ_COMPB_Msk (_U_(0x1F) << GMAC_ST2RPQ_COMPB_Pos) /**< (GMAC_ST2RPQ) Index of Screening Type 2 Compare Word 0/Word 1 register x Mask */
|
|
#define GMAC_ST2RPQ_COMPB(value) (GMAC_ST2RPQ_COMPB_Msk & ((value) << GMAC_ST2RPQ_COMPB_Pos))
|
|
#define GMAC_ST2RPQ_COMPBE_Pos _U_(24) /**< (GMAC_ST2RPQ) Compare B Enable Position */
|
|
#define GMAC_ST2RPQ_COMPBE_Msk (_U_(0x1) << GMAC_ST2RPQ_COMPBE_Pos) /**< (GMAC_ST2RPQ) Compare B Enable Mask */
|
|
#define GMAC_ST2RPQ_COMPBE(value) (GMAC_ST2RPQ_COMPBE_Msk & ((value) << GMAC_ST2RPQ_COMPBE_Pos))
|
|
#define GMAC_ST2RPQ_COMPC_Pos _U_(25) /**< (GMAC_ST2RPQ) Index of Screening Type 2 Compare Word 0/Word 1 register x Position */
|
|
#define GMAC_ST2RPQ_COMPC_Msk (_U_(0x1F) << GMAC_ST2RPQ_COMPC_Pos) /**< (GMAC_ST2RPQ) Index of Screening Type 2 Compare Word 0/Word 1 register x Mask */
|
|
#define GMAC_ST2RPQ_COMPC(value) (GMAC_ST2RPQ_COMPC_Msk & ((value) << GMAC_ST2RPQ_COMPC_Pos))
|
|
#define GMAC_ST2RPQ_COMPCE_Pos _U_(30) /**< (GMAC_ST2RPQ) Compare C Enable Position */
|
|
#define GMAC_ST2RPQ_COMPCE_Msk (_U_(0x1) << GMAC_ST2RPQ_COMPCE_Pos) /**< (GMAC_ST2RPQ) Compare C Enable Mask */
|
|
#define GMAC_ST2RPQ_COMPCE(value) (GMAC_ST2RPQ_COMPCE_Msk & ((value) << GMAC_ST2RPQ_COMPCE_Pos))
|
|
#define GMAC_ST2RPQ_Msk _U_(0x7FFFFF77) /**< (GMAC_ST2RPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_IERPQ : (GMAC Offset: 0x5FC) ( /W 32) Interrupt Enable Register Priority Queue (index = 1) 0 -------- */
|
|
#define GMAC_IERPQ_RCOMP_Pos _U_(1) /**< (GMAC_IERPQ) Receive Complete Position */
|
|
#define GMAC_IERPQ_RCOMP_Msk (_U_(0x1) << GMAC_IERPQ_RCOMP_Pos) /**< (GMAC_IERPQ) Receive Complete Mask */
|
|
#define GMAC_IERPQ_RCOMP(value) (GMAC_IERPQ_RCOMP_Msk & ((value) << GMAC_IERPQ_RCOMP_Pos))
|
|
#define GMAC_IERPQ_RXUBR_Pos _U_(2) /**< (GMAC_IERPQ) RX Used Bit Read Position */
|
|
#define GMAC_IERPQ_RXUBR_Msk (_U_(0x1) << GMAC_IERPQ_RXUBR_Pos) /**< (GMAC_IERPQ) RX Used Bit Read Mask */
|
|
#define GMAC_IERPQ_RXUBR(value) (GMAC_IERPQ_RXUBR_Msk & ((value) << GMAC_IERPQ_RXUBR_Pos))
|
|
#define GMAC_IERPQ_RLEX_Pos _U_(5) /**< (GMAC_IERPQ) Retry Limit Exceeded or Late Collision Position */
|
|
#define GMAC_IERPQ_RLEX_Msk (_U_(0x1) << GMAC_IERPQ_RLEX_Pos) /**< (GMAC_IERPQ) Retry Limit Exceeded or Late Collision Mask */
|
|
#define GMAC_IERPQ_RLEX(value) (GMAC_IERPQ_RLEX_Msk & ((value) << GMAC_IERPQ_RLEX_Pos))
|
|
#define GMAC_IERPQ_TFC_Pos _U_(6) /**< (GMAC_IERPQ) Transmit Frame Corruption Due to AHB Error Position */
|
|
#define GMAC_IERPQ_TFC_Msk (_U_(0x1) << GMAC_IERPQ_TFC_Pos) /**< (GMAC_IERPQ) Transmit Frame Corruption Due to AHB Error Mask */
|
|
#define GMAC_IERPQ_TFC(value) (GMAC_IERPQ_TFC_Msk & ((value) << GMAC_IERPQ_TFC_Pos))
|
|
#define GMAC_IERPQ_TCOMP_Pos _U_(7) /**< (GMAC_IERPQ) Transmit Complete Position */
|
|
#define GMAC_IERPQ_TCOMP_Msk (_U_(0x1) << GMAC_IERPQ_TCOMP_Pos) /**< (GMAC_IERPQ) Transmit Complete Mask */
|
|
#define GMAC_IERPQ_TCOMP(value) (GMAC_IERPQ_TCOMP_Msk & ((value) << GMAC_IERPQ_TCOMP_Pos))
|
|
#define GMAC_IERPQ_ROVR_Pos _U_(10) /**< (GMAC_IERPQ) Receive Overrun Position */
|
|
#define GMAC_IERPQ_ROVR_Msk (_U_(0x1) << GMAC_IERPQ_ROVR_Pos) /**< (GMAC_IERPQ) Receive Overrun Mask */
|
|
#define GMAC_IERPQ_ROVR(value) (GMAC_IERPQ_ROVR_Msk & ((value) << GMAC_IERPQ_ROVR_Pos))
|
|
#define GMAC_IERPQ_HRESP_Pos _U_(11) /**< (GMAC_IERPQ) HRESP Not OK Position */
|
|
#define GMAC_IERPQ_HRESP_Msk (_U_(0x1) << GMAC_IERPQ_HRESP_Pos) /**< (GMAC_IERPQ) HRESP Not OK Mask */
|
|
#define GMAC_IERPQ_HRESP(value) (GMAC_IERPQ_HRESP_Msk & ((value) << GMAC_IERPQ_HRESP_Pos))
|
|
#define GMAC_IERPQ_Msk _U_(0x00000CE6) /**< (GMAC_IERPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_IDRPQ : (GMAC Offset: 0x61C) ( /W 32) Interrupt Disable Register Priority Queue (index = 1) 0 -------- */
|
|
#define GMAC_IDRPQ_RCOMP_Pos _U_(1) /**< (GMAC_IDRPQ) Receive Complete Position */
|
|
#define GMAC_IDRPQ_RCOMP_Msk (_U_(0x1) << GMAC_IDRPQ_RCOMP_Pos) /**< (GMAC_IDRPQ) Receive Complete Mask */
|
|
#define GMAC_IDRPQ_RCOMP(value) (GMAC_IDRPQ_RCOMP_Msk & ((value) << GMAC_IDRPQ_RCOMP_Pos))
|
|
#define GMAC_IDRPQ_RXUBR_Pos _U_(2) /**< (GMAC_IDRPQ) RX Used Bit Read Position */
|
|
#define GMAC_IDRPQ_RXUBR_Msk (_U_(0x1) << GMAC_IDRPQ_RXUBR_Pos) /**< (GMAC_IDRPQ) RX Used Bit Read Mask */
|
|
#define GMAC_IDRPQ_RXUBR(value) (GMAC_IDRPQ_RXUBR_Msk & ((value) << GMAC_IDRPQ_RXUBR_Pos))
|
|
#define GMAC_IDRPQ_RLEX_Pos _U_(5) /**< (GMAC_IDRPQ) Retry Limit Exceeded or Late Collision Position */
|
|
#define GMAC_IDRPQ_RLEX_Msk (_U_(0x1) << GMAC_IDRPQ_RLEX_Pos) /**< (GMAC_IDRPQ) Retry Limit Exceeded or Late Collision Mask */
|
|
#define GMAC_IDRPQ_RLEX(value) (GMAC_IDRPQ_RLEX_Msk & ((value) << GMAC_IDRPQ_RLEX_Pos))
|
|
#define GMAC_IDRPQ_TFC_Pos _U_(6) /**< (GMAC_IDRPQ) Transmit Frame Corruption Due to AHB Error Position */
|
|
#define GMAC_IDRPQ_TFC_Msk (_U_(0x1) << GMAC_IDRPQ_TFC_Pos) /**< (GMAC_IDRPQ) Transmit Frame Corruption Due to AHB Error Mask */
|
|
#define GMAC_IDRPQ_TFC(value) (GMAC_IDRPQ_TFC_Msk & ((value) << GMAC_IDRPQ_TFC_Pos))
|
|
#define GMAC_IDRPQ_TCOMP_Pos _U_(7) /**< (GMAC_IDRPQ) Transmit Complete Position */
|
|
#define GMAC_IDRPQ_TCOMP_Msk (_U_(0x1) << GMAC_IDRPQ_TCOMP_Pos) /**< (GMAC_IDRPQ) Transmit Complete Mask */
|
|
#define GMAC_IDRPQ_TCOMP(value) (GMAC_IDRPQ_TCOMP_Msk & ((value) << GMAC_IDRPQ_TCOMP_Pos))
|
|
#define GMAC_IDRPQ_ROVR_Pos _U_(10) /**< (GMAC_IDRPQ) Receive Overrun Position */
|
|
#define GMAC_IDRPQ_ROVR_Msk (_U_(0x1) << GMAC_IDRPQ_ROVR_Pos) /**< (GMAC_IDRPQ) Receive Overrun Mask */
|
|
#define GMAC_IDRPQ_ROVR(value) (GMAC_IDRPQ_ROVR_Msk & ((value) << GMAC_IDRPQ_ROVR_Pos))
|
|
#define GMAC_IDRPQ_HRESP_Pos _U_(11) /**< (GMAC_IDRPQ) HRESP Not OK Position */
|
|
#define GMAC_IDRPQ_HRESP_Msk (_U_(0x1) << GMAC_IDRPQ_HRESP_Pos) /**< (GMAC_IDRPQ) HRESP Not OK Mask */
|
|
#define GMAC_IDRPQ_HRESP(value) (GMAC_IDRPQ_HRESP_Msk & ((value) << GMAC_IDRPQ_HRESP_Pos))
|
|
#define GMAC_IDRPQ_Msk _U_(0x00000CE6) /**< (GMAC_IDRPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_IMRPQ : (GMAC Offset: 0x63C) (R/W 32) Interrupt Mask Register Priority Queue (index = 1) 0 -------- */
|
|
#define GMAC_IMRPQ_RCOMP_Pos _U_(1) /**< (GMAC_IMRPQ) Receive Complete Position */
|
|
#define GMAC_IMRPQ_RCOMP_Msk (_U_(0x1) << GMAC_IMRPQ_RCOMP_Pos) /**< (GMAC_IMRPQ) Receive Complete Mask */
|
|
#define GMAC_IMRPQ_RCOMP(value) (GMAC_IMRPQ_RCOMP_Msk & ((value) << GMAC_IMRPQ_RCOMP_Pos))
|
|
#define GMAC_IMRPQ_RXUBR_Pos _U_(2) /**< (GMAC_IMRPQ) RX Used Bit Read Position */
|
|
#define GMAC_IMRPQ_RXUBR_Msk (_U_(0x1) << GMAC_IMRPQ_RXUBR_Pos) /**< (GMAC_IMRPQ) RX Used Bit Read Mask */
|
|
#define GMAC_IMRPQ_RXUBR(value) (GMAC_IMRPQ_RXUBR_Msk & ((value) << GMAC_IMRPQ_RXUBR_Pos))
|
|
#define GMAC_IMRPQ_RLEX_Pos _U_(5) /**< (GMAC_IMRPQ) Retry Limit Exceeded or Late Collision Position */
|
|
#define GMAC_IMRPQ_RLEX_Msk (_U_(0x1) << GMAC_IMRPQ_RLEX_Pos) /**< (GMAC_IMRPQ) Retry Limit Exceeded or Late Collision Mask */
|
|
#define GMAC_IMRPQ_RLEX(value) (GMAC_IMRPQ_RLEX_Msk & ((value) << GMAC_IMRPQ_RLEX_Pos))
|
|
#define GMAC_IMRPQ_AHB_Pos _U_(6) /**< (GMAC_IMRPQ) AHB Error Position */
|
|
#define GMAC_IMRPQ_AHB_Msk (_U_(0x1) << GMAC_IMRPQ_AHB_Pos) /**< (GMAC_IMRPQ) AHB Error Mask */
|
|
#define GMAC_IMRPQ_AHB(value) (GMAC_IMRPQ_AHB_Msk & ((value) << GMAC_IMRPQ_AHB_Pos))
|
|
#define GMAC_IMRPQ_TCOMP_Pos _U_(7) /**< (GMAC_IMRPQ) Transmit Complete Position */
|
|
#define GMAC_IMRPQ_TCOMP_Msk (_U_(0x1) << GMAC_IMRPQ_TCOMP_Pos) /**< (GMAC_IMRPQ) Transmit Complete Mask */
|
|
#define GMAC_IMRPQ_TCOMP(value) (GMAC_IMRPQ_TCOMP_Msk & ((value) << GMAC_IMRPQ_TCOMP_Pos))
|
|
#define GMAC_IMRPQ_ROVR_Pos _U_(10) /**< (GMAC_IMRPQ) Receive Overrun Position */
|
|
#define GMAC_IMRPQ_ROVR_Msk (_U_(0x1) << GMAC_IMRPQ_ROVR_Pos) /**< (GMAC_IMRPQ) Receive Overrun Mask */
|
|
#define GMAC_IMRPQ_ROVR(value) (GMAC_IMRPQ_ROVR_Msk & ((value) << GMAC_IMRPQ_ROVR_Pos))
|
|
#define GMAC_IMRPQ_HRESP_Pos _U_(11) /**< (GMAC_IMRPQ) HRESP Not OK Position */
|
|
#define GMAC_IMRPQ_HRESP_Msk (_U_(0x1) << GMAC_IMRPQ_HRESP_Pos) /**< (GMAC_IMRPQ) HRESP Not OK Mask */
|
|
#define GMAC_IMRPQ_HRESP(value) (GMAC_IMRPQ_HRESP_Msk & ((value) << GMAC_IMRPQ_HRESP_Pos))
|
|
#define GMAC_IMRPQ_Msk _U_(0x00000CE6) /**< (GMAC_IMRPQ) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2ER : (GMAC Offset: 0x6E0) (R/W 32) Screening Type 2 Ethertype Register (index = 0) 0 -------- */
|
|
#define GMAC_ST2ER_COMPVAL_Pos _U_(0) /**< (GMAC_ST2ER) Ethertype Compare Value Position */
|
|
#define GMAC_ST2ER_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2ER_COMPVAL_Pos) /**< (GMAC_ST2ER) Ethertype Compare Value Mask */
|
|
#define GMAC_ST2ER_COMPVAL(value) (GMAC_ST2ER_COMPVAL_Msk & ((value) << GMAC_ST2ER_COMPVAL_Pos))
|
|
#define GMAC_ST2ER_Msk _U_(0x0000FFFF) /**< (GMAC_ST2ER) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW00 : (GMAC Offset: 0x700) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 0) -------- */
|
|
#define GMAC_ST2CW00_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW00) Mask Value Position */
|
|
#define GMAC_ST2CW00_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW00_MASKVAL_Pos) /**< (GMAC_ST2CW00) Mask Value Mask */
|
|
#define GMAC_ST2CW00_MASKVAL(value) (GMAC_ST2CW00_MASKVAL_Msk & ((value) << GMAC_ST2CW00_MASKVAL_Pos))
|
|
#define GMAC_ST2CW00_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW00) Compare Value Position */
|
|
#define GMAC_ST2CW00_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW00_COMPVAL_Pos) /**< (GMAC_ST2CW00) Compare Value Mask */
|
|
#define GMAC_ST2CW00_COMPVAL(value) (GMAC_ST2CW00_COMPVAL_Msk & ((value) << GMAC_ST2CW00_COMPVAL_Pos))
|
|
#define GMAC_ST2CW00_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW00) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW10 : (GMAC Offset: 0x704) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 0) -------- */
|
|
#define GMAC_ST2CW10_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW10) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW10_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW10_OFFSVAL_Pos) /**< (GMAC_ST2CW10) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW10_OFFSVAL(value) (GMAC_ST2CW10_OFFSVAL_Msk & ((value) << GMAC_ST2CW10_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW10_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW10) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW10_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW10_OFFSSTRT_Pos) /**< (GMAC_ST2CW10) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW10_OFFSSTRT(value) (GMAC_ST2CW10_OFFSSTRT_Msk & ((value) << GMAC_ST2CW10_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW10_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW10) Offset from the start of the frame */
|
|
#define GMAC_ST2CW10_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW10) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW10_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW10) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW10_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW10) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW10_OFFSSTRT_FRAMESTART (GMAC_ST2CW10_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW10_OFFSSTRT_Pos) /**< (GMAC_ST2CW10) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW10_OFFSSTRT_ETHERTYPE (GMAC_ST2CW10_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW10_OFFSSTRT_Pos) /**< (GMAC_ST2CW10) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW10_OFFSSTRT_IP (GMAC_ST2CW10_OFFSSTRT_IP_Val << GMAC_ST2CW10_OFFSSTRT_Pos) /**< (GMAC_ST2CW10) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW10_OFFSSTRT_TCP_UDP (GMAC_ST2CW10_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW10_OFFSSTRT_Pos) /**< (GMAC_ST2CW10) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW10_Msk _U_(0x000001FF) /**< (GMAC_ST2CW10) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW01 : (GMAC Offset: 0x708) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 1) -------- */
|
|
#define GMAC_ST2CW01_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW01) Mask Value Position */
|
|
#define GMAC_ST2CW01_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW01_MASKVAL_Pos) /**< (GMAC_ST2CW01) Mask Value Mask */
|
|
#define GMAC_ST2CW01_MASKVAL(value) (GMAC_ST2CW01_MASKVAL_Msk & ((value) << GMAC_ST2CW01_MASKVAL_Pos))
|
|
#define GMAC_ST2CW01_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW01) Compare Value Position */
|
|
#define GMAC_ST2CW01_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW01_COMPVAL_Pos) /**< (GMAC_ST2CW01) Compare Value Mask */
|
|
#define GMAC_ST2CW01_COMPVAL(value) (GMAC_ST2CW01_COMPVAL_Msk & ((value) << GMAC_ST2CW01_COMPVAL_Pos))
|
|
#define GMAC_ST2CW01_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW01) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW11 : (GMAC Offset: 0x70C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 1) -------- */
|
|
#define GMAC_ST2CW11_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW11) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW11_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW11_OFFSVAL_Pos) /**< (GMAC_ST2CW11) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW11_OFFSVAL(value) (GMAC_ST2CW11_OFFSVAL_Msk & ((value) << GMAC_ST2CW11_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW11_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW11) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW11_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW11_OFFSSTRT_Pos) /**< (GMAC_ST2CW11) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW11_OFFSSTRT(value) (GMAC_ST2CW11_OFFSSTRT_Msk & ((value) << GMAC_ST2CW11_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW11_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW11) Offset from the start of the frame */
|
|
#define GMAC_ST2CW11_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW11) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW11_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW11) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW11_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW11) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW11_OFFSSTRT_FRAMESTART (GMAC_ST2CW11_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW11_OFFSSTRT_Pos) /**< (GMAC_ST2CW11) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW11_OFFSSTRT_ETHERTYPE (GMAC_ST2CW11_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW11_OFFSSTRT_Pos) /**< (GMAC_ST2CW11) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW11_OFFSSTRT_IP (GMAC_ST2CW11_OFFSSTRT_IP_Val << GMAC_ST2CW11_OFFSSTRT_Pos) /**< (GMAC_ST2CW11) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW11_OFFSSTRT_TCP_UDP (GMAC_ST2CW11_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW11_OFFSSTRT_Pos) /**< (GMAC_ST2CW11) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW11_Msk _U_(0x000001FF) /**< (GMAC_ST2CW11) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW02 : (GMAC Offset: 0x710) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 2) -------- */
|
|
#define GMAC_ST2CW02_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW02) Mask Value Position */
|
|
#define GMAC_ST2CW02_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW02_MASKVAL_Pos) /**< (GMAC_ST2CW02) Mask Value Mask */
|
|
#define GMAC_ST2CW02_MASKVAL(value) (GMAC_ST2CW02_MASKVAL_Msk & ((value) << GMAC_ST2CW02_MASKVAL_Pos))
|
|
#define GMAC_ST2CW02_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW02) Compare Value Position */
|
|
#define GMAC_ST2CW02_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW02_COMPVAL_Pos) /**< (GMAC_ST2CW02) Compare Value Mask */
|
|
#define GMAC_ST2CW02_COMPVAL(value) (GMAC_ST2CW02_COMPVAL_Msk & ((value) << GMAC_ST2CW02_COMPVAL_Pos))
|
|
#define GMAC_ST2CW02_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW02) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW12 : (GMAC Offset: 0x714) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 2) -------- */
|
|
#define GMAC_ST2CW12_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW12) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW12_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW12_OFFSVAL_Pos) /**< (GMAC_ST2CW12) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW12_OFFSVAL(value) (GMAC_ST2CW12_OFFSVAL_Msk & ((value) << GMAC_ST2CW12_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW12_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW12) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW12_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW12_OFFSSTRT_Pos) /**< (GMAC_ST2CW12) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW12_OFFSSTRT(value) (GMAC_ST2CW12_OFFSSTRT_Msk & ((value) << GMAC_ST2CW12_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW12_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW12) Offset from the start of the frame */
|
|
#define GMAC_ST2CW12_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW12) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW12_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW12) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW12_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW12) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW12_OFFSSTRT_FRAMESTART (GMAC_ST2CW12_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW12_OFFSSTRT_Pos) /**< (GMAC_ST2CW12) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW12_OFFSSTRT_ETHERTYPE (GMAC_ST2CW12_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW12_OFFSSTRT_Pos) /**< (GMAC_ST2CW12) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW12_OFFSSTRT_IP (GMAC_ST2CW12_OFFSSTRT_IP_Val << GMAC_ST2CW12_OFFSSTRT_Pos) /**< (GMAC_ST2CW12) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW12_OFFSSTRT_TCP_UDP (GMAC_ST2CW12_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW12_OFFSSTRT_Pos) /**< (GMAC_ST2CW12) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW12_Msk _U_(0x000001FF) /**< (GMAC_ST2CW12) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW03 : (GMAC Offset: 0x718) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 3) -------- */
|
|
#define GMAC_ST2CW03_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW03) Mask Value Position */
|
|
#define GMAC_ST2CW03_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW03_MASKVAL_Pos) /**< (GMAC_ST2CW03) Mask Value Mask */
|
|
#define GMAC_ST2CW03_MASKVAL(value) (GMAC_ST2CW03_MASKVAL_Msk & ((value) << GMAC_ST2CW03_MASKVAL_Pos))
|
|
#define GMAC_ST2CW03_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW03) Compare Value Position */
|
|
#define GMAC_ST2CW03_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW03_COMPVAL_Pos) /**< (GMAC_ST2CW03) Compare Value Mask */
|
|
#define GMAC_ST2CW03_COMPVAL(value) (GMAC_ST2CW03_COMPVAL_Msk & ((value) << GMAC_ST2CW03_COMPVAL_Pos))
|
|
#define GMAC_ST2CW03_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW03) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW13 : (GMAC Offset: 0x71C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 3) -------- */
|
|
#define GMAC_ST2CW13_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW13) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW13_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW13_OFFSVAL_Pos) /**< (GMAC_ST2CW13) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW13_OFFSVAL(value) (GMAC_ST2CW13_OFFSVAL_Msk & ((value) << GMAC_ST2CW13_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW13_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW13) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW13_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW13_OFFSSTRT_Pos) /**< (GMAC_ST2CW13) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW13_OFFSSTRT(value) (GMAC_ST2CW13_OFFSSTRT_Msk & ((value) << GMAC_ST2CW13_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW13_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW13) Offset from the start of the frame */
|
|
#define GMAC_ST2CW13_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW13) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW13_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW13) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW13_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW13) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW13_OFFSSTRT_FRAMESTART (GMAC_ST2CW13_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW13_OFFSSTRT_Pos) /**< (GMAC_ST2CW13) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW13_OFFSSTRT_ETHERTYPE (GMAC_ST2CW13_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW13_OFFSSTRT_Pos) /**< (GMAC_ST2CW13) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW13_OFFSSTRT_IP (GMAC_ST2CW13_OFFSSTRT_IP_Val << GMAC_ST2CW13_OFFSSTRT_Pos) /**< (GMAC_ST2CW13) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW13_OFFSSTRT_TCP_UDP (GMAC_ST2CW13_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW13_OFFSSTRT_Pos) /**< (GMAC_ST2CW13) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW13_Msk _U_(0x000001FF) /**< (GMAC_ST2CW13) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW04 : (GMAC Offset: 0x720) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 4) -------- */
|
|
#define GMAC_ST2CW04_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW04) Mask Value Position */
|
|
#define GMAC_ST2CW04_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW04_MASKVAL_Pos) /**< (GMAC_ST2CW04) Mask Value Mask */
|
|
#define GMAC_ST2CW04_MASKVAL(value) (GMAC_ST2CW04_MASKVAL_Msk & ((value) << GMAC_ST2CW04_MASKVAL_Pos))
|
|
#define GMAC_ST2CW04_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW04) Compare Value Position */
|
|
#define GMAC_ST2CW04_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW04_COMPVAL_Pos) /**< (GMAC_ST2CW04) Compare Value Mask */
|
|
#define GMAC_ST2CW04_COMPVAL(value) (GMAC_ST2CW04_COMPVAL_Msk & ((value) << GMAC_ST2CW04_COMPVAL_Pos))
|
|
#define GMAC_ST2CW04_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW04) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW14 : (GMAC Offset: 0x724) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 4) -------- */
|
|
#define GMAC_ST2CW14_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW14) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW14_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW14_OFFSVAL_Pos) /**< (GMAC_ST2CW14) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW14_OFFSVAL(value) (GMAC_ST2CW14_OFFSVAL_Msk & ((value) << GMAC_ST2CW14_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW14_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW14) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW14_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW14_OFFSSTRT_Pos) /**< (GMAC_ST2CW14) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW14_OFFSSTRT(value) (GMAC_ST2CW14_OFFSSTRT_Msk & ((value) << GMAC_ST2CW14_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW14_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW14) Offset from the start of the frame */
|
|
#define GMAC_ST2CW14_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW14) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW14_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW14) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW14_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW14) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW14_OFFSSTRT_FRAMESTART (GMAC_ST2CW14_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW14_OFFSSTRT_Pos) /**< (GMAC_ST2CW14) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW14_OFFSSTRT_ETHERTYPE (GMAC_ST2CW14_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW14_OFFSSTRT_Pos) /**< (GMAC_ST2CW14) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW14_OFFSSTRT_IP (GMAC_ST2CW14_OFFSSTRT_IP_Val << GMAC_ST2CW14_OFFSSTRT_Pos) /**< (GMAC_ST2CW14) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW14_OFFSSTRT_TCP_UDP (GMAC_ST2CW14_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW14_OFFSSTRT_Pos) /**< (GMAC_ST2CW14) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW14_Msk _U_(0x000001FF) /**< (GMAC_ST2CW14) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW05 : (GMAC Offset: 0x728) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 5) -------- */
|
|
#define GMAC_ST2CW05_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW05) Mask Value Position */
|
|
#define GMAC_ST2CW05_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW05_MASKVAL_Pos) /**< (GMAC_ST2CW05) Mask Value Mask */
|
|
#define GMAC_ST2CW05_MASKVAL(value) (GMAC_ST2CW05_MASKVAL_Msk & ((value) << GMAC_ST2CW05_MASKVAL_Pos))
|
|
#define GMAC_ST2CW05_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW05) Compare Value Position */
|
|
#define GMAC_ST2CW05_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW05_COMPVAL_Pos) /**< (GMAC_ST2CW05) Compare Value Mask */
|
|
#define GMAC_ST2CW05_COMPVAL(value) (GMAC_ST2CW05_COMPVAL_Msk & ((value) << GMAC_ST2CW05_COMPVAL_Pos))
|
|
#define GMAC_ST2CW05_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW05) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW15 : (GMAC Offset: 0x72C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 5) -------- */
|
|
#define GMAC_ST2CW15_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW15) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW15_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW15_OFFSVAL_Pos) /**< (GMAC_ST2CW15) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW15_OFFSVAL(value) (GMAC_ST2CW15_OFFSVAL_Msk & ((value) << GMAC_ST2CW15_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW15_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW15) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW15_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW15_OFFSSTRT_Pos) /**< (GMAC_ST2CW15) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW15_OFFSSTRT(value) (GMAC_ST2CW15_OFFSSTRT_Msk & ((value) << GMAC_ST2CW15_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW15_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW15) Offset from the start of the frame */
|
|
#define GMAC_ST2CW15_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW15) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW15_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW15) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW15_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW15) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW15_OFFSSTRT_FRAMESTART (GMAC_ST2CW15_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW15_OFFSSTRT_Pos) /**< (GMAC_ST2CW15) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW15_OFFSSTRT_ETHERTYPE (GMAC_ST2CW15_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW15_OFFSSTRT_Pos) /**< (GMAC_ST2CW15) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW15_OFFSSTRT_IP (GMAC_ST2CW15_OFFSSTRT_IP_Val << GMAC_ST2CW15_OFFSSTRT_Pos) /**< (GMAC_ST2CW15) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW15_OFFSSTRT_TCP_UDP (GMAC_ST2CW15_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW15_OFFSSTRT_Pos) /**< (GMAC_ST2CW15) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW15_Msk _U_(0x000001FF) /**< (GMAC_ST2CW15) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW06 : (GMAC Offset: 0x730) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 6) -------- */
|
|
#define GMAC_ST2CW06_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW06) Mask Value Position */
|
|
#define GMAC_ST2CW06_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW06_MASKVAL_Pos) /**< (GMAC_ST2CW06) Mask Value Mask */
|
|
#define GMAC_ST2CW06_MASKVAL(value) (GMAC_ST2CW06_MASKVAL_Msk & ((value) << GMAC_ST2CW06_MASKVAL_Pos))
|
|
#define GMAC_ST2CW06_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW06) Compare Value Position */
|
|
#define GMAC_ST2CW06_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW06_COMPVAL_Pos) /**< (GMAC_ST2CW06) Compare Value Mask */
|
|
#define GMAC_ST2CW06_COMPVAL(value) (GMAC_ST2CW06_COMPVAL_Msk & ((value) << GMAC_ST2CW06_COMPVAL_Pos))
|
|
#define GMAC_ST2CW06_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW06) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW16 : (GMAC Offset: 0x734) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 6) -------- */
|
|
#define GMAC_ST2CW16_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW16) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW16_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW16_OFFSVAL_Pos) /**< (GMAC_ST2CW16) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW16_OFFSVAL(value) (GMAC_ST2CW16_OFFSVAL_Msk & ((value) << GMAC_ST2CW16_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW16_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW16) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW16_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW16_OFFSSTRT_Pos) /**< (GMAC_ST2CW16) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW16_OFFSSTRT(value) (GMAC_ST2CW16_OFFSSTRT_Msk & ((value) << GMAC_ST2CW16_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW16_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW16) Offset from the start of the frame */
|
|
#define GMAC_ST2CW16_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW16) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW16_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW16) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW16_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW16) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW16_OFFSSTRT_FRAMESTART (GMAC_ST2CW16_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW16_OFFSSTRT_Pos) /**< (GMAC_ST2CW16) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW16_OFFSSTRT_ETHERTYPE (GMAC_ST2CW16_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW16_OFFSSTRT_Pos) /**< (GMAC_ST2CW16) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW16_OFFSSTRT_IP (GMAC_ST2CW16_OFFSSTRT_IP_Val << GMAC_ST2CW16_OFFSSTRT_Pos) /**< (GMAC_ST2CW16) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW16_OFFSSTRT_TCP_UDP (GMAC_ST2CW16_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW16_OFFSSTRT_Pos) /**< (GMAC_ST2CW16) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW16_Msk _U_(0x000001FF) /**< (GMAC_ST2CW16) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW07 : (GMAC Offset: 0x738) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 7) -------- */
|
|
#define GMAC_ST2CW07_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW07) Mask Value Position */
|
|
#define GMAC_ST2CW07_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW07_MASKVAL_Pos) /**< (GMAC_ST2CW07) Mask Value Mask */
|
|
#define GMAC_ST2CW07_MASKVAL(value) (GMAC_ST2CW07_MASKVAL_Msk & ((value) << GMAC_ST2CW07_MASKVAL_Pos))
|
|
#define GMAC_ST2CW07_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW07) Compare Value Position */
|
|
#define GMAC_ST2CW07_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW07_COMPVAL_Pos) /**< (GMAC_ST2CW07) Compare Value Mask */
|
|
#define GMAC_ST2CW07_COMPVAL(value) (GMAC_ST2CW07_COMPVAL_Msk & ((value) << GMAC_ST2CW07_COMPVAL_Pos))
|
|
#define GMAC_ST2CW07_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW07) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW17 : (GMAC Offset: 0x73C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 7) -------- */
|
|
#define GMAC_ST2CW17_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW17) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW17_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW17_OFFSVAL_Pos) /**< (GMAC_ST2CW17) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW17_OFFSVAL(value) (GMAC_ST2CW17_OFFSVAL_Msk & ((value) << GMAC_ST2CW17_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW17_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW17) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW17_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW17_OFFSSTRT_Pos) /**< (GMAC_ST2CW17) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW17_OFFSSTRT(value) (GMAC_ST2CW17_OFFSSTRT_Msk & ((value) << GMAC_ST2CW17_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW17_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW17) Offset from the start of the frame */
|
|
#define GMAC_ST2CW17_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW17) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW17_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW17) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW17_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW17) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW17_OFFSSTRT_FRAMESTART (GMAC_ST2CW17_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW17_OFFSSTRT_Pos) /**< (GMAC_ST2CW17) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW17_OFFSSTRT_ETHERTYPE (GMAC_ST2CW17_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW17_OFFSSTRT_Pos) /**< (GMAC_ST2CW17) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW17_OFFSSTRT_IP (GMAC_ST2CW17_OFFSSTRT_IP_Val << GMAC_ST2CW17_OFFSSTRT_Pos) /**< (GMAC_ST2CW17) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW17_OFFSSTRT_TCP_UDP (GMAC_ST2CW17_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW17_OFFSSTRT_Pos) /**< (GMAC_ST2CW17) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW17_Msk _U_(0x000001FF) /**< (GMAC_ST2CW17) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW08 : (GMAC Offset: 0x740) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 8) -------- */
|
|
#define GMAC_ST2CW08_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW08) Mask Value Position */
|
|
#define GMAC_ST2CW08_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW08_MASKVAL_Pos) /**< (GMAC_ST2CW08) Mask Value Mask */
|
|
#define GMAC_ST2CW08_MASKVAL(value) (GMAC_ST2CW08_MASKVAL_Msk & ((value) << GMAC_ST2CW08_MASKVAL_Pos))
|
|
#define GMAC_ST2CW08_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW08) Compare Value Position */
|
|
#define GMAC_ST2CW08_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW08_COMPVAL_Pos) /**< (GMAC_ST2CW08) Compare Value Mask */
|
|
#define GMAC_ST2CW08_COMPVAL(value) (GMAC_ST2CW08_COMPVAL_Msk & ((value) << GMAC_ST2CW08_COMPVAL_Pos))
|
|
#define GMAC_ST2CW08_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW08) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW18 : (GMAC Offset: 0x744) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 8) -------- */
|
|
#define GMAC_ST2CW18_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW18) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW18_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW18_OFFSVAL_Pos) /**< (GMAC_ST2CW18) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW18_OFFSVAL(value) (GMAC_ST2CW18_OFFSVAL_Msk & ((value) << GMAC_ST2CW18_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW18_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW18) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW18_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW18_OFFSSTRT_Pos) /**< (GMAC_ST2CW18) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW18_OFFSSTRT(value) (GMAC_ST2CW18_OFFSSTRT_Msk & ((value) << GMAC_ST2CW18_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW18_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW18) Offset from the start of the frame */
|
|
#define GMAC_ST2CW18_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW18) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW18_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW18) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW18_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW18) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW18_OFFSSTRT_FRAMESTART (GMAC_ST2CW18_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW18_OFFSSTRT_Pos) /**< (GMAC_ST2CW18) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW18_OFFSSTRT_ETHERTYPE (GMAC_ST2CW18_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW18_OFFSSTRT_Pos) /**< (GMAC_ST2CW18) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW18_OFFSSTRT_IP (GMAC_ST2CW18_OFFSSTRT_IP_Val << GMAC_ST2CW18_OFFSSTRT_Pos) /**< (GMAC_ST2CW18) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW18_OFFSSTRT_TCP_UDP (GMAC_ST2CW18_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW18_OFFSSTRT_Pos) /**< (GMAC_ST2CW18) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW18_Msk _U_(0x000001FF) /**< (GMAC_ST2CW18) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW09 : (GMAC Offset: 0x748) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 9) -------- */
|
|
#define GMAC_ST2CW09_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW09) Mask Value Position */
|
|
#define GMAC_ST2CW09_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW09_MASKVAL_Pos) /**< (GMAC_ST2CW09) Mask Value Mask */
|
|
#define GMAC_ST2CW09_MASKVAL(value) (GMAC_ST2CW09_MASKVAL_Msk & ((value) << GMAC_ST2CW09_MASKVAL_Pos))
|
|
#define GMAC_ST2CW09_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW09) Compare Value Position */
|
|
#define GMAC_ST2CW09_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW09_COMPVAL_Pos) /**< (GMAC_ST2CW09) Compare Value Mask */
|
|
#define GMAC_ST2CW09_COMPVAL(value) (GMAC_ST2CW09_COMPVAL_Msk & ((value) << GMAC_ST2CW09_COMPVAL_Pos))
|
|
#define GMAC_ST2CW09_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW09) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW19 : (GMAC Offset: 0x74C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 9) -------- */
|
|
#define GMAC_ST2CW19_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW19) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW19_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW19_OFFSVAL_Pos) /**< (GMAC_ST2CW19) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW19_OFFSVAL(value) (GMAC_ST2CW19_OFFSVAL_Msk & ((value) << GMAC_ST2CW19_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW19_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW19) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW19_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW19_OFFSSTRT_Pos) /**< (GMAC_ST2CW19) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW19_OFFSSTRT(value) (GMAC_ST2CW19_OFFSSTRT_Msk & ((value) << GMAC_ST2CW19_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW19_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW19) Offset from the start of the frame */
|
|
#define GMAC_ST2CW19_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW19) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW19_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW19) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW19_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW19) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW19_OFFSSTRT_FRAMESTART (GMAC_ST2CW19_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW19_OFFSSTRT_Pos) /**< (GMAC_ST2CW19) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW19_OFFSSTRT_ETHERTYPE (GMAC_ST2CW19_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW19_OFFSSTRT_Pos) /**< (GMAC_ST2CW19) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW19_OFFSSTRT_IP (GMAC_ST2CW19_OFFSSTRT_IP_Val << GMAC_ST2CW19_OFFSSTRT_Pos) /**< (GMAC_ST2CW19) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW19_OFFSSTRT_TCP_UDP (GMAC_ST2CW19_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW19_OFFSSTRT_Pos) /**< (GMAC_ST2CW19) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW19_Msk _U_(0x000001FF) /**< (GMAC_ST2CW19) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW010 : (GMAC Offset: 0x750) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 10) -------- */
|
|
#define GMAC_ST2CW010_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW010) Mask Value Position */
|
|
#define GMAC_ST2CW010_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW010_MASKVAL_Pos) /**< (GMAC_ST2CW010) Mask Value Mask */
|
|
#define GMAC_ST2CW010_MASKVAL(value) (GMAC_ST2CW010_MASKVAL_Msk & ((value) << GMAC_ST2CW010_MASKVAL_Pos))
|
|
#define GMAC_ST2CW010_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW010) Compare Value Position */
|
|
#define GMAC_ST2CW010_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW010_COMPVAL_Pos) /**< (GMAC_ST2CW010) Compare Value Mask */
|
|
#define GMAC_ST2CW010_COMPVAL(value) (GMAC_ST2CW010_COMPVAL_Msk & ((value) << GMAC_ST2CW010_COMPVAL_Pos))
|
|
#define GMAC_ST2CW010_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW010) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW110 : (GMAC Offset: 0x754) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 10) -------- */
|
|
#define GMAC_ST2CW110_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW110) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW110_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW110_OFFSVAL_Pos) /**< (GMAC_ST2CW110) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW110_OFFSVAL(value) (GMAC_ST2CW110_OFFSVAL_Msk & ((value) << GMAC_ST2CW110_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW110_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW110) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW110_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW110_OFFSSTRT_Pos) /**< (GMAC_ST2CW110) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW110_OFFSSTRT(value) (GMAC_ST2CW110_OFFSSTRT_Msk & ((value) << GMAC_ST2CW110_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW110_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW110) Offset from the start of the frame */
|
|
#define GMAC_ST2CW110_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW110) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW110_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW110) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW110_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW110) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW110_OFFSSTRT_FRAMESTART (GMAC_ST2CW110_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW110_OFFSSTRT_Pos) /**< (GMAC_ST2CW110) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW110_OFFSSTRT_ETHERTYPE (GMAC_ST2CW110_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW110_OFFSSTRT_Pos) /**< (GMAC_ST2CW110) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW110_OFFSSTRT_IP (GMAC_ST2CW110_OFFSSTRT_IP_Val << GMAC_ST2CW110_OFFSSTRT_Pos) /**< (GMAC_ST2CW110) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW110_OFFSSTRT_TCP_UDP (GMAC_ST2CW110_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW110_OFFSSTRT_Pos) /**< (GMAC_ST2CW110) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW110_Msk _U_(0x000001FF) /**< (GMAC_ST2CW110) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW011 : (GMAC Offset: 0x758) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 11) -------- */
|
|
#define GMAC_ST2CW011_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW011) Mask Value Position */
|
|
#define GMAC_ST2CW011_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW011_MASKVAL_Pos) /**< (GMAC_ST2CW011) Mask Value Mask */
|
|
#define GMAC_ST2CW011_MASKVAL(value) (GMAC_ST2CW011_MASKVAL_Msk & ((value) << GMAC_ST2CW011_MASKVAL_Pos))
|
|
#define GMAC_ST2CW011_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW011) Compare Value Position */
|
|
#define GMAC_ST2CW011_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW011_COMPVAL_Pos) /**< (GMAC_ST2CW011) Compare Value Mask */
|
|
#define GMAC_ST2CW011_COMPVAL(value) (GMAC_ST2CW011_COMPVAL_Msk & ((value) << GMAC_ST2CW011_COMPVAL_Pos))
|
|
#define GMAC_ST2CW011_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW011) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW111 : (GMAC Offset: 0x75C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 11) -------- */
|
|
#define GMAC_ST2CW111_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW111) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW111_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW111_OFFSVAL_Pos) /**< (GMAC_ST2CW111) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW111_OFFSVAL(value) (GMAC_ST2CW111_OFFSVAL_Msk & ((value) << GMAC_ST2CW111_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW111_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW111) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW111_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW111_OFFSSTRT_Pos) /**< (GMAC_ST2CW111) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW111_OFFSSTRT(value) (GMAC_ST2CW111_OFFSSTRT_Msk & ((value) << GMAC_ST2CW111_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW111_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW111) Offset from the start of the frame */
|
|
#define GMAC_ST2CW111_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW111) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW111_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW111) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW111_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW111) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW111_OFFSSTRT_FRAMESTART (GMAC_ST2CW111_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW111_OFFSSTRT_Pos) /**< (GMAC_ST2CW111) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW111_OFFSSTRT_ETHERTYPE (GMAC_ST2CW111_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW111_OFFSSTRT_Pos) /**< (GMAC_ST2CW111) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW111_OFFSSTRT_IP (GMAC_ST2CW111_OFFSSTRT_IP_Val << GMAC_ST2CW111_OFFSSTRT_Pos) /**< (GMAC_ST2CW111) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW111_OFFSSTRT_TCP_UDP (GMAC_ST2CW111_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW111_OFFSSTRT_Pos) /**< (GMAC_ST2CW111) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW111_Msk _U_(0x000001FF) /**< (GMAC_ST2CW111) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW012 : (GMAC Offset: 0x760) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 12) -------- */
|
|
#define GMAC_ST2CW012_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW012) Mask Value Position */
|
|
#define GMAC_ST2CW012_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW012_MASKVAL_Pos) /**< (GMAC_ST2CW012) Mask Value Mask */
|
|
#define GMAC_ST2CW012_MASKVAL(value) (GMAC_ST2CW012_MASKVAL_Msk & ((value) << GMAC_ST2CW012_MASKVAL_Pos))
|
|
#define GMAC_ST2CW012_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW012) Compare Value Position */
|
|
#define GMAC_ST2CW012_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW012_COMPVAL_Pos) /**< (GMAC_ST2CW012) Compare Value Mask */
|
|
#define GMAC_ST2CW012_COMPVAL(value) (GMAC_ST2CW012_COMPVAL_Msk & ((value) << GMAC_ST2CW012_COMPVAL_Pos))
|
|
#define GMAC_ST2CW012_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW012) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW112 : (GMAC Offset: 0x764) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 12) -------- */
|
|
#define GMAC_ST2CW112_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW112) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW112_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW112_OFFSVAL_Pos) /**< (GMAC_ST2CW112) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW112_OFFSVAL(value) (GMAC_ST2CW112_OFFSVAL_Msk & ((value) << GMAC_ST2CW112_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW112_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW112) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW112_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW112_OFFSSTRT_Pos) /**< (GMAC_ST2CW112) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW112_OFFSSTRT(value) (GMAC_ST2CW112_OFFSSTRT_Msk & ((value) << GMAC_ST2CW112_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW112_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW112) Offset from the start of the frame */
|
|
#define GMAC_ST2CW112_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW112) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW112_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW112) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW112_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW112) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW112_OFFSSTRT_FRAMESTART (GMAC_ST2CW112_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW112_OFFSSTRT_Pos) /**< (GMAC_ST2CW112) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW112_OFFSSTRT_ETHERTYPE (GMAC_ST2CW112_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW112_OFFSSTRT_Pos) /**< (GMAC_ST2CW112) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW112_OFFSSTRT_IP (GMAC_ST2CW112_OFFSSTRT_IP_Val << GMAC_ST2CW112_OFFSSTRT_Pos) /**< (GMAC_ST2CW112) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW112_OFFSSTRT_TCP_UDP (GMAC_ST2CW112_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW112_OFFSSTRT_Pos) /**< (GMAC_ST2CW112) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW112_Msk _U_(0x000001FF) /**< (GMAC_ST2CW112) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW013 : (GMAC Offset: 0x768) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 13) -------- */
|
|
#define GMAC_ST2CW013_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW013) Mask Value Position */
|
|
#define GMAC_ST2CW013_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW013_MASKVAL_Pos) /**< (GMAC_ST2CW013) Mask Value Mask */
|
|
#define GMAC_ST2CW013_MASKVAL(value) (GMAC_ST2CW013_MASKVAL_Msk & ((value) << GMAC_ST2CW013_MASKVAL_Pos))
|
|
#define GMAC_ST2CW013_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW013) Compare Value Position */
|
|
#define GMAC_ST2CW013_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW013_COMPVAL_Pos) /**< (GMAC_ST2CW013) Compare Value Mask */
|
|
#define GMAC_ST2CW013_COMPVAL(value) (GMAC_ST2CW013_COMPVAL_Msk & ((value) << GMAC_ST2CW013_COMPVAL_Pos))
|
|
#define GMAC_ST2CW013_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW013) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW113 : (GMAC Offset: 0x76C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 13) -------- */
|
|
#define GMAC_ST2CW113_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW113) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW113_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW113_OFFSVAL_Pos) /**< (GMAC_ST2CW113) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW113_OFFSVAL(value) (GMAC_ST2CW113_OFFSVAL_Msk & ((value) << GMAC_ST2CW113_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW113_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW113) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW113_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW113_OFFSSTRT_Pos) /**< (GMAC_ST2CW113) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW113_OFFSSTRT(value) (GMAC_ST2CW113_OFFSSTRT_Msk & ((value) << GMAC_ST2CW113_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW113_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW113) Offset from the start of the frame */
|
|
#define GMAC_ST2CW113_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW113) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW113_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW113) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW113_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW113) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW113_OFFSSTRT_FRAMESTART (GMAC_ST2CW113_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW113_OFFSSTRT_Pos) /**< (GMAC_ST2CW113) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW113_OFFSSTRT_ETHERTYPE (GMAC_ST2CW113_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW113_OFFSSTRT_Pos) /**< (GMAC_ST2CW113) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW113_OFFSSTRT_IP (GMAC_ST2CW113_OFFSSTRT_IP_Val << GMAC_ST2CW113_OFFSSTRT_Pos) /**< (GMAC_ST2CW113) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW113_OFFSSTRT_TCP_UDP (GMAC_ST2CW113_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW113_OFFSSTRT_Pos) /**< (GMAC_ST2CW113) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW113_Msk _U_(0x000001FF) /**< (GMAC_ST2CW113) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW014 : (GMAC Offset: 0x770) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 14) -------- */
|
|
#define GMAC_ST2CW014_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW014) Mask Value Position */
|
|
#define GMAC_ST2CW014_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW014_MASKVAL_Pos) /**< (GMAC_ST2CW014) Mask Value Mask */
|
|
#define GMAC_ST2CW014_MASKVAL(value) (GMAC_ST2CW014_MASKVAL_Msk & ((value) << GMAC_ST2CW014_MASKVAL_Pos))
|
|
#define GMAC_ST2CW014_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW014) Compare Value Position */
|
|
#define GMAC_ST2CW014_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW014_COMPVAL_Pos) /**< (GMAC_ST2CW014) Compare Value Mask */
|
|
#define GMAC_ST2CW014_COMPVAL(value) (GMAC_ST2CW014_COMPVAL_Msk & ((value) << GMAC_ST2CW014_COMPVAL_Pos))
|
|
#define GMAC_ST2CW014_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW014) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW114 : (GMAC Offset: 0x774) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 14) -------- */
|
|
#define GMAC_ST2CW114_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW114) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW114_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW114_OFFSVAL_Pos) /**< (GMAC_ST2CW114) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW114_OFFSVAL(value) (GMAC_ST2CW114_OFFSVAL_Msk & ((value) << GMAC_ST2CW114_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW114_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW114) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW114_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW114_OFFSSTRT_Pos) /**< (GMAC_ST2CW114) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW114_OFFSSTRT(value) (GMAC_ST2CW114_OFFSSTRT_Msk & ((value) << GMAC_ST2CW114_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW114_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW114) Offset from the start of the frame */
|
|
#define GMAC_ST2CW114_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW114) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW114_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW114) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW114_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW114) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW114_OFFSSTRT_FRAMESTART (GMAC_ST2CW114_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW114_OFFSSTRT_Pos) /**< (GMAC_ST2CW114) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW114_OFFSSTRT_ETHERTYPE (GMAC_ST2CW114_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW114_OFFSSTRT_Pos) /**< (GMAC_ST2CW114) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW114_OFFSSTRT_IP (GMAC_ST2CW114_OFFSSTRT_IP_Val << GMAC_ST2CW114_OFFSSTRT_Pos) /**< (GMAC_ST2CW114) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW114_OFFSSTRT_TCP_UDP (GMAC_ST2CW114_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW114_OFFSSTRT_Pos) /**< (GMAC_ST2CW114) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW114_Msk _U_(0x000001FF) /**< (GMAC_ST2CW114) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW015 : (GMAC Offset: 0x778) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 15) -------- */
|
|
#define GMAC_ST2CW015_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW015) Mask Value Position */
|
|
#define GMAC_ST2CW015_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW015_MASKVAL_Pos) /**< (GMAC_ST2CW015) Mask Value Mask */
|
|
#define GMAC_ST2CW015_MASKVAL(value) (GMAC_ST2CW015_MASKVAL_Msk & ((value) << GMAC_ST2CW015_MASKVAL_Pos))
|
|
#define GMAC_ST2CW015_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW015) Compare Value Position */
|
|
#define GMAC_ST2CW015_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW015_COMPVAL_Pos) /**< (GMAC_ST2CW015) Compare Value Mask */
|
|
#define GMAC_ST2CW015_COMPVAL(value) (GMAC_ST2CW015_COMPVAL_Msk & ((value) << GMAC_ST2CW015_COMPVAL_Pos))
|
|
#define GMAC_ST2CW015_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW015) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW115 : (GMAC Offset: 0x77C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 15) -------- */
|
|
#define GMAC_ST2CW115_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW115) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW115_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW115_OFFSVAL_Pos) /**< (GMAC_ST2CW115) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW115_OFFSVAL(value) (GMAC_ST2CW115_OFFSVAL_Msk & ((value) << GMAC_ST2CW115_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW115_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW115) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW115_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW115_OFFSSTRT_Pos) /**< (GMAC_ST2CW115) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW115_OFFSSTRT(value) (GMAC_ST2CW115_OFFSSTRT_Msk & ((value) << GMAC_ST2CW115_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW115_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW115) Offset from the start of the frame */
|
|
#define GMAC_ST2CW115_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW115) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW115_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW115) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW115_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW115) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW115_OFFSSTRT_FRAMESTART (GMAC_ST2CW115_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW115_OFFSSTRT_Pos) /**< (GMAC_ST2CW115) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW115_OFFSSTRT_ETHERTYPE (GMAC_ST2CW115_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW115_OFFSSTRT_Pos) /**< (GMAC_ST2CW115) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW115_OFFSSTRT_IP (GMAC_ST2CW115_OFFSSTRT_IP_Val << GMAC_ST2CW115_OFFSSTRT_Pos) /**< (GMAC_ST2CW115) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW115_OFFSSTRT_TCP_UDP (GMAC_ST2CW115_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW115_OFFSSTRT_Pos) /**< (GMAC_ST2CW115) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW115_Msk _U_(0x000001FF) /**< (GMAC_ST2CW115) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW016 : (GMAC Offset: 0x780) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 16) -------- */
|
|
#define GMAC_ST2CW016_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW016) Mask Value Position */
|
|
#define GMAC_ST2CW016_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW016_MASKVAL_Pos) /**< (GMAC_ST2CW016) Mask Value Mask */
|
|
#define GMAC_ST2CW016_MASKVAL(value) (GMAC_ST2CW016_MASKVAL_Msk & ((value) << GMAC_ST2CW016_MASKVAL_Pos))
|
|
#define GMAC_ST2CW016_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW016) Compare Value Position */
|
|
#define GMAC_ST2CW016_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW016_COMPVAL_Pos) /**< (GMAC_ST2CW016) Compare Value Mask */
|
|
#define GMAC_ST2CW016_COMPVAL(value) (GMAC_ST2CW016_COMPVAL_Msk & ((value) << GMAC_ST2CW016_COMPVAL_Pos))
|
|
#define GMAC_ST2CW016_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW016) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW116 : (GMAC Offset: 0x784) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 16) -------- */
|
|
#define GMAC_ST2CW116_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW116) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW116_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW116_OFFSVAL_Pos) /**< (GMAC_ST2CW116) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW116_OFFSVAL(value) (GMAC_ST2CW116_OFFSVAL_Msk & ((value) << GMAC_ST2CW116_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW116_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW116) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW116_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW116_OFFSSTRT_Pos) /**< (GMAC_ST2CW116) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW116_OFFSSTRT(value) (GMAC_ST2CW116_OFFSSTRT_Msk & ((value) << GMAC_ST2CW116_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW116_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW116) Offset from the start of the frame */
|
|
#define GMAC_ST2CW116_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW116) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW116_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW116) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW116_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW116) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW116_OFFSSTRT_FRAMESTART (GMAC_ST2CW116_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW116_OFFSSTRT_Pos) /**< (GMAC_ST2CW116) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW116_OFFSSTRT_ETHERTYPE (GMAC_ST2CW116_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW116_OFFSSTRT_Pos) /**< (GMAC_ST2CW116) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW116_OFFSSTRT_IP (GMAC_ST2CW116_OFFSSTRT_IP_Val << GMAC_ST2CW116_OFFSSTRT_Pos) /**< (GMAC_ST2CW116) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW116_OFFSSTRT_TCP_UDP (GMAC_ST2CW116_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW116_OFFSSTRT_Pos) /**< (GMAC_ST2CW116) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW116_Msk _U_(0x000001FF) /**< (GMAC_ST2CW116) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW017 : (GMAC Offset: 0x788) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 17) -------- */
|
|
#define GMAC_ST2CW017_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW017) Mask Value Position */
|
|
#define GMAC_ST2CW017_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW017_MASKVAL_Pos) /**< (GMAC_ST2CW017) Mask Value Mask */
|
|
#define GMAC_ST2CW017_MASKVAL(value) (GMAC_ST2CW017_MASKVAL_Msk & ((value) << GMAC_ST2CW017_MASKVAL_Pos))
|
|
#define GMAC_ST2CW017_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW017) Compare Value Position */
|
|
#define GMAC_ST2CW017_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW017_COMPVAL_Pos) /**< (GMAC_ST2CW017) Compare Value Mask */
|
|
#define GMAC_ST2CW017_COMPVAL(value) (GMAC_ST2CW017_COMPVAL_Msk & ((value) << GMAC_ST2CW017_COMPVAL_Pos))
|
|
#define GMAC_ST2CW017_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW017) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW117 : (GMAC Offset: 0x78C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 17) -------- */
|
|
#define GMAC_ST2CW117_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW117) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW117_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW117_OFFSVAL_Pos) /**< (GMAC_ST2CW117) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW117_OFFSVAL(value) (GMAC_ST2CW117_OFFSVAL_Msk & ((value) << GMAC_ST2CW117_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW117_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW117) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW117_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW117_OFFSSTRT_Pos) /**< (GMAC_ST2CW117) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW117_OFFSSTRT(value) (GMAC_ST2CW117_OFFSSTRT_Msk & ((value) << GMAC_ST2CW117_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW117_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW117) Offset from the start of the frame */
|
|
#define GMAC_ST2CW117_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW117) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW117_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW117) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW117_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW117) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW117_OFFSSTRT_FRAMESTART (GMAC_ST2CW117_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW117_OFFSSTRT_Pos) /**< (GMAC_ST2CW117) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW117_OFFSSTRT_ETHERTYPE (GMAC_ST2CW117_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW117_OFFSSTRT_Pos) /**< (GMAC_ST2CW117) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW117_OFFSSTRT_IP (GMAC_ST2CW117_OFFSSTRT_IP_Val << GMAC_ST2CW117_OFFSSTRT_Pos) /**< (GMAC_ST2CW117) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW117_OFFSSTRT_TCP_UDP (GMAC_ST2CW117_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW117_OFFSSTRT_Pos) /**< (GMAC_ST2CW117) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW117_Msk _U_(0x000001FF) /**< (GMAC_ST2CW117) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW018 : (GMAC Offset: 0x790) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 18) -------- */
|
|
#define GMAC_ST2CW018_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW018) Mask Value Position */
|
|
#define GMAC_ST2CW018_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW018_MASKVAL_Pos) /**< (GMAC_ST2CW018) Mask Value Mask */
|
|
#define GMAC_ST2CW018_MASKVAL(value) (GMAC_ST2CW018_MASKVAL_Msk & ((value) << GMAC_ST2CW018_MASKVAL_Pos))
|
|
#define GMAC_ST2CW018_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW018) Compare Value Position */
|
|
#define GMAC_ST2CW018_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW018_COMPVAL_Pos) /**< (GMAC_ST2CW018) Compare Value Mask */
|
|
#define GMAC_ST2CW018_COMPVAL(value) (GMAC_ST2CW018_COMPVAL_Msk & ((value) << GMAC_ST2CW018_COMPVAL_Pos))
|
|
#define GMAC_ST2CW018_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW018) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW118 : (GMAC Offset: 0x794) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 18) -------- */
|
|
#define GMAC_ST2CW118_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW118) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW118_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW118_OFFSVAL_Pos) /**< (GMAC_ST2CW118) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW118_OFFSVAL(value) (GMAC_ST2CW118_OFFSVAL_Msk & ((value) << GMAC_ST2CW118_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW118_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW118) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW118_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW118_OFFSSTRT_Pos) /**< (GMAC_ST2CW118) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW118_OFFSSTRT(value) (GMAC_ST2CW118_OFFSSTRT_Msk & ((value) << GMAC_ST2CW118_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW118_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW118) Offset from the start of the frame */
|
|
#define GMAC_ST2CW118_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW118) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW118_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW118) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW118_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW118) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW118_OFFSSTRT_FRAMESTART (GMAC_ST2CW118_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW118_OFFSSTRT_Pos) /**< (GMAC_ST2CW118) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW118_OFFSSTRT_ETHERTYPE (GMAC_ST2CW118_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW118_OFFSSTRT_Pos) /**< (GMAC_ST2CW118) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW118_OFFSSTRT_IP (GMAC_ST2CW118_OFFSSTRT_IP_Val << GMAC_ST2CW118_OFFSSTRT_Pos) /**< (GMAC_ST2CW118) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW118_OFFSSTRT_TCP_UDP (GMAC_ST2CW118_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW118_OFFSSTRT_Pos) /**< (GMAC_ST2CW118) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW118_Msk _U_(0x000001FF) /**< (GMAC_ST2CW118) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW019 : (GMAC Offset: 0x798) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 19) -------- */
|
|
#define GMAC_ST2CW019_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW019) Mask Value Position */
|
|
#define GMAC_ST2CW019_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW019_MASKVAL_Pos) /**< (GMAC_ST2CW019) Mask Value Mask */
|
|
#define GMAC_ST2CW019_MASKVAL(value) (GMAC_ST2CW019_MASKVAL_Msk & ((value) << GMAC_ST2CW019_MASKVAL_Pos))
|
|
#define GMAC_ST2CW019_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW019) Compare Value Position */
|
|
#define GMAC_ST2CW019_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW019_COMPVAL_Pos) /**< (GMAC_ST2CW019) Compare Value Mask */
|
|
#define GMAC_ST2CW019_COMPVAL(value) (GMAC_ST2CW019_COMPVAL_Msk & ((value) << GMAC_ST2CW019_COMPVAL_Pos))
|
|
#define GMAC_ST2CW019_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW019) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW119 : (GMAC Offset: 0x79C) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 19) -------- */
|
|
#define GMAC_ST2CW119_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW119) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW119_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW119_OFFSVAL_Pos) /**< (GMAC_ST2CW119) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW119_OFFSVAL(value) (GMAC_ST2CW119_OFFSVAL_Msk & ((value) << GMAC_ST2CW119_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW119_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW119) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW119_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW119_OFFSSTRT_Pos) /**< (GMAC_ST2CW119) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW119_OFFSSTRT(value) (GMAC_ST2CW119_OFFSSTRT_Msk & ((value) << GMAC_ST2CW119_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW119_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW119) Offset from the start of the frame */
|
|
#define GMAC_ST2CW119_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW119) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW119_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW119) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW119_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW119) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW119_OFFSSTRT_FRAMESTART (GMAC_ST2CW119_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW119_OFFSSTRT_Pos) /**< (GMAC_ST2CW119) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW119_OFFSSTRT_ETHERTYPE (GMAC_ST2CW119_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW119_OFFSSTRT_Pos) /**< (GMAC_ST2CW119) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW119_OFFSSTRT_IP (GMAC_ST2CW119_OFFSSTRT_IP_Val << GMAC_ST2CW119_OFFSSTRT_Pos) /**< (GMAC_ST2CW119) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW119_OFFSSTRT_TCP_UDP (GMAC_ST2CW119_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW119_OFFSSTRT_Pos) /**< (GMAC_ST2CW119) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW119_Msk _U_(0x000001FF) /**< (GMAC_ST2CW119) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW020 : (GMAC Offset: 0x7A0) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 20) -------- */
|
|
#define GMAC_ST2CW020_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW020) Mask Value Position */
|
|
#define GMAC_ST2CW020_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW020_MASKVAL_Pos) /**< (GMAC_ST2CW020) Mask Value Mask */
|
|
#define GMAC_ST2CW020_MASKVAL(value) (GMAC_ST2CW020_MASKVAL_Msk & ((value) << GMAC_ST2CW020_MASKVAL_Pos))
|
|
#define GMAC_ST2CW020_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW020) Compare Value Position */
|
|
#define GMAC_ST2CW020_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW020_COMPVAL_Pos) /**< (GMAC_ST2CW020) Compare Value Mask */
|
|
#define GMAC_ST2CW020_COMPVAL(value) (GMAC_ST2CW020_COMPVAL_Msk & ((value) << GMAC_ST2CW020_COMPVAL_Pos))
|
|
#define GMAC_ST2CW020_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW020) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW120 : (GMAC Offset: 0x7A4) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 20) -------- */
|
|
#define GMAC_ST2CW120_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW120) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW120_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW120_OFFSVAL_Pos) /**< (GMAC_ST2CW120) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW120_OFFSVAL(value) (GMAC_ST2CW120_OFFSVAL_Msk & ((value) << GMAC_ST2CW120_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW120_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW120) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW120_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW120_OFFSSTRT_Pos) /**< (GMAC_ST2CW120) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW120_OFFSSTRT(value) (GMAC_ST2CW120_OFFSSTRT_Msk & ((value) << GMAC_ST2CW120_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW120_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW120) Offset from the start of the frame */
|
|
#define GMAC_ST2CW120_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW120) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW120_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW120) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW120_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW120) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW120_OFFSSTRT_FRAMESTART (GMAC_ST2CW120_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW120_OFFSSTRT_Pos) /**< (GMAC_ST2CW120) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW120_OFFSSTRT_ETHERTYPE (GMAC_ST2CW120_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW120_OFFSSTRT_Pos) /**< (GMAC_ST2CW120) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW120_OFFSSTRT_IP (GMAC_ST2CW120_OFFSSTRT_IP_Val << GMAC_ST2CW120_OFFSSTRT_Pos) /**< (GMAC_ST2CW120) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW120_OFFSSTRT_TCP_UDP (GMAC_ST2CW120_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW120_OFFSSTRT_Pos) /**< (GMAC_ST2CW120) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW120_Msk _U_(0x000001FF) /**< (GMAC_ST2CW120) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW021 : (GMAC Offset: 0x7A8) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 21) -------- */
|
|
#define GMAC_ST2CW021_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW021) Mask Value Position */
|
|
#define GMAC_ST2CW021_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW021_MASKVAL_Pos) /**< (GMAC_ST2CW021) Mask Value Mask */
|
|
#define GMAC_ST2CW021_MASKVAL(value) (GMAC_ST2CW021_MASKVAL_Msk & ((value) << GMAC_ST2CW021_MASKVAL_Pos))
|
|
#define GMAC_ST2CW021_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW021) Compare Value Position */
|
|
#define GMAC_ST2CW021_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW021_COMPVAL_Pos) /**< (GMAC_ST2CW021) Compare Value Mask */
|
|
#define GMAC_ST2CW021_COMPVAL(value) (GMAC_ST2CW021_COMPVAL_Msk & ((value) << GMAC_ST2CW021_COMPVAL_Pos))
|
|
#define GMAC_ST2CW021_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW021) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW121 : (GMAC Offset: 0x7AC) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 21) -------- */
|
|
#define GMAC_ST2CW121_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW121) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW121_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW121_OFFSVAL_Pos) /**< (GMAC_ST2CW121) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW121_OFFSVAL(value) (GMAC_ST2CW121_OFFSVAL_Msk & ((value) << GMAC_ST2CW121_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW121_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW121) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW121_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW121_OFFSSTRT_Pos) /**< (GMAC_ST2CW121) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW121_OFFSSTRT(value) (GMAC_ST2CW121_OFFSSTRT_Msk & ((value) << GMAC_ST2CW121_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW121_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW121) Offset from the start of the frame */
|
|
#define GMAC_ST2CW121_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW121) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW121_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW121) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW121_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW121) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW121_OFFSSTRT_FRAMESTART (GMAC_ST2CW121_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW121_OFFSSTRT_Pos) /**< (GMAC_ST2CW121) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW121_OFFSSTRT_ETHERTYPE (GMAC_ST2CW121_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW121_OFFSSTRT_Pos) /**< (GMAC_ST2CW121) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW121_OFFSSTRT_IP (GMAC_ST2CW121_OFFSSTRT_IP_Val << GMAC_ST2CW121_OFFSSTRT_Pos) /**< (GMAC_ST2CW121) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW121_OFFSSTRT_TCP_UDP (GMAC_ST2CW121_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW121_OFFSSTRT_Pos) /**< (GMAC_ST2CW121) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW121_Msk _U_(0x000001FF) /**< (GMAC_ST2CW121) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW022 : (GMAC Offset: 0x7B0) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 22) -------- */
|
|
#define GMAC_ST2CW022_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW022) Mask Value Position */
|
|
#define GMAC_ST2CW022_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW022_MASKVAL_Pos) /**< (GMAC_ST2CW022) Mask Value Mask */
|
|
#define GMAC_ST2CW022_MASKVAL(value) (GMAC_ST2CW022_MASKVAL_Msk & ((value) << GMAC_ST2CW022_MASKVAL_Pos))
|
|
#define GMAC_ST2CW022_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW022) Compare Value Position */
|
|
#define GMAC_ST2CW022_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW022_COMPVAL_Pos) /**< (GMAC_ST2CW022) Compare Value Mask */
|
|
#define GMAC_ST2CW022_COMPVAL(value) (GMAC_ST2CW022_COMPVAL_Msk & ((value) << GMAC_ST2CW022_COMPVAL_Pos))
|
|
#define GMAC_ST2CW022_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW022) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW122 : (GMAC Offset: 0x7B4) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 22) -------- */
|
|
#define GMAC_ST2CW122_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW122) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW122_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW122_OFFSVAL_Pos) /**< (GMAC_ST2CW122) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW122_OFFSVAL(value) (GMAC_ST2CW122_OFFSVAL_Msk & ((value) << GMAC_ST2CW122_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW122_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW122) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW122_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW122_OFFSSTRT_Pos) /**< (GMAC_ST2CW122) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW122_OFFSSTRT(value) (GMAC_ST2CW122_OFFSSTRT_Msk & ((value) << GMAC_ST2CW122_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW122_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW122) Offset from the start of the frame */
|
|
#define GMAC_ST2CW122_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW122) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW122_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW122) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW122_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW122) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW122_OFFSSTRT_FRAMESTART (GMAC_ST2CW122_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW122_OFFSSTRT_Pos) /**< (GMAC_ST2CW122) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW122_OFFSSTRT_ETHERTYPE (GMAC_ST2CW122_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW122_OFFSSTRT_Pos) /**< (GMAC_ST2CW122) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW122_OFFSSTRT_IP (GMAC_ST2CW122_OFFSSTRT_IP_Val << GMAC_ST2CW122_OFFSSTRT_Pos) /**< (GMAC_ST2CW122) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW122_OFFSSTRT_TCP_UDP (GMAC_ST2CW122_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW122_OFFSSTRT_Pos) /**< (GMAC_ST2CW122) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW122_Msk _U_(0x000001FF) /**< (GMAC_ST2CW122) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW023 : (GMAC Offset: 0x7B8) (R/W 32) Screening Type 2 Compare Word 0 Register (index = 23) -------- */
|
|
#define GMAC_ST2CW023_MASKVAL_Pos _U_(0) /**< (GMAC_ST2CW023) Mask Value Position */
|
|
#define GMAC_ST2CW023_MASKVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW023_MASKVAL_Pos) /**< (GMAC_ST2CW023) Mask Value Mask */
|
|
#define GMAC_ST2CW023_MASKVAL(value) (GMAC_ST2CW023_MASKVAL_Msk & ((value) << GMAC_ST2CW023_MASKVAL_Pos))
|
|
#define GMAC_ST2CW023_COMPVAL_Pos _U_(16) /**< (GMAC_ST2CW023) Compare Value Position */
|
|
#define GMAC_ST2CW023_COMPVAL_Msk (_U_(0xFFFF) << GMAC_ST2CW023_COMPVAL_Pos) /**< (GMAC_ST2CW023) Compare Value Mask */
|
|
#define GMAC_ST2CW023_COMPVAL(value) (GMAC_ST2CW023_COMPVAL_Msk & ((value) << GMAC_ST2CW023_COMPVAL_Pos))
|
|
#define GMAC_ST2CW023_Msk _U_(0xFFFFFFFF) /**< (GMAC_ST2CW023) Register Mask */
|
|
|
|
|
|
/* -------- GMAC_ST2CW123 : (GMAC Offset: 0x7BC) (R/W 32) Screening Type 2 Compare Word 1 Register (index = 23) -------- */
|
|
#define GMAC_ST2CW123_OFFSVAL_Pos _U_(0) /**< (GMAC_ST2CW123) Offset Value in Bytes Position */
|
|
#define GMAC_ST2CW123_OFFSVAL_Msk (_U_(0x7F) << GMAC_ST2CW123_OFFSVAL_Pos) /**< (GMAC_ST2CW123) Offset Value in Bytes Mask */
|
|
#define GMAC_ST2CW123_OFFSVAL(value) (GMAC_ST2CW123_OFFSVAL_Msk & ((value) << GMAC_ST2CW123_OFFSVAL_Pos))
|
|
#define GMAC_ST2CW123_OFFSSTRT_Pos _U_(7) /**< (GMAC_ST2CW123) Ethernet Frame Offset Start Position */
|
|
#define GMAC_ST2CW123_OFFSSTRT_Msk (_U_(0x3) << GMAC_ST2CW123_OFFSSTRT_Pos) /**< (GMAC_ST2CW123) Ethernet Frame Offset Start Mask */
|
|
#define GMAC_ST2CW123_OFFSSTRT(value) (GMAC_ST2CW123_OFFSSTRT_Msk & ((value) << GMAC_ST2CW123_OFFSSTRT_Pos))
|
|
#define GMAC_ST2CW123_OFFSSTRT_FRAMESTART_Val _U_(0x0) /**< (GMAC_ST2CW123) Offset from the start of the frame */
|
|
#define GMAC_ST2CW123_OFFSSTRT_ETHERTYPE_Val _U_(0x1) /**< (GMAC_ST2CW123) Offset from the byte after the EtherType field */
|
|
#define GMAC_ST2CW123_OFFSSTRT_IP_Val _U_(0x2) /**< (GMAC_ST2CW123) Offset from the byte after the IP header field */
|
|
#define GMAC_ST2CW123_OFFSSTRT_TCP_UDP_Val _U_(0x3) /**< (GMAC_ST2CW123) Offset from the byte after the TCP/UDP header field */
|
|
#define GMAC_ST2CW123_OFFSSTRT_FRAMESTART (GMAC_ST2CW123_OFFSSTRT_FRAMESTART_Val << GMAC_ST2CW123_OFFSSTRT_Pos) /**< (GMAC_ST2CW123) Offset from the start of the frame Position */
|
|
#define GMAC_ST2CW123_OFFSSTRT_ETHERTYPE (GMAC_ST2CW123_OFFSSTRT_ETHERTYPE_Val << GMAC_ST2CW123_OFFSSTRT_Pos) /**< (GMAC_ST2CW123) Offset from the byte after the EtherType field Position */
|
|
#define GMAC_ST2CW123_OFFSSTRT_IP (GMAC_ST2CW123_OFFSSTRT_IP_Val << GMAC_ST2CW123_OFFSSTRT_Pos) /**< (GMAC_ST2CW123) Offset from the byte after the IP header field Position */
|
|
#define GMAC_ST2CW123_OFFSSTRT_TCP_UDP (GMAC_ST2CW123_OFFSSTRT_TCP_UDP_Val << GMAC_ST2CW123_OFFSSTRT_Pos) /**< (GMAC_ST2CW123) Offset from the byte after the TCP/UDP header field Position */
|
|
#define GMAC_ST2CW123_Msk _U_(0x000001FF) /**< (GMAC_ST2CW123) Register Mask */
|
|
|
|
|
|
/** \brief GMAC register offsets definitions */
|
|
#define GMAC_SAB_REG_OFST (0x00) /**< (GMAC_SAB) Specific Address 1 Bottom Register Offset */
|
|
#define GMAC_SAT_REG_OFST (0x04) /**< (GMAC_SAT) Specific Address 1 Top Register Offset */
|
|
#define GMAC_NCR_REG_OFST (0x00) /**< (GMAC_NCR) Network Control Register Offset */
|
|
#define GMAC_NCFGR_REG_OFST (0x04) /**< (GMAC_NCFGR) Network Configuration Register Offset */
|
|
#define GMAC_NSR_REG_OFST (0x08) /**< (GMAC_NSR) Network Status Register Offset */
|
|
#define GMAC_UR_REG_OFST (0x0C) /**< (GMAC_UR) User Register Offset */
|
|
#define GMAC_DCFGR_REG_OFST (0x10) /**< (GMAC_DCFGR) DMA Configuration Register Offset */
|
|
#define GMAC_TSR_REG_OFST (0x14) /**< (GMAC_TSR) Transmit Status Register Offset */
|
|
#define GMAC_RBQB_REG_OFST (0x18) /**< (GMAC_RBQB) Receive Buffer Queue Base Address Register Offset */
|
|
#define GMAC_TBQB_REG_OFST (0x1C) /**< (GMAC_TBQB) Transmit Buffer Queue Base Address Register Offset */
|
|
#define GMAC_RSR_REG_OFST (0x20) /**< (GMAC_RSR) Receive Status Register Offset */
|
|
#define GMAC_ISR_REG_OFST (0x24) /**< (GMAC_ISR) Interrupt Status Register Offset */
|
|
#define GMAC_IER_REG_OFST (0x28) /**< (GMAC_IER) Interrupt Enable Register Offset */
|
|
#define GMAC_IDR_REG_OFST (0x2C) /**< (GMAC_IDR) Interrupt Disable Register Offset */
|
|
#define GMAC_IMR_REG_OFST (0x30) /**< (GMAC_IMR) Interrupt Mask Register Offset */
|
|
#define GMAC_MAN_REG_OFST (0x34) /**< (GMAC_MAN) PHY Maintenance Register Offset */
|
|
#define GMAC_RPQ_REG_OFST (0x38) /**< (GMAC_RPQ) Received Pause Quantum Register Offset */
|
|
#define GMAC_TPQ_REG_OFST (0x3C) /**< (GMAC_TPQ) Transmit Pause Quantum Register Offset */
|
|
#define GMAC_TPSF_REG_OFST (0x40) /**< (GMAC_TPSF) TX Partial Store and Forward Register Offset */
|
|
#define GMAC_RPSF_REG_OFST (0x44) /**< (GMAC_RPSF) RX Partial Store and Forward Register Offset */
|
|
#define GMAC_RJFML_REG_OFST (0x48) /**< (GMAC_RJFML) RX Jumbo Frame Max Length Register Offset */
|
|
#define GMAC_HRB_REG_OFST (0x80) /**< (GMAC_HRB) Hash Register Bottom Offset */
|
|
#define GMAC_HRT_REG_OFST (0x84) /**< (GMAC_HRT) Hash Register Top Offset */
|
|
#define GMAC_TIDM1_REG_OFST (0xA8) /**< (GMAC_TIDM1) Type ID Match 1 Register Offset */
|
|
#define GMAC_TIDM2_REG_OFST (0xAC) /**< (GMAC_TIDM2) Type ID Match 2 Register Offset */
|
|
#define GMAC_TIDM3_REG_OFST (0xB0) /**< (GMAC_TIDM3) Type ID Match 3 Register Offset */
|
|
#define GMAC_TIDM4_REG_OFST (0xB4) /**< (GMAC_TIDM4) Type ID Match 4 Register Offset */
|
|
#define GMAC_WOL_REG_OFST (0xB8) /**< (GMAC_WOL) Wake on LAN Register Offset */
|
|
#define GMAC_IPGS_REG_OFST (0xBC) /**< (GMAC_IPGS) IPG Stretch Register Offset */
|
|
#define GMAC_SVLAN_REG_OFST (0xC0) /**< (GMAC_SVLAN) Stacked VLAN Register Offset */
|
|
#define GMAC_TPFCP_REG_OFST (0xC4) /**< (GMAC_TPFCP) Transmit PFC Pause Register Offset */
|
|
#define GMAC_SAMB1_REG_OFST (0xC8) /**< (GMAC_SAMB1) Specific Address 1 Mask Bottom Register Offset */
|
|
#define GMAC_SAMT1_REG_OFST (0xCC) /**< (GMAC_SAMT1) Specific Address 1 Mask Top Register Offset */
|
|
#define GMAC_NSC_REG_OFST (0xDC) /**< (GMAC_NSC) 1588 Timer Nanosecond Comparison Register Offset */
|
|
#define GMAC_SCL_REG_OFST (0xE0) /**< (GMAC_SCL) 1588 Timer Second Comparison Low Register Offset */
|
|
#define GMAC_SCH_REG_OFST (0xE4) /**< (GMAC_SCH) 1588 Timer Second Comparison High Register Offset */
|
|
#define GMAC_EFTSH_REG_OFST (0xE8) /**< (GMAC_EFTSH) PTP Event Frame Transmitted Seconds High Register Offset */
|
|
#define GMAC_EFRSH_REG_OFST (0xEC) /**< (GMAC_EFRSH) PTP Event Frame Received Seconds High Register Offset */
|
|
#define GMAC_PEFTSH_REG_OFST (0xF0) /**< (GMAC_PEFTSH) PTP Peer Event Frame Transmitted Seconds High Register Offset */
|
|
#define GMAC_PEFRSH_REG_OFST (0xF4) /**< (GMAC_PEFRSH) PTP Peer Event Frame Received Seconds High Register Offset */
|
|
#define GMAC_OTLO_REG_OFST (0x100) /**< (GMAC_OTLO) Octets Transmitted Low Register Offset */
|
|
#define GMAC_OTHI_REG_OFST (0x104) /**< (GMAC_OTHI) Octets Transmitted High Register Offset */
|
|
#define GMAC_FT_REG_OFST (0x108) /**< (GMAC_FT) Frames Transmitted Register Offset */
|
|
#define GMAC_BCFT_REG_OFST (0x10C) /**< (GMAC_BCFT) Broadcast Frames Transmitted Register Offset */
|
|
#define GMAC_MFT_REG_OFST (0x110) /**< (GMAC_MFT) Multicast Frames Transmitted Register Offset */
|
|
#define GMAC_PFT_REG_OFST (0x114) /**< (GMAC_PFT) Pause Frames Transmitted Register Offset */
|
|
#define GMAC_BFT64_REG_OFST (0x118) /**< (GMAC_BFT64) 64 Byte Frames Transmitted Register Offset */
|
|
#define GMAC_TBFT127_REG_OFST (0x11C) /**< (GMAC_TBFT127) 65 to 127 Byte Frames Transmitted Register Offset */
|
|
#define GMAC_TBFT255_REG_OFST (0x120) /**< (GMAC_TBFT255) 128 to 255 Byte Frames Transmitted Register Offset */
|
|
#define GMAC_TBFT511_REG_OFST (0x124) /**< (GMAC_TBFT511) 256 to 511 Byte Frames Transmitted Register Offset */
|
|
#define GMAC_TBFT1023_REG_OFST (0x128) /**< (GMAC_TBFT1023) 512 to 1023 Byte Frames Transmitted Register Offset */
|
|
#define GMAC_TBFT1518_REG_OFST (0x12C) /**< (GMAC_TBFT1518) 1024 to 1518 Byte Frames Transmitted Register Offset */
|
|
#define GMAC_GTBFT1518_REG_OFST (0x130) /**< (GMAC_GTBFT1518) Greater Than 1518 Byte Frames Transmitted Register Offset */
|
|
#define GMAC_TUR_REG_OFST (0x134) /**< (GMAC_TUR) Transmit Underruns Register Offset */
|
|
#define GMAC_SCF_REG_OFST (0x138) /**< (GMAC_SCF) Single Collision Frames Register Offset */
|
|
#define GMAC_MCF_REG_OFST (0x13C) /**< (GMAC_MCF) Multiple Collision Frames Register Offset */
|
|
#define GMAC_EC_REG_OFST (0x140) /**< (GMAC_EC) Excessive Collisions Register Offset */
|
|
#define GMAC_LC_REG_OFST (0x144) /**< (GMAC_LC) Late Collisions Register Offset */
|
|
#define GMAC_DTF_REG_OFST (0x148) /**< (GMAC_DTF) Deferred Transmission Frames Register Offset */
|
|
#define GMAC_CSE_REG_OFST (0x14C) /**< (GMAC_CSE) Carrier Sense Errors Register Offset */
|
|
#define GMAC_ORLO_REG_OFST (0x150) /**< (GMAC_ORLO) Octets Received Low Received Register Offset */
|
|
#define GMAC_ORHI_REG_OFST (0x154) /**< (GMAC_ORHI) Octets Received High Received Register Offset */
|
|
#define GMAC_FR_REG_OFST (0x158) /**< (GMAC_FR) Frames Received Register Offset */
|
|
#define GMAC_BCFR_REG_OFST (0x15C) /**< (GMAC_BCFR) Broadcast Frames Received Register Offset */
|
|
#define GMAC_MFR_REG_OFST (0x160) /**< (GMAC_MFR) Multicast Frames Received Register Offset */
|
|
#define GMAC_PFR_REG_OFST (0x164) /**< (GMAC_PFR) Pause Frames Received Register Offset */
|
|
#define GMAC_BFR64_REG_OFST (0x168) /**< (GMAC_BFR64) 64 Byte Frames Received Register Offset */
|
|
#define GMAC_TBFR127_REG_OFST (0x16C) /**< (GMAC_TBFR127) 65 to 127 Byte Frames Received Register Offset */
|
|
#define GMAC_TBFR255_REG_OFST (0x170) /**< (GMAC_TBFR255) 128 to 255 Byte Frames Received Register Offset */
|
|
#define GMAC_TBFR511_REG_OFST (0x174) /**< (GMAC_TBFR511) 256 to 511 Byte Frames Received Register Offset */
|
|
#define GMAC_TBFR1023_REG_OFST (0x178) /**< (GMAC_TBFR1023) 512 to 1023 Byte Frames Received Register Offset */
|
|
#define GMAC_TBFR1518_REG_OFST (0x17C) /**< (GMAC_TBFR1518) 1024 to 1518 Byte Frames Received Register Offset */
|
|
#define GMAC_TMXBFR_REG_OFST (0x180) /**< (GMAC_TMXBFR) 1519 to Maximum Byte Frames Received Register Offset */
|
|
#define GMAC_UFR_REG_OFST (0x184) /**< (GMAC_UFR) Undersize Frames Received Register Offset */
|
|
#define GMAC_OFR_REG_OFST (0x188) /**< (GMAC_OFR) Oversize Frames Received Register Offset */
|
|
#define GMAC_JR_REG_OFST (0x18C) /**< (GMAC_JR) Jabbers Received Register Offset */
|
|
#define GMAC_FCSE_REG_OFST (0x190) /**< (GMAC_FCSE) Frame Check Sequence Errors Register Offset */
|
|
#define GMAC_LFFE_REG_OFST (0x194) /**< (GMAC_LFFE) Length Field Frame Errors Register Offset */
|
|
#define GMAC_RSE_REG_OFST (0x198) /**< (GMAC_RSE) Receive Symbol Errors Register Offset */
|
|
#define GMAC_AE_REG_OFST (0x19C) /**< (GMAC_AE) Alignment Errors Register Offset */
|
|
#define GMAC_RRE_REG_OFST (0x1A0) /**< (GMAC_RRE) Receive Resource Errors Register Offset */
|
|
#define GMAC_ROE_REG_OFST (0x1A4) /**< (GMAC_ROE) Receive Overrun Register Offset */
|
|
#define GMAC_IHCE_REG_OFST (0x1A8) /**< (GMAC_IHCE) IP Header Checksum Errors Register Offset */
|
|
#define GMAC_TCE_REG_OFST (0x1AC) /**< (GMAC_TCE) TCP Checksum Errors Register Offset */
|
|
#define GMAC_UCE_REG_OFST (0x1B0) /**< (GMAC_UCE) UDP Checksum Errors Register Offset */
|
|
#define GMAC_TISUBN_REG_OFST (0x1BC) /**< (GMAC_TISUBN) 1588 Timer Increment Sub-nanoseconds Register Offset */
|
|
#define GMAC_TSH_REG_OFST (0x1C0) /**< (GMAC_TSH) 1588 Timer Seconds High Register Offset */
|
|
#define GMAC_TSL_REG_OFST (0x1D0) /**< (GMAC_TSL) 1588 Timer Seconds Low Register Offset */
|
|
#define GMAC_TN_REG_OFST (0x1D4) /**< (GMAC_TN) 1588 Timer Nanoseconds Register Offset */
|
|
#define GMAC_TA_REG_OFST (0x1D8) /**< (GMAC_TA) 1588 Timer Adjust Register Offset */
|
|
#define GMAC_TI_REG_OFST (0x1DC) /**< (GMAC_TI) 1588 Timer Increment Register Offset */
|
|
#define GMAC_EFTSL_REG_OFST (0x1E0) /**< (GMAC_EFTSL) PTP Event Frame Transmitted Seconds Low Register Offset */
|
|
#define GMAC_EFTN_REG_OFST (0x1E4) /**< (GMAC_EFTN) PTP Event Frame Transmitted Nanoseconds Register Offset */
|
|
#define GMAC_EFRSL_REG_OFST (0x1E8) /**< (GMAC_EFRSL) PTP Event Frame Received Seconds Low Register Offset */
|
|
#define GMAC_EFRN_REG_OFST (0x1EC) /**< (GMAC_EFRN) PTP Event Frame Received Nanoseconds Register Offset */
|
|
#define GMAC_PEFTSL_REG_OFST (0x1F0) /**< (GMAC_PEFTSL) PTP Peer Event Frame Transmitted Seconds Low Register Offset */
|
|
#define GMAC_PEFTN_REG_OFST (0x1F4) /**< (GMAC_PEFTN) PTP Peer Event Frame Transmitted Nanoseconds Register Offset */
|
|
#define GMAC_PEFRSL_REG_OFST (0x1F8) /**< (GMAC_PEFRSL) PTP Peer Event Frame Received Seconds Low Register Offset */
|
|
#define GMAC_PEFRN_REG_OFST (0x1FC) /**< (GMAC_PEFRN) PTP Peer Event Frame Received Nanoseconds Register Offset */
|
|
#define GMAC_ISRPQ_REG_OFST (0x3FC) /**< (GMAC_ISRPQ) Interrupt Status Register Priority Queue (index = 1) 0 Offset */
|
|
#define GMAC_TBQBAPQ_REG_OFST (0x43C) /**< (GMAC_TBQBAPQ) Transmit Buffer Queue Base Address Register Priority Queue (index = 1) 0 Offset */
|
|
#define GMAC_RBQBAPQ_REG_OFST (0x47C) /**< (GMAC_RBQBAPQ) Receive Buffer Queue Base Address Register Priority Queue (index = 1) 0 Offset */
|
|
#define GMAC_RBSRPQ_REG_OFST (0x49C) /**< (GMAC_RBSRPQ) Receive Buffer Size Register Priority Queue (index = 1) 0 Offset */
|
|
#define GMAC_CBSCR_REG_OFST (0x4BC) /**< (GMAC_CBSCR) Credit-Based Shaping Control Register Offset */
|
|
#define GMAC_CBSISQA_REG_OFST (0x4C0) /**< (GMAC_CBSISQA) Credit-Based Shaping IdleSlope Register for Queue A Offset */
|
|
#define GMAC_CBSISQB_REG_OFST (0x4C4) /**< (GMAC_CBSISQB) Credit-Based Shaping IdleSlope Register for Queue B Offset */
|
|
#define GMAC_ST1RPQ_REG_OFST (0x500) /**< (GMAC_ST1RPQ) Screening Type 1 Register Priority Queue (index = 0) 0 Offset */
|
|
#define GMAC_ST2RPQ_REG_OFST (0x540) /**< (GMAC_ST2RPQ) Screening Type 2 Register Priority Queue (index = 0) 0 Offset */
|
|
#define GMAC_IERPQ_REG_OFST (0x5FC) /**< (GMAC_IERPQ) Interrupt Enable Register Priority Queue (index = 1) 0 Offset */
|
|
#define GMAC_IDRPQ_REG_OFST (0x61C) /**< (GMAC_IDRPQ) Interrupt Disable Register Priority Queue (index = 1) 0 Offset */
|
|
#define GMAC_IMRPQ_REG_OFST (0x63C) /**< (GMAC_IMRPQ) Interrupt Mask Register Priority Queue (index = 1) 0 Offset */
|
|
#define GMAC_ST2ER_REG_OFST (0x6E0) /**< (GMAC_ST2ER) Screening Type 2 Ethertype Register (index = 0) 0 Offset */
|
|
#define GMAC_ST2CW00_REG_OFST (0x700) /**< (GMAC_ST2CW00) Screening Type 2 Compare Word 0 Register (index = 0) Offset */
|
|
#define GMAC_ST2CW10_REG_OFST (0x704) /**< (GMAC_ST2CW10) Screening Type 2 Compare Word 1 Register (index = 0) Offset */
|
|
#define GMAC_ST2CW01_REG_OFST (0x708) /**< (GMAC_ST2CW01) Screening Type 2 Compare Word 0 Register (index = 1) Offset */
|
|
#define GMAC_ST2CW11_REG_OFST (0x70C) /**< (GMAC_ST2CW11) Screening Type 2 Compare Word 1 Register (index = 1) Offset */
|
|
#define GMAC_ST2CW02_REG_OFST (0x710) /**< (GMAC_ST2CW02) Screening Type 2 Compare Word 0 Register (index = 2) Offset */
|
|
#define GMAC_ST2CW12_REG_OFST (0x714) /**< (GMAC_ST2CW12) Screening Type 2 Compare Word 1 Register (index = 2) Offset */
|
|
#define GMAC_ST2CW03_REG_OFST (0x718) /**< (GMAC_ST2CW03) Screening Type 2 Compare Word 0 Register (index = 3) Offset */
|
|
#define GMAC_ST2CW13_REG_OFST (0x71C) /**< (GMAC_ST2CW13) Screening Type 2 Compare Word 1 Register (index = 3) Offset */
|
|
#define GMAC_ST2CW04_REG_OFST (0x720) /**< (GMAC_ST2CW04) Screening Type 2 Compare Word 0 Register (index = 4) Offset */
|
|
#define GMAC_ST2CW14_REG_OFST (0x724) /**< (GMAC_ST2CW14) Screening Type 2 Compare Word 1 Register (index = 4) Offset */
|
|
#define GMAC_ST2CW05_REG_OFST (0x728) /**< (GMAC_ST2CW05) Screening Type 2 Compare Word 0 Register (index = 5) Offset */
|
|
#define GMAC_ST2CW15_REG_OFST (0x72C) /**< (GMAC_ST2CW15) Screening Type 2 Compare Word 1 Register (index = 5) Offset */
|
|
#define GMAC_ST2CW06_REG_OFST (0x730) /**< (GMAC_ST2CW06) Screening Type 2 Compare Word 0 Register (index = 6) Offset */
|
|
#define GMAC_ST2CW16_REG_OFST (0x734) /**< (GMAC_ST2CW16) Screening Type 2 Compare Word 1 Register (index = 6) Offset */
|
|
#define GMAC_ST2CW07_REG_OFST (0x738) /**< (GMAC_ST2CW07) Screening Type 2 Compare Word 0 Register (index = 7) Offset */
|
|
#define GMAC_ST2CW17_REG_OFST (0x73C) /**< (GMAC_ST2CW17) Screening Type 2 Compare Word 1 Register (index = 7) Offset */
|
|
#define GMAC_ST2CW08_REG_OFST (0x740) /**< (GMAC_ST2CW08) Screening Type 2 Compare Word 0 Register (index = 8) Offset */
|
|
#define GMAC_ST2CW18_REG_OFST (0x744) /**< (GMAC_ST2CW18) Screening Type 2 Compare Word 1 Register (index = 8) Offset */
|
|
#define GMAC_ST2CW09_REG_OFST (0x748) /**< (GMAC_ST2CW09) Screening Type 2 Compare Word 0 Register (index = 9) Offset */
|
|
#define GMAC_ST2CW19_REG_OFST (0x74C) /**< (GMAC_ST2CW19) Screening Type 2 Compare Word 1 Register (index = 9) Offset */
|
|
#define GMAC_ST2CW010_REG_OFST (0x750) /**< (GMAC_ST2CW010) Screening Type 2 Compare Word 0 Register (index = 10) Offset */
|
|
#define GMAC_ST2CW110_REG_OFST (0x754) /**< (GMAC_ST2CW110) Screening Type 2 Compare Word 1 Register (index = 10) Offset */
|
|
#define GMAC_ST2CW011_REG_OFST (0x758) /**< (GMAC_ST2CW011) Screening Type 2 Compare Word 0 Register (index = 11) Offset */
|
|
#define GMAC_ST2CW111_REG_OFST (0x75C) /**< (GMAC_ST2CW111) Screening Type 2 Compare Word 1 Register (index = 11) Offset */
|
|
#define GMAC_ST2CW012_REG_OFST (0x760) /**< (GMAC_ST2CW012) Screening Type 2 Compare Word 0 Register (index = 12) Offset */
|
|
#define GMAC_ST2CW112_REG_OFST (0x764) /**< (GMAC_ST2CW112) Screening Type 2 Compare Word 1 Register (index = 12) Offset */
|
|
#define GMAC_ST2CW013_REG_OFST (0x768) /**< (GMAC_ST2CW013) Screening Type 2 Compare Word 0 Register (index = 13) Offset */
|
|
#define GMAC_ST2CW113_REG_OFST (0x76C) /**< (GMAC_ST2CW113) Screening Type 2 Compare Word 1 Register (index = 13) Offset */
|
|
#define GMAC_ST2CW014_REG_OFST (0x770) /**< (GMAC_ST2CW014) Screening Type 2 Compare Word 0 Register (index = 14) Offset */
|
|
#define GMAC_ST2CW114_REG_OFST (0x774) /**< (GMAC_ST2CW114) Screening Type 2 Compare Word 1 Register (index = 14) Offset */
|
|
#define GMAC_ST2CW015_REG_OFST (0x778) /**< (GMAC_ST2CW015) Screening Type 2 Compare Word 0 Register (index = 15) Offset */
|
|
#define GMAC_ST2CW115_REG_OFST (0x77C) /**< (GMAC_ST2CW115) Screening Type 2 Compare Word 1 Register (index = 15) Offset */
|
|
#define GMAC_ST2CW016_REG_OFST (0x780) /**< (GMAC_ST2CW016) Screening Type 2 Compare Word 0 Register (index = 16) Offset */
|
|
#define GMAC_ST2CW116_REG_OFST (0x784) /**< (GMAC_ST2CW116) Screening Type 2 Compare Word 1 Register (index = 16) Offset */
|
|
#define GMAC_ST2CW017_REG_OFST (0x788) /**< (GMAC_ST2CW017) Screening Type 2 Compare Word 0 Register (index = 17) Offset */
|
|
#define GMAC_ST2CW117_REG_OFST (0x78C) /**< (GMAC_ST2CW117) Screening Type 2 Compare Word 1 Register (index = 17) Offset */
|
|
#define GMAC_ST2CW018_REG_OFST (0x790) /**< (GMAC_ST2CW018) Screening Type 2 Compare Word 0 Register (index = 18) Offset */
|
|
#define GMAC_ST2CW118_REG_OFST (0x794) /**< (GMAC_ST2CW118) Screening Type 2 Compare Word 1 Register (index = 18) Offset */
|
|
#define GMAC_ST2CW019_REG_OFST (0x798) /**< (GMAC_ST2CW019) Screening Type 2 Compare Word 0 Register (index = 19) Offset */
|
|
#define GMAC_ST2CW119_REG_OFST (0x79C) /**< (GMAC_ST2CW119) Screening Type 2 Compare Word 1 Register (index = 19) Offset */
|
|
#define GMAC_ST2CW020_REG_OFST (0x7A0) /**< (GMAC_ST2CW020) Screening Type 2 Compare Word 0 Register (index = 20) Offset */
|
|
#define GMAC_ST2CW120_REG_OFST (0x7A4) /**< (GMAC_ST2CW120) Screening Type 2 Compare Word 1 Register (index = 20) Offset */
|
|
#define GMAC_ST2CW021_REG_OFST (0x7A8) /**< (GMAC_ST2CW021) Screening Type 2 Compare Word 0 Register (index = 21) Offset */
|
|
#define GMAC_ST2CW121_REG_OFST (0x7AC) /**< (GMAC_ST2CW121) Screening Type 2 Compare Word 1 Register (index = 21) Offset */
|
|
#define GMAC_ST2CW022_REG_OFST (0x7B0) /**< (GMAC_ST2CW022) Screening Type 2 Compare Word 0 Register (index = 22) Offset */
|
|
#define GMAC_ST2CW122_REG_OFST (0x7B4) /**< (GMAC_ST2CW122) Screening Type 2 Compare Word 1 Register (index = 22) Offset */
|
|
#define GMAC_ST2CW023_REG_OFST (0x7B8) /**< (GMAC_ST2CW023) Screening Type 2 Compare Word 0 Register (index = 23) Offset */
|
|
#define GMAC_ST2CW123_REG_OFST (0x7BC) /**< (GMAC_ST2CW123) Screening Type 2 Compare Word 1 Register (index = 23) Offset */
|
|
|
|
#if !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__))
|
|
/** \brief GMAC_SA register API structure */
|
|
typedef struct
|
|
{
|
|
__IO uint32_t GMAC_SAB; /**< Offset: 0x00 (R/W 32) Specific Address 1 Bottom Register */
|
|
__IO uint32_t GMAC_SAT; /**< Offset: 0x04 (R/W 32) Specific Address 1 Top Register */
|
|
} gmac_sa_registers_t;
|
|
|
|
#define GMAC_SA_NUMBER _U_(4)
|
|
|
|
/** \brief GMAC register API structure */
|
|
typedef struct
|
|
{
|
|
__IO uint32_t GMAC_NCR; /**< Offset: 0x00 (R/W 32) Network Control Register */
|
|
__IO uint32_t GMAC_NCFGR; /**< Offset: 0x04 (R/W 32) Network Configuration Register */
|
|
__I uint32_t GMAC_NSR; /**< Offset: 0x08 (R/ 32) Network Status Register */
|
|
__IO uint32_t GMAC_UR; /**< Offset: 0x0C (R/W 32) User Register */
|
|
__IO uint32_t GMAC_DCFGR; /**< Offset: 0x10 (R/W 32) DMA Configuration Register */
|
|
__IO uint32_t GMAC_TSR; /**< Offset: 0x14 (R/W 32) Transmit Status Register */
|
|
__IO uint32_t GMAC_RBQB; /**< Offset: 0x18 (R/W 32) Receive Buffer Queue Base Address Register */
|
|
__IO uint32_t GMAC_TBQB; /**< Offset: 0x1C (R/W 32) Transmit Buffer Queue Base Address Register */
|
|
__IO uint32_t GMAC_RSR; /**< Offset: 0x20 (R/W 32) Receive Status Register */
|
|
__I uint32_t GMAC_ISR; /**< Offset: 0x24 (R/ 32) Interrupt Status Register */
|
|
__O uint32_t GMAC_IER; /**< Offset: 0x28 ( /W 32) Interrupt Enable Register */
|
|
__O uint32_t GMAC_IDR; /**< Offset: 0x2C ( /W 32) Interrupt Disable Register */
|
|
__IO uint32_t GMAC_IMR; /**< Offset: 0x30 (R/W 32) Interrupt Mask Register */
|
|
__IO uint32_t GMAC_MAN; /**< Offset: 0x34 (R/W 32) PHY Maintenance Register */
|
|
__I uint32_t GMAC_RPQ; /**< Offset: 0x38 (R/ 32) Received Pause Quantum Register */
|
|
__IO uint32_t GMAC_TPQ; /**< Offset: 0x3C (R/W 32) Transmit Pause Quantum Register */
|
|
__IO uint32_t GMAC_TPSF; /**< Offset: 0x40 (R/W 32) TX Partial Store and Forward Register */
|
|
__IO uint32_t GMAC_RPSF; /**< Offset: 0x44 (R/W 32) RX Partial Store and Forward Register */
|
|
__IO uint32_t GMAC_RJFML; /**< Offset: 0x48 (R/W 32) RX Jumbo Frame Max Length Register */
|
|
__I uint8_t Reserved1[0x34];
|
|
__IO uint32_t GMAC_HRB; /**< Offset: 0x80 (R/W 32) Hash Register Bottom */
|
|
__IO uint32_t GMAC_HRT; /**< Offset: 0x84 (R/W 32) Hash Register Top */
|
|
gmac_sa_registers_t GMAC_SA[GMAC_SA_NUMBER]; /**< Offset: 0x88 Specific Address 1 Bottom Register */
|
|
__IO uint32_t GMAC_TIDM1; /**< Offset: 0xA8 (R/W 32) Type ID Match 1 Register */
|
|
__IO uint32_t GMAC_TIDM2; /**< Offset: 0xAC (R/W 32) Type ID Match 2 Register */
|
|
__IO uint32_t GMAC_TIDM3; /**< Offset: 0xB0 (R/W 32) Type ID Match 3 Register */
|
|
__IO uint32_t GMAC_TIDM4; /**< Offset: 0xB4 (R/W 32) Type ID Match 4 Register */
|
|
__IO uint32_t GMAC_WOL; /**< Offset: 0xB8 (R/W 32) Wake on LAN Register */
|
|
__IO uint32_t GMAC_IPGS; /**< Offset: 0xBC (R/W 32) IPG Stretch Register */
|
|
__IO uint32_t GMAC_SVLAN; /**< Offset: 0xC0 (R/W 32) Stacked VLAN Register */
|
|
__IO uint32_t GMAC_TPFCP; /**< Offset: 0xC4 (R/W 32) Transmit PFC Pause Register */
|
|
__IO uint32_t GMAC_SAMB1; /**< Offset: 0xC8 (R/W 32) Specific Address 1 Mask Bottom Register */
|
|
__IO uint32_t GMAC_SAMT1; /**< Offset: 0xCC (R/W 32) Specific Address 1 Mask Top Register */
|
|
__I uint8_t Reserved2[0x0C];
|
|
__IO uint32_t GMAC_NSC; /**< Offset: 0xDC (R/W 32) 1588 Timer Nanosecond Comparison Register */
|
|
__IO uint32_t GMAC_SCL; /**< Offset: 0xE0 (R/W 32) 1588 Timer Second Comparison Low Register */
|
|
__IO uint32_t GMAC_SCH; /**< Offset: 0xE4 (R/W 32) 1588 Timer Second Comparison High Register */
|
|
__I uint32_t GMAC_EFTSH; /**< Offset: 0xE8 (R/ 32) PTP Event Frame Transmitted Seconds High Register */
|
|
__I uint32_t GMAC_EFRSH; /**< Offset: 0xEC (R/ 32) PTP Event Frame Received Seconds High Register */
|
|
__I uint32_t GMAC_PEFTSH; /**< Offset: 0xF0 (R/ 32) PTP Peer Event Frame Transmitted Seconds High Register */
|
|
__I uint32_t GMAC_PEFRSH; /**< Offset: 0xF4 (R/ 32) PTP Peer Event Frame Received Seconds High Register */
|
|
__I uint8_t Reserved3[0x08];
|
|
__I uint32_t GMAC_OTLO; /**< Offset: 0x100 (R/ 32) Octets Transmitted Low Register */
|
|
__I uint32_t GMAC_OTHI; /**< Offset: 0x104 (R/ 32) Octets Transmitted High Register */
|
|
__I uint32_t GMAC_FT; /**< Offset: 0x108 (R/ 32) Frames Transmitted Register */
|
|
__I uint32_t GMAC_BCFT; /**< Offset: 0x10C (R/ 32) Broadcast Frames Transmitted Register */
|
|
__I uint32_t GMAC_MFT; /**< Offset: 0x110 (R/ 32) Multicast Frames Transmitted Register */
|
|
__I uint32_t GMAC_PFT; /**< Offset: 0x114 (R/ 32) Pause Frames Transmitted Register */
|
|
__I uint32_t GMAC_BFT64; /**< Offset: 0x118 (R/ 32) 64 Byte Frames Transmitted Register */
|
|
__I uint32_t GMAC_TBFT127; /**< Offset: 0x11C (R/ 32) 65 to 127 Byte Frames Transmitted Register */
|
|
__I uint32_t GMAC_TBFT255; /**< Offset: 0x120 (R/ 32) 128 to 255 Byte Frames Transmitted Register */
|
|
__I uint32_t GMAC_TBFT511; /**< Offset: 0x124 (R/ 32) 256 to 511 Byte Frames Transmitted Register */
|
|
__I uint32_t GMAC_TBFT1023; /**< Offset: 0x128 (R/ 32) 512 to 1023 Byte Frames Transmitted Register */
|
|
__I uint32_t GMAC_TBFT1518; /**< Offset: 0x12C (R/ 32) 1024 to 1518 Byte Frames Transmitted Register */
|
|
__I uint32_t GMAC_GTBFT1518; /**< Offset: 0x130 (R/ 32) Greater Than 1518 Byte Frames Transmitted Register */
|
|
__I uint32_t GMAC_TUR; /**< Offset: 0x134 (R/ 32) Transmit Underruns Register */
|
|
__I uint32_t GMAC_SCF; /**< Offset: 0x138 (R/ 32) Single Collision Frames Register */
|
|
__I uint32_t GMAC_MCF; /**< Offset: 0x13C (R/ 32) Multiple Collision Frames Register */
|
|
__I uint32_t GMAC_EC; /**< Offset: 0x140 (R/ 32) Excessive Collisions Register */
|
|
__I uint32_t GMAC_LC; /**< Offset: 0x144 (R/ 32) Late Collisions Register */
|
|
__I uint32_t GMAC_DTF; /**< Offset: 0x148 (R/ 32) Deferred Transmission Frames Register */
|
|
__I uint32_t GMAC_CSE; /**< Offset: 0x14C (R/ 32) Carrier Sense Errors Register */
|
|
__I uint32_t GMAC_ORLO; /**< Offset: 0x150 (R/ 32) Octets Received Low Received Register */
|
|
__I uint32_t GMAC_ORHI; /**< Offset: 0x154 (R/ 32) Octets Received High Received Register */
|
|
__I uint32_t GMAC_FR; /**< Offset: 0x158 (R/ 32) Frames Received Register */
|
|
__I uint32_t GMAC_BCFR; /**< Offset: 0x15C (R/ 32) Broadcast Frames Received Register */
|
|
__I uint32_t GMAC_MFR; /**< Offset: 0x160 (R/ 32) Multicast Frames Received Register */
|
|
__I uint32_t GMAC_PFR; /**< Offset: 0x164 (R/ 32) Pause Frames Received Register */
|
|
__I uint32_t GMAC_BFR64; /**< Offset: 0x168 (R/ 32) 64 Byte Frames Received Register */
|
|
__I uint32_t GMAC_TBFR127; /**< Offset: 0x16C (R/ 32) 65 to 127 Byte Frames Received Register */
|
|
__I uint32_t GMAC_TBFR255; /**< Offset: 0x170 (R/ 32) 128 to 255 Byte Frames Received Register */
|
|
__I uint32_t GMAC_TBFR511; /**< Offset: 0x174 (R/ 32) 256 to 511 Byte Frames Received Register */
|
|
__I uint32_t GMAC_TBFR1023; /**< Offset: 0x178 (R/ 32) 512 to 1023 Byte Frames Received Register */
|
|
__I uint32_t GMAC_TBFR1518; /**< Offset: 0x17C (R/ 32) 1024 to 1518 Byte Frames Received Register */
|
|
__I uint32_t GMAC_TMXBFR; /**< Offset: 0x180 (R/ 32) 1519 to Maximum Byte Frames Received Register */
|
|
__I uint32_t GMAC_UFR; /**< Offset: 0x184 (R/ 32) Undersize Frames Received Register */
|
|
__I uint32_t GMAC_OFR; /**< Offset: 0x188 (R/ 32) Oversize Frames Received Register */
|
|
__I uint32_t GMAC_JR; /**< Offset: 0x18C (R/ 32) Jabbers Received Register */
|
|
__I uint32_t GMAC_FCSE; /**< Offset: 0x190 (R/ 32) Frame Check Sequence Errors Register */
|
|
__I uint32_t GMAC_LFFE; /**< Offset: 0x194 (R/ 32) Length Field Frame Errors Register */
|
|
__I uint32_t GMAC_RSE; /**< Offset: 0x198 (R/ 32) Receive Symbol Errors Register */
|
|
__I uint32_t GMAC_AE; /**< Offset: 0x19C (R/ 32) Alignment Errors Register */
|
|
__I uint32_t GMAC_RRE; /**< Offset: 0x1A0 (R/ 32) Receive Resource Errors Register */
|
|
__I uint32_t GMAC_ROE; /**< Offset: 0x1A4 (R/ 32) Receive Overrun Register */
|
|
__I uint32_t GMAC_IHCE; /**< Offset: 0x1A8 (R/ 32) IP Header Checksum Errors Register */
|
|
__I uint32_t GMAC_TCE; /**< Offset: 0x1AC (R/ 32) TCP Checksum Errors Register */
|
|
__I uint32_t GMAC_UCE; /**< Offset: 0x1B0 (R/ 32) UDP Checksum Errors Register */
|
|
__I uint8_t Reserved4[0x08];
|
|
__IO uint32_t GMAC_TISUBN; /**< Offset: 0x1BC (R/W 32) 1588 Timer Increment Sub-nanoseconds Register */
|
|
__IO uint32_t GMAC_TSH; /**< Offset: 0x1C0 (R/W 32) 1588 Timer Seconds High Register */
|
|
__I uint8_t Reserved5[0x0C];
|
|
__IO uint32_t GMAC_TSL; /**< Offset: 0x1D0 (R/W 32) 1588 Timer Seconds Low Register */
|
|
__IO uint32_t GMAC_TN; /**< Offset: 0x1D4 (R/W 32) 1588 Timer Nanoseconds Register */
|
|
__O uint32_t GMAC_TA; /**< Offset: 0x1D8 ( /W 32) 1588 Timer Adjust Register */
|
|
__IO uint32_t GMAC_TI; /**< Offset: 0x1DC (R/W 32) 1588 Timer Increment Register */
|
|
__I uint32_t GMAC_EFTSL; /**< Offset: 0x1E0 (R/ 32) PTP Event Frame Transmitted Seconds Low Register */
|
|
__I uint32_t GMAC_EFTN; /**< Offset: 0x1E4 (R/ 32) PTP Event Frame Transmitted Nanoseconds Register */
|
|
__I uint32_t GMAC_EFRSL; /**< Offset: 0x1E8 (R/ 32) PTP Event Frame Received Seconds Low Register */
|
|
__I uint32_t GMAC_EFRN; /**< Offset: 0x1EC (R/ 32) PTP Event Frame Received Nanoseconds Register */
|
|
__I uint32_t GMAC_PEFTSL; /**< Offset: 0x1F0 (R/ 32) PTP Peer Event Frame Transmitted Seconds Low Register */
|
|
__I uint32_t GMAC_PEFTN; /**< Offset: 0x1F4 (R/ 32) PTP Peer Event Frame Transmitted Nanoseconds Register */
|
|
__I uint32_t GMAC_PEFRSL; /**< Offset: 0x1F8 (R/ 32) PTP Peer Event Frame Received Seconds Low Register */
|
|
__I uint32_t GMAC_PEFRN; /**< Offset: 0x1FC (R/ 32) PTP Peer Event Frame Received Nanoseconds Register */
|
|
__I uint8_t Reserved6[0x1FC];
|
|
__I uint32_t GMAC_ISRPQ[2]; /**< Offset: 0x3FC (R/ 32) Interrupt Status Register Priority Queue (index = 1) 0 */
|
|
__I uint8_t Reserved7[0x38];
|
|
__IO uint32_t GMAC_TBQBAPQ[2]; /**< Offset: 0x43C (R/W 32) Transmit Buffer Queue Base Address Register Priority Queue (index = 1) 0 */
|
|
__I uint8_t Reserved8[0x38];
|
|
__IO uint32_t GMAC_RBQBAPQ[2]; /**< Offset: 0x47C (R/W 32) Receive Buffer Queue Base Address Register Priority Queue (index = 1) 0 */
|
|
__I uint8_t Reserved9[0x18];
|
|
__IO uint32_t GMAC_RBSRPQ[2]; /**< Offset: 0x49C (R/W 32) Receive Buffer Size Register Priority Queue (index = 1) 0 */
|
|
__I uint8_t Reserved10[0x18];
|
|
__IO uint32_t GMAC_CBSCR; /**< Offset: 0x4BC (R/W 32) Credit-Based Shaping Control Register */
|
|
__IO uint32_t GMAC_CBSISQA; /**< Offset: 0x4C0 (R/W 32) Credit-Based Shaping IdleSlope Register for Queue A */
|
|
__IO uint32_t GMAC_CBSISQB; /**< Offset: 0x4C4 (R/W 32) Credit-Based Shaping IdleSlope Register for Queue B */
|
|
__I uint8_t Reserved11[0x38];
|
|
__IO uint32_t GMAC_ST1RPQ[4]; /**< Offset: 0x500 (R/W 32) Screening Type 1 Register Priority Queue (index = 0) 0 */
|
|
__I uint8_t Reserved12[0x30];
|
|
__IO uint32_t GMAC_ST2RPQ[8]; /**< Offset: 0x540 (R/W 32) Screening Type 2 Register Priority Queue (index = 0) 0 */
|
|
__I uint8_t Reserved13[0x9C];
|
|
__O uint32_t GMAC_IERPQ[2]; /**< Offset: 0x5FC ( /W 32) Interrupt Enable Register Priority Queue (index = 1) 0 */
|
|
__I uint8_t Reserved14[0x18];
|
|
__O uint32_t GMAC_IDRPQ[2]; /**< Offset: 0x61C ( /W 32) Interrupt Disable Register Priority Queue (index = 1) 0 */
|
|
__I uint8_t Reserved15[0x18];
|
|
__IO uint32_t GMAC_IMRPQ[2]; /**< Offset: 0x63C (R/W 32) Interrupt Mask Register Priority Queue (index = 1) 0 */
|
|
__I uint8_t Reserved16[0x9C];
|
|
__IO uint32_t GMAC_ST2ER[4]; /**< Offset: 0x6E0 (R/W 32) Screening Type 2 Ethertype Register (index = 0) 0 */
|
|
__I uint8_t Reserved17[0x10];
|
|
__IO uint32_t GMAC_ST2CW00; /**< Offset: 0x700 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 0) */
|
|
__IO uint32_t GMAC_ST2CW10; /**< Offset: 0x704 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 0) */
|
|
__IO uint32_t GMAC_ST2CW01; /**< Offset: 0x708 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 1) */
|
|
__IO uint32_t GMAC_ST2CW11; /**< Offset: 0x70C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 1) */
|
|
__IO uint32_t GMAC_ST2CW02; /**< Offset: 0x710 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 2) */
|
|
__IO uint32_t GMAC_ST2CW12; /**< Offset: 0x714 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 2) */
|
|
__IO uint32_t GMAC_ST2CW03; /**< Offset: 0x718 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 3) */
|
|
__IO uint32_t GMAC_ST2CW13; /**< Offset: 0x71C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 3) */
|
|
__IO uint32_t GMAC_ST2CW04; /**< Offset: 0x720 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 4) */
|
|
__IO uint32_t GMAC_ST2CW14; /**< Offset: 0x724 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 4) */
|
|
__IO uint32_t GMAC_ST2CW05; /**< Offset: 0x728 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 5) */
|
|
__IO uint32_t GMAC_ST2CW15; /**< Offset: 0x72C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 5) */
|
|
__IO uint32_t GMAC_ST2CW06; /**< Offset: 0x730 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 6) */
|
|
__IO uint32_t GMAC_ST2CW16; /**< Offset: 0x734 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 6) */
|
|
__IO uint32_t GMAC_ST2CW07; /**< Offset: 0x738 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 7) */
|
|
__IO uint32_t GMAC_ST2CW17; /**< Offset: 0x73C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 7) */
|
|
__IO uint32_t GMAC_ST2CW08; /**< Offset: 0x740 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 8) */
|
|
__IO uint32_t GMAC_ST2CW18; /**< Offset: 0x744 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 8) */
|
|
__IO uint32_t GMAC_ST2CW09; /**< Offset: 0x748 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 9) */
|
|
__IO uint32_t GMAC_ST2CW19; /**< Offset: 0x74C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 9) */
|
|
__IO uint32_t GMAC_ST2CW010; /**< Offset: 0x750 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 10) */
|
|
__IO uint32_t GMAC_ST2CW110; /**< Offset: 0x754 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 10) */
|
|
__IO uint32_t GMAC_ST2CW011; /**< Offset: 0x758 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 11) */
|
|
__IO uint32_t GMAC_ST2CW111; /**< Offset: 0x75C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 11) */
|
|
__IO uint32_t GMAC_ST2CW012; /**< Offset: 0x760 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 12) */
|
|
__IO uint32_t GMAC_ST2CW112; /**< Offset: 0x764 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 12) */
|
|
__IO uint32_t GMAC_ST2CW013; /**< Offset: 0x768 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 13) */
|
|
__IO uint32_t GMAC_ST2CW113; /**< Offset: 0x76C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 13) */
|
|
__IO uint32_t GMAC_ST2CW014; /**< Offset: 0x770 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 14) */
|
|
__IO uint32_t GMAC_ST2CW114; /**< Offset: 0x774 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 14) */
|
|
__IO uint32_t GMAC_ST2CW015; /**< Offset: 0x778 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 15) */
|
|
__IO uint32_t GMAC_ST2CW115; /**< Offset: 0x77C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 15) */
|
|
__IO uint32_t GMAC_ST2CW016; /**< Offset: 0x780 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 16) */
|
|
__IO uint32_t GMAC_ST2CW116; /**< Offset: 0x784 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 16) */
|
|
__IO uint32_t GMAC_ST2CW017; /**< Offset: 0x788 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 17) */
|
|
__IO uint32_t GMAC_ST2CW117; /**< Offset: 0x78C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 17) */
|
|
__IO uint32_t GMAC_ST2CW018; /**< Offset: 0x790 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 18) */
|
|
__IO uint32_t GMAC_ST2CW118; /**< Offset: 0x794 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 18) */
|
|
__IO uint32_t GMAC_ST2CW019; /**< Offset: 0x798 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 19) */
|
|
__IO uint32_t GMAC_ST2CW119; /**< Offset: 0x79C (R/W 32) Screening Type 2 Compare Word 1 Register (index = 19) */
|
|
__IO uint32_t GMAC_ST2CW020; /**< Offset: 0x7A0 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 20) */
|
|
__IO uint32_t GMAC_ST2CW120; /**< Offset: 0x7A4 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 20) */
|
|
__IO uint32_t GMAC_ST2CW021; /**< Offset: 0x7A8 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 21) */
|
|
__IO uint32_t GMAC_ST2CW121; /**< Offset: 0x7AC (R/W 32) Screening Type 2 Compare Word 1 Register (index = 21) */
|
|
__IO uint32_t GMAC_ST2CW022; /**< Offset: 0x7B0 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 22) */
|
|
__IO uint32_t GMAC_ST2CW122; /**< Offset: 0x7B4 (R/W 32) Screening Type 2 Compare Word 1 Register (index = 22) */
|
|
__IO uint32_t GMAC_ST2CW023; /**< Offset: 0x7B8 (R/W 32) Screening Type 2 Compare Word 0 Register (index = 23) */
|
|
__IO uint32_t GMAC_ST2CW123; /**< Offset: 0x7BC (R/W 32) Screening Type 2 Compare Word 1 Register (index = 23) */
|
|
} gmac_registers_t;
|
|
|
|
|
|
#endif /* !(defined(__ASSEMBLER__) || defined(__IAR_SYSTEMS_ASM__)) */
|
|
#endif /* _SAME70_GMAC_COMPONENT_H_ */
|