#ifndef _FC7240_INTM_NU_Tztufn10_REGS_H_ #define _FC7240_INTM_NU_Tztufn10_REGS_H_ #ifdef __cplusplus extern "C" { #endif /* ---------------------------------------------------------------------------- -- INTM Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup INTM_Peripheral_Access_Layer INTM Peripheral Access Layer * @{ */ /** INTM - Size of Registers Arrays */ /** INTM - Register Layout Typedef */ typedef struct { __IO uint32_t ER ; /* Enable Register, offset: 0x0 */ __IO uint32_t IACKR ; /* Interrupt Acknowledge Register, offset: 0x4 */ __IO uint32_t IRQSELR0 ; /* Interrupt Request Select Register, offset: 0x8 */ __IO uint32_t LATR0 ; /* Latency Register, offset: 0xc */ __IO uint32_t TMR0 ; /* Timer Register, offset: 0x10 */ __I uint32_t SR0 ; /* Status Register, offset: 0x14 */ __IO uint32_t IRQSELR1 ; /* Interrupt Request Select Register, offset: 0x18 */ __IO uint32_t LATR1 ; /* Latency Register, offset: 0x1c */ __IO uint32_t TMR1 ; /* Timer Register, offset: 0x20 */ __I uint32_t SR1 ; /* Status Register, offset: 0x24 */ } INTM_Type, *INTM_MemMapPtr; /** Number of instances of the INTM module. */ #define INTM_INSTANCE_COUNT (1u) /* INTM - Peripheral instance base addresses */ /** Peripheral INTM base address */ #define INTM_BASE (0x4001a000u) /** Peripheral INTM base pointer */ #define INTM ((INTM_Type *)INTM_BASE) /** Array initializer of INTM peripheral base addresses */ #define INTM_BASE_ADDRS {INTM_BASE} /** Array initializer of INTM peripheral base pointers */ #define INTM_BASE_PTRS {INTM} // need fill by yourself ///** Number of interrupt vector arrays for the INTM module. */ //#define INTM_IRQS_ARR_COUNT (1u) ///** Number of interrupt channels for the INTM module. */ //#define INTM_IRQS_CH_COUNT (1u) ///** Interrupt vectors for the INTM peripheral type */ //#define INTM_IRQS {INTM_IRQn} /* ---------------------------------------------------------------------------- -- INTM Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup INTM_Register_Masks INTM Register Masks * @{ */ /* ER Bit Fields */ #define INTM_ER_EN_MASK 0x1u #define INTM_ER_EN_SHIFT 0u #define INTM_ER_EN_WIDTH 1u #define INTM_ER_EN(x) (((uint32_t)(((uint32_t)(x))<