gmac.h
Go to the documentation of this file.
#ifndef _SAME54_GMAC_INSTANCE_
#define _SAME54_GMAC_INSTANCE_
/* ========== Register definition for GMAC peripheral ========== */
#if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
#define REG_GMAC_NCR (0x42000800)
#define REG_GMAC_NCFGR (0x42000804)
#define REG_GMAC_NSR (0x42000808)
#define REG_GMAC_UR (0x4200080C)
#define REG_GMAC_DCFGR (0x42000810)
#define REG_GMAC_TSR (0x42000814)
#define REG_GMAC_RBQB (0x42000818)
#define REG_GMAC_TBQB (0x4200081C)
#define REG_GMAC_RSR (0x42000820)
#define REG_GMAC_ISR (0x42000824)
#define REG_GMAC_IER (0x42000828)
#define REG_GMAC_IDR (0x4200082C)
#define REG_GMAC_IMR (0x42000830)
#define REG_GMAC_MAN (0x42000834)
#define REG_GMAC_RPQ (0x42000838)
#define REG_GMAC_TPQ (0x4200083C)
#define REG_GMAC_TPSF (0x42000840)
#define REG_GMAC_RPSF (0x42000844)
#define REG_GMAC_RJFML (0x42000848)
#define REG_GMAC_HRB (0x42000880)
#define REG_GMAC_HRT (0x42000884)
#define REG_GMAC_SAB0 (0x42000888)
#define REG_GMAC_SAT0 (0x4200088C)
#define REG_GMAC_SAB1 (0x42000890)
#define REG_GMAC_SAT1 (0x42000894)
#define REG_GMAC_SAB2 (0x42000898)
#define REG_GMAC_SAT2 (0x4200089C)
#define REG_GMAC_SAB3 (0x420008A0)
#define REG_GMAC_SAT3 (0x420008A4)
#define REG_GMAC_TIDM0 (0x420008A8)
#define REG_GMAC_TIDM1 (0x420008AC)
#define REG_GMAC_TIDM2 (0x420008B0)
#define REG_GMAC_TIDM3 (0x420008B4)
#define REG_GMAC_WOL (0x420008B8)
#define REG_GMAC_IPGS (0x420008BC)
#define REG_GMAC_SVLAN (0x420008C0)
#define REG_GMAC_TPFCP (0x420008C4)
#define REG_GMAC_SAMB1 (0x420008C8)
#define REG_GMAC_SAMT1 (0x420008CC)
#define REG_GMAC_NSC (0x420008DC)
#define REG_GMAC_SCL (0x420008E0)
#define REG_GMAC_SCH (0x420008E4)
#define REG_GMAC_EFTSH (0x420008E8)
#define REG_GMAC_EFRSH (0x420008EC)
#define REG_GMAC_PEFTSH (0x420008F0)
#define REG_GMAC_PEFRSH (0x420008F4)
#define REG_GMAC_OTLO (0x42000900)
#define REG_GMAC_OTHI (0x42000904)
#define REG_GMAC_FT (0x42000908)
#define REG_GMAC_BCFT (0x4200090C)
#define REG_GMAC_MFT (0x42000910)
#define REG_GMAC_PFT (0x42000914)
#define REG_GMAC_BFT64 (0x42000918)
#define REG_GMAC_TBFT127 (0x4200091C)
#define REG_GMAC_TBFT255 (0x42000920)
#define REG_GMAC_TBFT511 (0x42000924)
#define REG_GMAC_TBFT1023 (0x42000928)
#define REG_GMAC_TBFT1518 (0x4200092C)
#define REG_GMAC_GTBFT1518 (0x42000930)
#define REG_GMAC_TUR (0x42000934)
#define REG_GMAC_SCF (0x42000938)
#define REG_GMAC_MCF (0x4200093C)
#define REG_GMAC_EC (0x42000940)
#define REG_GMAC_LC (0x42000944)
#define REG_GMAC_DTF (0x42000948)
#define REG_GMAC_CSE (0x4200094C)
#define REG_GMAC_ORLO (0x42000950)
#define REG_GMAC_ORHI (0x42000954)
#define REG_GMAC_FR (0x42000958)
#define REG_GMAC_BCFR (0x4200095C)
#define REG_GMAC_MFR (0x42000960)
#define REG_GMAC_PFR (0x42000964)
#define REG_GMAC_BFR64 (0x42000968)
#define REG_GMAC_TBFR127 (0x4200096C)
#define REG_GMAC_TBFR255 (0x42000970)
#define REG_GMAC_TBFR511 (0x42000974)
#define REG_GMAC_TBFR1023 (0x42000978)
#define REG_GMAC_TBFR1518 (0x4200097C)
#define REG_GMAC_TMXBFR (0x42000980)
#define REG_GMAC_UFR (0x42000984)
#define REG_GMAC_OFR (0x42000988)
#define REG_GMAC_JR (0x4200098C)
#define REG_GMAC_FCSE (0x42000990)
#define REG_GMAC_LFFE (0x42000994)
#define REG_GMAC_RSE (0x42000998)
#define REG_GMAC_AE (0x4200099C)
#define REG_GMAC_RRE (0x420009A0)
#define REG_GMAC_ROE (0x420009A4)
#define REG_GMAC_IHCE (0x420009A8)
#define REG_GMAC_TCE (0x420009AC)
#define REG_GMAC_UCE (0x420009B0)
#define REG_GMAC_TISUBN (0x420009BC)
#define REG_GMAC_TSH (0x420009C0)
#define REG_GMAC_TSSSL (0x420009C8)
#define REG_GMAC_TSSN (0x420009CC)
#define REG_GMAC_TSL (0x420009D0)
#define REG_GMAC_TN (0x420009D4)
#define REG_GMAC_TA (0x420009D8)
#define REG_GMAC_TI (0x420009DC)
#define REG_GMAC_EFTSL (0x420009E0)
#define REG_GMAC_EFTN (0x420009E4)
#define REG_GMAC_EFRSL (0x420009E8)
#define REG_GMAC_EFRN (0x420009EC)
#define REG_GMAC_PEFTSL (0x420009F0)
#define REG_GMAC_PEFTN (0x420009F4)
#define REG_GMAC_PEFRSL (0x420009F8)
#define REG_GMAC_PEFRN (0x420009FC)
#define REG_GMAC_RLPITR (0x42000A70)
#define REG_GMAC_RLPITI (0x42000A74)
#define REG_GMAC_TLPITR (0x42000A78)
#define REG_GMAC_TLPITI (0x42000A7C)
#else
#define REG_GMAC_NCR (*(RwReg *)0x42000800UL)
#define REG_GMAC_NCFGR (*(RwReg *)0x42000804UL)
#define REG_GMAC_NSR (*(RoReg *)0x42000808UL)
#define REG_GMAC_UR (*(RwReg *)0x4200080CUL)
#define REG_GMAC_DCFGR (*(RwReg *)0x42000810UL)
#define REG_GMAC_TSR (*(RwReg *)0x42000814UL)
#define REG_GMAC_RBQB (*(RwReg *)0x42000818UL)
#define REG_GMAC_TBQB (*(RwReg *)0x4200081CUL)
#define REG_GMAC_RSR (*(RwReg *)0x42000820UL)
#define REG_GMAC_ISR (*(RwReg *)0x42000824UL)
#define REG_GMAC_IER (*(WoReg *)0x42000828UL)
#define REG_GMAC_IDR (*(WoReg *)0x4200082CUL)
#define REG_GMAC_IMR (*(RoReg *)0x42000830UL)
#define REG_GMAC_MAN (*(RwReg *)0x42000834UL)
#define REG_GMAC_RPQ (*(RoReg *)0x42000838UL)
#define REG_GMAC_TPQ (*(RwReg *)0x4200083CUL)
#define REG_GMAC_TPSF (*(RwReg *)0x42000840UL)
#define REG_GMAC_RPSF (*(RwReg *)0x42000844UL)
#define REG_GMAC_RJFML (*(RwReg *)0x42000848UL)
#define REG_GMAC_HRB (*(RwReg *)0x42000880UL)
#define REG_GMAC_HRT (*(RwReg *)0x42000884UL)
#define REG_GMAC_SAB0 (*(RwReg *)0x42000888UL)
#define REG_GMAC_SAT0 (*(RwReg *)0x4200088CUL)
#define REG_GMAC_SAB1 (*(RwReg *)0x42000890UL)
#define REG_GMAC_SAT1 (*(RwReg *)0x42000894UL)
#define REG_GMAC_SAB2 (*(RwReg *)0x42000898UL)
#define REG_GMAC_SAT2 (*(RwReg *)0x4200089CUL)
#define REG_GMAC_SAB3 (*(RwReg *)0x420008A0UL)
#define REG_GMAC_SAT3 (*(RwReg *)0x420008A4UL)
#define REG_GMAC_TIDM0 (*(RwReg *)0x420008A8UL)
#define REG_GMAC_TIDM1 (*(RwReg *)0x420008ACUL)
#define REG_GMAC_TIDM2 (*(RwReg *)0x420008B0UL)
#define REG_GMAC_TIDM3 (*(RwReg *)0x420008B4UL)
#define REG_GMAC_WOL (*(RwReg *)0x420008B8UL)
#define REG_GMAC_IPGS (*(RwReg *)0x420008BCUL)
#define REG_GMAC_SVLAN (*(RwReg *)0x420008C0UL)
#define REG_GMAC_TPFCP (*(RwReg *)0x420008C4UL)
#define REG_GMAC_SAMB1 (*(RwReg *)0x420008C8UL)
#define REG_GMAC_SAMT1 (*(RwReg *)0x420008CCUL)
#define REG_GMAC_NSC (*(RwReg *)0x420008DCUL)
#define REG_GMAC_SCL (*(RwReg *)0x420008E0UL)
#define REG_GMAC_SCH (*(RwReg *)0x420008E4UL)
#define REG_GMAC_EFTSH (*(RoReg *)0x420008E8UL)
#define REG_GMAC_EFRSH (*(RoReg *)0x420008ECUL)
#define REG_GMAC_PEFTSH (*(RoReg *)0x420008F0UL)
#define REG_GMAC_PEFRSH (*(RoReg *)0x420008F4UL)
#define REG_GMAC_OTLO (*(RoReg *)0x42000900UL)
#define REG_GMAC_OTHI (*(RoReg *)0x42000904UL)
#define REG_GMAC_FT (*(RoReg *)0x42000908UL)
#define REG_GMAC_BCFT (*(RoReg *)0x4200090CUL)
#define REG_GMAC_MFT (*(RoReg *)0x42000910UL)
#define REG_GMAC_PFT (*(RoReg *)0x42000914UL)
#define REG_GMAC_BFT64 (*(RoReg *)0x42000918UL)
#define REG_GMAC_TBFT127 (*(RoReg *)0x4200091CUL)
#define REG_GMAC_TBFT255 (*(RoReg *)0x42000920UL)
#define REG_GMAC_TBFT511 (*(RoReg *)0x42000924UL)
#define REG_GMAC_TBFT1023 (*(RoReg *)0x42000928UL)
#define REG_GMAC_TBFT1518 (*(RoReg *)0x4200092CUL)
#define REG_GMAC_GTBFT1518 (*(RoReg *)0x42000930UL)
#define REG_GMAC_TUR (*(RoReg *)0x42000934UL)
#define REG_GMAC_SCF (*(RoReg *)0x42000938UL)
#define REG_GMAC_MCF (*(RoReg *)0x4200093CUL)
#define REG_GMAC_EC (*(RoReg *)0x42000940UL)
#define REG_GMAC_LC (*(RoReg *)0x42000944UL)
#define REG_GMAC_DTF (*(RoReg *)0x42000948UL)
#define REG_GMAC_CSE (*(RoReg *)0x4200094CUL)
#define REG_GMAC_ORLO (*(RoReg *)0x42000950UL)
#define REG_GMAC_ORHI (*(RoReg *)0x42000954UL)
#define REG_GMAC_FR (*(RoReg *)0x42000958UL)
#define REG_GMAC_BCFR (*(RoReg *)0x4200095CUL)
#define REG_GMAC_MFR (*(RoReg *)0x42000960UL)
#define REG_GMAC_PFR (*(RoReg *)0x42000964UL)
#define REG_GMAC_BFR64 (*(RoReg *)0x42000968UL)
#define REG_GMAC_TBFR127 (*(RoReg *)0x4200096CUL)
#define REG_GMAC_TBFR255 (*(RoReg *)0x42000970UL)
#define REG_GMAC_TBFR511 (*(RoReg *)0x42000974UL)
#define REG_GMAC_TBFR1023 (*(RoReg *)0x42000978UL)
#define REG_GMAC_TBFR1518 (*(RoReg *)0x4200097CUL)
#define REG_GMAC_TMXBFR (*(RoReg *)0x42000980UL)
#define REG_GMAC_UFR (*(RoReg *)0x42000984UL)
#define REG_GMAC_OFR (*(RoReg *)0x42000988UL)
#define REG_GMAC_JR (*(RoReg *)0x4200098CUL)
#define REG_GMAC_FCSE (*(RoReg *)0x42000990UL)
#define REG_GMAC_LFFE (*(RoReg *)0x42000994UL)
#define REG_GMAC_RSE (*(RoReg *)0x42000998UL)
#define REG_GMAC_AE (*(RoReg *)0x4200099CUL)
#define REG_GMAC_RRE (*(RoReg *)0x420009A0UL)
#define REG_GMAC_ROE (*(RoReg *)0x420009A4UL)
#define REG_GMAC_IHCE (*(RoReg *)0x420009A8UL)
#define REG_GMAC_TCE (*(RoReg *)0x420009ACUL)
#define REG_GMAC_UCE (*(RoReg *)0x420009B0UL)
#define REG_GMAC_TISUBN (*(RwReg *)0x420009BCUL)
#define REG_GMAC_TSH (*(RwReg *)0x420009C0UL)
#define REG_GMAC_TSSSL (*(RwReg *)0x420009C8UL)
#define REG_GMAC_TSSN (*(RwReg *)0x420009CCUL)
#define REG_GMAC_TSL (*(RwReg *)0x420009D0UL)
#define REG_GMAC_TN (*(RwReg *)0x420009D4UL)
#define REG_GMAC_TA (*(WoReg *)0x420009D8UL)
#define REG_GMAC_TI (*(RwReg *)0x420009DCUL)
#define REG_GMAC_EFTSL (*(RoReg *)0x420009E0UL)
#define REG_GMAC_EFTN (*(RoReg *)0x420009E4UL)
#define REG_GMAC_EFRSL (*(RoReg *)0x420009E8UL)
#define REG_GMAC_EFRN (*(RoReg *)0x420009ECUL)
#define REG_GMAC_PEFTSL (*(RoReg *)0x420009F0UL)
#define REG_GMAC_PEFTN (*(RoReg *)0x420009F4UL)
#define REG_GMAC_PEFRSL (*(RoReg *)0x420009F8UL)
#define REG_GMAC_PEFRN (*(RoReg *)0x420009FCUL)
#define REG_GMAC_RLPITR (*(RoReg *)0x42000A70UL)
#define REG_GMAC_RLPITI (*(RoReg *)0x42000A74UL)
#define REG_GMAC_TLPITR (*(RoReg *)0x42000A78UL)
#define REG_GMAC_TLPITI (*(RoReg *)0x42000A7CUL)
#endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
/* ========== Instance parameters for GMAC peripheral ========== */
#define GMAC_CLK_AHB_ID 14 // Index of AHB clock
#endif /* _SAME54_GMAC_INSTANCE_ */