icm.h
Go to the documentation of this file.
#ifndef _SAME54_ICM_INSTANCE_
#define _SAME54_ICM_INSTANCE_
/* ========== Register definition for ICM peripheral ========== */
#if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
#define REG_ICM_CFG (0x42002C00)
#define REG_ICM_CTRL (0x42002C04)
#define REG_ICM_SR (0x42002C08)
#define REG_ICM_IER (0x42002C10)
#define REG_ICM_IDR (0x42002C14)
#define REG_ICM_IMR (0x42002C18)
#define REG_ICM_ISR (0x42002C1C)
#define REG_ICM_UASR (0x42002C20)
#define REG_ICM_DSCR (0x42002C30)
#define REG_ICM_HASH (0x42002C34)
#define REG_ICM_UIHVAL0 (0x42002C38)
#define REG_ICM_UIHVAL1 (0x42002C3C)
#define REG_ICM_UIHVAL2 (0x42002C40)
#define REG_ICM_UIHVAL3 (0x42002C44)
#define REG_ICM_UIHVAL4 (0x42002C48)
#define REG_ICM_UIHVAL5 (0x42002C4C)
#define REG_ICM_UIHVAL6 (0x42002C50)
#define REG_ICM_UIHVAL7 (0x42002C54)
#else
#define REG_ICM_CFG (*(RwReg *)0x42002C00UL)
#define REG_ICM_CTRL (*(WoReg *)0x42002C04UL)
#define REG_ICM_SR (*(RoReg *)0x42002C08UL)
#define REG_ICM_IER (*(WoReg *)0x42002C10UL)
#define REG_ICM_IDR (*(WoReg *)0x42002C14UL)
#define REG_ICM_IMR (*(RoReg *)0x42002C18UL)
#define REG_ICM_ISR (*(RoReg *)0x42002C1CUL)
#define REG_ICM_UASR (*(RoReg *)0x42002C20UL)
#define REG_ICM_DSCR (*(RwReg *)0x42002C30UL)
#define REG_ICM_HASH (*(RwReg *)0x42002C34UL)
#define REG_ICM_UIHVAL0 (*(WoReg *)0x42002C38UL)
#define REG_ICM_UIHVAL1 (*(WoReg *)0x42002C3CUL)
#define REG_ICM_UIHVAL2 (*(WoReg *)0x42002C40UL)
#define REG_ICM_UIHVAL3 (*(WoReg *)0x42002C44UL)
#define REG_ICM_UIHVAL4 (*(WoReg *)0x42002C48UL)
#define REG_ICM_UIHVAL5 (*(WoReg *)0x42002C4CUL)
#define REG_ICM_UIHVAL6 (*(WoReg *)0x42002C50UL)
#define REG_ICM_UIHVAL7 (*(WoReg *)0x42002C54UL)
#endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
/* ========== Instance parameters for ICM peripheral ========== */
#define ICM_CLK_AHB_ID 19
#endif /* _SAME54_ICM_INSTANCE_ */