#ifndef _FC7240_CPM_NU_Tztufn6_REGS_H_ #define _FC7240_CPM_NU_Tztufn6_REGS_H_ #ifdef __cplusplus extern "C" { #endif /* ---------------------------------------------------------------------------- -- CPM Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup CPM_Peripheral_Access_Layer CPM Peripheral Access Layer * @{ */ /** CPM - Size of Registers Arrays */ /** CPM - Register Layout Typedef */ typedef struct { __IO uint32_t FISCR ; /* FPU Interrupt Status and Control Register, offset: 0x0 */ __IO uint32_t MISCR ; /* Miscellaneous Control Register, offset: 0x4 */ uint8_t RESERVED_0[24]; __IO uint32_t TCMRCR ; /* TCM Retry Control Register, offset: 0x20 */ } CPM_Type, *CPM_MemMapPtr; /** Number of instances of the CPM module. */ #define CPM_INSTANCE_COUNT (1u) /* CPM - Peripheral instance base addresses */ /** Peripheral CPM base address */ #define CPM_BASE (0xE0080000u) /** Peripheral CPM base pointer */ #define CPM ((CPM_Type *)CPM_BASE) /** Array initializer of CPM peripheral base addresses */ #define CPM_BASE_ADDRS {CPM_BASE} /** Array initializer of CPM peripheral base pointers */ #define CPM_BASE_PTRS {CPM} // need fill by yourself ///** Number of interrupt vector arrays for the CPM module. */ //#define CPM_IRQS_ARR_COUNT (1u) ///** Number of interrupt channels for the CPM module. */ //#define CPM_IRQS_CH_COUNT (1u) ///** Interrupt vectors for the CPM peripheral type */ //#define CPM_IRQS {CPM_IRQn} /* ---------------------------------------------------------------------------- -- CPM Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup CPM_Register_Masks CPM Register Masks * @{ */ /* FISCR Bit Fields */ #define CPM_FISCR_FIXCE_MASK 0x200000u #define CPM_FISCR_FIXCE_SHIFT 21u #define CPM_FISCR_FIXCE_WIDTH 1u #define CPM_FISCR_FIXCE(x) (((uint32_t)(((uint32_t)(x))<