#ifndef _FC7240_CSC0_NU_Tztufn51_REGS_H_ #define _FC7240_CSC0_NU_Tztufn51_REGS_H_ #ifdef __cplusplus extern "C" { #endif /* ---------------------------------------------------------------------------- -- CSC0 Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup CSC0_Peripheral_Access_Layer CSC0 Peripheral Access Layer * @{ */ /** CSC0 - Size of Registers Arrays */ /** CSC0 - Register Layout Typedef */ typedef struct { __IO uint32_t STOP_MODER0 ; /* STOP Mode Control Register 0, offset: 0x0 */ __IO uint32_t STOP_REQR0 ; /* STOP Request Register 0, offset: 0x4 */ __I uint32_t STOP_ACKR0 ; /* STOP Acknowledge Register 0, offset: 0x8 */ __IO uint32_t STOP_MODER1 ; /* STOP Mode Control Register 1, offset: 0xC */ __IO uint32_t STOP_REQR1 ; /* STOP Request Register 1, offset: 0x10 */ __I uint32_t STOP_ACKR1 ; /* STOP Acknowledge Register 1, offset: 0x14 */ __IO uint32_t STOP_MODER2 ; /* STOP Mode Control Register 2, offset: 0x18 */ __IO uint32_t STOP_REQR2 ; /* STOP Request Register 2, offset: 0x1C */ __I uint32_t STOP_ACKR2 ; /* STOP Acknowledge Register 2, offset: 0x20 */ __IO uint32_t CCM0_CFG ; /* CCM0 Configuration Register, offset: 0x24 */ __I uint32_t CCM0_STATUS ; /* CCM0 Status Register, offset: 0x28 */ __IO uint32_t SCG_MAM_STALL ; /* SCG MAM Stall Request Register, offset: 0x2C */ __IO uint32_t CPU0_INT ; /* CPU0 Software Interrupt Register, offset: 0x30 */ uint8_t RESERVED_0[12]; __IO uint32_t CLKOUT_CTRL ; /* Clkout Control Register, offset: 0x40 */ __IO uint32_t AONCLKSR ; /* AON Clock Select Register, offset: 0x44 */ __IO uint32_t PCU_CTRL ; /* PCU Control Register, offset: 0x48 */ uint8_t RESERVED_1[4]; __IO uint32_t SMU_CTRL0 ; /* FCSMU Control Register 0, offset: 0x50 */ __IO uint32_t SMU_CTRL1 ; /* FCSMU Control Register 1, offset: 0x54 */ uint8_t RESERVED_2[8]; __IO uint32_t SMU_CTRL4 ; /* FCSMU Control Register 4, offset: 0x60 */ __IO uint32_t CMU_CTRL ; /* CMU Control Register, offset: 0x64 */ __IO uint32_t SMU_CTRL5 ; /* FCSMU Control Register 5, offset: 0x68 */ uint8_t RESERVED_3[4]; __IO uint32_t LP_WAKEUP ; /* Low Power Wakeup Register, offset: 0x70 */ } CSC0_Type, *CSC0_MemMapPtr; /** Number of instances of the CSC0 module. */ #define CSC0_INSTANCE_COUNT (1u) /* CSC0 - Peripheral instance base addresses */ /** Peripheral CSC0 base address */ #define CSC0_BASE (0x40079000u) /** Peripheral CSC0 base pointer */ #define CSC0 ((CSC0_Type *)CSC0_BASE) /** Array initializer of CSC0 peripheral base addresses */ #define CSC0_BASE_ADDRS {CSC0_BASE} /** Array initializer of CSC0 peripheral base pointers */ #define CSC0_BASE_PTRS {CSC0} // need fill by yourself ///** Number of interrupt vector arrays for the CSC0 module. */ //#define CSC0_IRQS_ARR_COUNT (1u) ///** Number of interrupt channels for the CSC0 module. */ //#define CSC0_IRQS_CH_COUNT (1u) ///** Interrupt vectors for the CSC0 peripheral type */ //#define CSC0_IRQS {CSC0_IRQn} /* ---------------------------------------------------------------------------- -- CSC0 Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup CSC0_Register_Masks CSC0 Register Masks * @{ */ /* STOP_MODER0 Bit Fields */ #define CSC0_STOP_MODER0_WPB_LOCK_MASK 0x80000000u #define CSC0_STOP_MODER0_WPB_LOCK_SHIFT 31u #define CSC0_STOP_MODER0_WPB_LOCK_WIDTH 1u #define CSC0_STOP_MODER0_WPB_LOCK(x) (((uint32_t)(((uint32_t)(x))<