#ifndef _FC7240_PCC_NU_Tztufn5_REGS_H_ #define _FC7240_PCC_NU_Tztufn5_REGS_H_ #ifdef __cplusplus extern "C" { #endif /* ---------------------------------------------------------------------------- -- PCC Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup PCC_Peripheral_Access_Layer PCC Peripheral Access Layer * @{ */ /** PCC - Size of Registers Arrays */ /** PCC - Register Layout Typedef */ typedef struct { uint8_t RESERVED_0[32]; __IO uint32_t PCC_DMA0 ; /* DMA0 Clock Control Register, offset: 0x20 */ uint8_t RESERVED_1[4]; __IO uint32_t PCC_DMAMUX0 ; /* DMAMUX0 Clock Control Register, offset: 0x28 */ uint8_t RESERVED_2[32]; __IO uint32_t PCC_ROMC ; /* ROMC Clock Control Register, offset: 0x4C */ uint8_t RESERVED_3[16]; __IO uint32_t PCC_ERM ; /* ERM Clock Control Register, offset: 0x60 */ __IO uint32_t PCC_EIM ; /* EIM Clock Control Register, offset: 0x64 */ __IO uint32_t PCC_INTM0 ; /* INTM0 Clock Control Register, offset: 0x68 */ __IO uint32_t PCC_ISM0 ; /* ISM0 Clock Control Register, offset: 0x6C */ uint8_t RESERVED_4[24]; __IO uint32_t PCC_WDOG0 ; /* WDOG0 Clock Control Register, offset: 0x88 */ uint8_t RESERVED_5[12]; __IO uint32_t PCC_TRGSEL0 ; /* TRGSEL0 Clock Control Register, offset: 0x98 */ __IO uint32_t PCC_TRGSEL1 ; /* TRGSEL1 Clock Control Register, offset: 0x9C */ __IO uint32_t PCC_TRGSEL2 ; /* TRGSEL2 Clock Control Register, offset: 0xA0 */ __IO uint32_t PCC_TRGSEL3 ; /* TRGSEL3 Clock Control Register, offset: 0xA4 */ __IO uint32_t PCC_CRC0 ; /* CRC0 Clock Control Register, offset: 0xA8 */ __IO uint32_t PCC_CORDIC0 ; /* CORDIC0 Clock Control Register, offset: 0xAC */ __IO uint32_t PCC_TSTMP0 ; /* TSTMP0 Clock Control Register, offset: 0xB0 */ __IO uint32_t PCC_TSTMP1 ; /* TSTMP1 Clock Control Register, offset: 0xB4 */ __IO uint32_t PCC_FCPIT0 ; /* FCPIT0 Clock Control Register, offset: 0xB8 */ __IO uint32_t PCC_AONTIMER0 ; /* AONTIMER0 Clock Control Register, offset: 0xBC */ __IO uint32_t PCC_RTC ; /* RTC Clock Control Register, offset: 0xC0 */ __IO uint32_t PCC_CMU0 ; /* CMU0 Clock Control Register, offset: 0xC4 */ __IO uint32_t PCC_CMU1 ; /* CMU1 Clock Control Register, offset: 0xC8 */ __IO uint32_t PCC_CMU2 ; /* CMU2 Clock Control Register, offset: 0xCC */ __IO uint32_t PCC_CMU3 ; /* CMU3 Clock Control Register, offset: 0xD0 */ __IO uint32_t PCC_CMU4 ; /* CMU4 Clock Control Register, offset: 0xD4 */ uint8_t RESERVED_6[4]; __IO uint32_t PCC_PTIMER0 ; /* PTIMER0 Clock Control Register, offset: 0xDC */ __IO uint32_t PCC_PTIMER1 ; /* PTIMER1 Clock Control Register, offset: 0xE0 */ uint8_t RESERVED_7[8]; __IO uint32_t PCC_ADC0 ; /* ADC0 Clock Control Register, offset: 0xEC */ __IO uint32_t PCC_ADC1 ; /* ADC1 Clock Control Register, offset: 0xF0 */ uint8_t RESERVED_8[8]; __IO uint32_t PCC_WKU ; /* WKU Clock Control Register, offset: 0xFC */ __IO uint32_t PCC_CMP0 ; /* CMP0 Clock Control Register, offset: 0x100 */ __IO uint32_t PCC_CMP1 ; /* CMP1 Clock Control Register, offset: 0x104 */ uint8_t RESERVED_9[4]; __IO uint32_t PCC_TMU ; /* TMU Clock Control Register, offset: 0x10C */ uint8_t RESERVED_10[64]; __IO uint32_t PCC_SENT0 ; /* SENT0 Clock Control Register, offset: 0x150 */ uint8_t RESERVED_11[12]; __IO uint32_t PCC_MB ; /* MB Clock Control Register, offset: 0x160 */ uint8_t RESERVED_12[12]; __IO uint32_t PCC_FTU0 ; /* FTU0 Clock Control Register, offset: 0x170 */ __IO uint32_t PCC_FTU1 ; /* FTU1 Clock Control Register, offset: 0x174 */ __IO uint32_t PCC_FTU2 ; /* FTU2 Clock Control Register, offset: 0x178 */ __IO uint32_t PCC_FTU3 ; /* FTU3 Clock Control Register, offset: 0x17C */ uint8_t RESERVED_13[8]; __IO uint32_t PCC_FCSPI0 ; /* FCSPI0 Clock Control Register, offset: 0x188 */ __IO uint32_t PCC_FCSPI1 ; /* FCSPI1 Clock Control Register, offset: 0x18C */ __IO uint32_t PCC_FCSPI2 ; /* FCSPI2 Clock Control Register, offset: 0x190 */ uint8_t RESERVED_14[4]; __IO uint32_t PCC_FCIIC0 ; /* FCIIC0 Clock Control Register, offset: 0x198 */ uint8_t RESERVED_15[4]; __IO uint32_t PCC_FCUART0 ; /* FCUART0 Clock Control Register, offset: 0x1A0 */ __IO uint32_t PCC_FCUART1 ; /* FCUART1 Clock Control Register, offset: 0x1A4 */ __IO uint32_t PCC_FCUART2 ; /* FCUART2 Clock Control Register, offset: 0x1A8 */ __IO uint32_t PCC_FCUART3 ; /* FCUART3 Clock Control Register, offset: 0x1AC */ uint8_t RESERVED_16[16]; __IO uint32_t PCC_LU0 ; /* LU0 Clock Control Register, offset: 0x1C0 */ uint8_t RESERVED_17[28]; __IO uint32_t PCC_FREQM ; /* FREQM Clock Control Register, offset: 0x1E0 */ uint8_t RESERVED_18[24]; __IO uint32_t PCC_STCU ; /* STCU Clock Control Register, offset: 0x1FC */ __IO uint32_t PCC_FLEXCAN0 ; /* FLEXCAN0 Clock Control Register, offset: 0x200 */ uint8_t RESERVED_19[12]; __IO uint32_t PCC_FLEXCAN1 ; /* FLEXCAN1 Clock Control Register, offset: 0x210 */ uint8_t RESERVED_20[312]; __IO uint32_t PCC_WDOG1 ; /* WDOG1 Clock Control Register, offset: 0x34C */ uint8_t RESERVED_21[28]; __IO uint32_t PCC_TRGSEL4 ; /* TRGSEL4 Clock Control Register, offset: 0x36C */ __IO uint32_t PCC_TRGSEL5 ; /* TRGSEL5 Clock Control Register, offset: 0x370 */ uint8_t RESERVED_22[8]; __IO uint32_t PCC_FCSPI3 ; /* FCSPI3 Clock Control Register, offset: 0x37C */ __IO uint32_t PCC_FCSPI4 ; /* FCSPI4 Clock Control Register, offset: 0x380 */ __IO uint32_t PCC_FCSPI5 ; /* FCSPI5 Clock Control Register, offset: 0x384 */ uint8_t RESERVED_23[116]; __IO uint32_t PCC_FTU4 ; /* FTU4 Clock Control Register, offset: 0x3FC */ __IO uint32_t PCC_FTU5 ; /* FTU5 Clock Control Register, offset: 0x400 */ __IO uint32_t PCC_FTU6 ; /* FTU6 Clock Control Register, offset: 0x404 */ __IO uint32_t PCC_FTU7 ; /* FTU7 Clock Control Register, offset: 0x408 */ uint8_t RESERVED_24[16]; __IO uint32_t PCC_FCIIC1 ; /* FCIIC1 Clock Control Register, offset: 0x41C */ __IO uint32_t PCC_FCUART4 ; /* FCUART4 Clock Control Register, offset: 0x420 */ __IO uint32_t PCC_FCUART5 ; /* FCUART5 Clock Control Register, offset: 0x424 */ __IO uint32_t PCC_FCUART6 ; /* FCUART6 Clock Control Register, offset: 0x428 */ __IO uint32_t PCC_FCUART7 ; /* FCUART7 Clock Control Register, offset: 0x42C */ uint8_t RESERVED_25[32]; __IO uint32_t PCC_MSC0 ; /* MSC0 Clock Control Register, offset: 0x450 */ uint8_t RESERVED_26[44]; __IO uint32_t PCC_FLEXCAN2 ; /* FLEXCAN2 Clock Control Register, offset: 0x480 */ uint8_t RESERVED_27[12]; __IO uint32_t PCC_FLEXCAN3 ; /* FLEXCAN3 Clock Control Register, offset: 0x490 */ } PCC_Type, *PCC_MemMapPtr; /** Number of instances of the PCC module. */ #define PCC_INSTANCE_COUNT (1u) /* PCC - Peripheral instance base addresses */ /** Peripheral PCC base address */ #define PCC_BASE (0x40024000u) /** Peripheral PCC base pointer */ #define PCC ((PCC_Type *)PCC_BASE) /** Array initializer of PCC peripheral base addresses */ #define PCC_BASE_ADDRS {PCC_BASE} /** Array initializer of PCC peripheral base pointers */ #define PCC_BASE_PTRS {PCC} // need fill by yourself ///** Number of interrupt vector arrays for the PCC module. */ //#define PCC_IRQS_ARR_COUNT (1u) ///** Number of interrupt channels for the PCC module. */ //#define PCC_IRQS_CH_COUNT (1u) ///** Interrupt vectors for the PCC peripheral type */ //#define PCC_IRQS {PCC_IRQn} /* ---------------------------------------------------------------------------- -- PCC Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup PCC_Register_Masks PCC Register Masks * @{ */ /* DMA0 Bit Fields */ #define PCC_DMA0_CGC_MASK 0x800000u #define PCC_DMA0_CGC_SHIFT 23u #define PCC_DMA0_CGC_WIDTH 1u #define PCC_DMA0_CGC(x) (((uint32_t)(((uint32_t)(x))<