pcc.h
Go to the documentation of this file.
#ifndef _SAME54_PCC_INSTANCE_
#define _SAME54_PCC_INSTANCE_
/* ========== Register definition for PCC peripheral ========== */
#if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__))
#define REG_PCC_MR (0x43002C00)
#define REG_PCC_IER (0x43002C04)
#define REG_PCC_IDR (0x43002C08)
#define REG_PCC_IMR (0x43002C0C)
#define REG_PCC_ISR (0x43002C10)
#define REG_PCC_RHR (0x43002C14)
#define REG_PCC_WPMR (0x43002CE0)
#define REG_PCC_WPSR (0x43002CE4)
#else
#define REG_PCC_MR (*(RwReg *)0x43002C00UL)
#define REG_PCC_IER (*(WoReg *)0x43002C04UL)
#define REG_PCC_IDR (*(WoReg *)0x43002C08UL)
#define REG_PCC_IMR (*(RoReg *)0x43002C0CUL)
#define REG_PCC_ISR (*(RoReg *)0x43002C10UL)
#define REG_PCC_RHR (*(RoReg *)0x43002C14UL)
#define REG_PCC_WPMR (*(RwReg *)0x43002CE0UL)
#define REG_PCC_WPSR (*(RoReg *)0x43002CE4UL)
#endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */
/* ========== Instance parameters for PCC peripheral ========== */
#define PCC_DATA_SIZE 14
#define PCC_DMAC_ID_RX 80
#endif /* _SAME54_PCC_INSTANCE_ */