#ifndef _FC7240_MAM_NU_Tztufn19_REGS_H_ #define _FC7240_MAM_NU_Tztufn19_REGS_H_ #ifdef __cplusplus extern "C" { #endif /* ---------------------------------------------------------------------------- -- MAM Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup MAM_Peripheral_Access_Layer MAM Peripheral Access Layer * @{ */ /** MAM - Size of Registers Arrays */ /** MAM - Register Layout Typedef */ #define MAM_ACLR_COUNT 12 #define MAM_ACR_COUNT 188 typedef struct { __IO uint32_t MAXCFG ; /* Matrix Configuration Register, offset: 0x000 */ __IO uint32_t BSTCR ; /* Burst Control Register, offset: 0x004 */ uint8_t RESERVED_0[248]; __IO uint32_t WDGCR ; /* Watchdog Control Register, offset: 0x100 */ __IO uint32_t TOCR ; /* Timeout Control Register, offset: 0x104 */ __IO uint32_t WDGDIV ; /* Watchdog Divider Register, offset: 0x108 */ uint8_t RESERVED_1[1524]; __IO uint32_t ACLR[MAM_ACLR_COUNT] ; /* Access Control Lock Register, offset: 0x700 */ uint8_t RESERVED_2[208]; __IO uint32_t ACR[MAM_ACR_COUNT] ; /* Access Control Register, offset: 0x800 */ } MAM_Type, *MAM_MemMapPtr; /** Number of instances of the MAM module. */ #define MAM_INSTANCE_COUNT (1u) /* MAM - Peripheral instance base addresses */ /** Peripheral MAM base address */ #define MAM_BASE (0x4040d000u) /** Peripheral MAM base pointer */ #define MAM ((MAM_Type *)MAM_BASE) /** Array initializer of MAM peripheral base addresses */ #define MAM_BASE_ADDRS {MAM_BASE} /** Array initializer of MAM peripheral base pointers */ #define MAM_BASE_PTRS {MAM} // need fill by yourself ///** Number of interrupt vector arrays for the MAM module. */ //#define MAM_IRQS_ARR_COUNT (1u) ///** Number of interrupt channels for the MAM module. */ //#define MAM_IRQS_CH_COUNT (1u) ///** Interrupt vectors for the MAM peripheral type */ //#define MAM_IRQS {MAM_IRQn} /* ---------------------------------------------------------------------------- -- MAM Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup MAM_Register_Masks MAM Register Masks * @{ */ /* MAXCFG Bit Fields */ #define MAM_MAXCFG_MASTERNUM_MASK 0xFF000000u #define MAM_MAXCFG_MASTERNUM_SHIFT 24u #define MAM_MAXCFG_MASTERNUM_WIDTH 8u #define MAM_MAXCFG_MASTERNUM(x) (((uint32_t)(((uint32_t)(x))<