#ifndef _FC7240_RGM_NU_Tztufn9_REGS_H_ #define _FC7240_RGM_NU_Tztufn9_REGS_H_ #ifdef __cplusplus extern "C" { #endif /* ---------------------------------------------------------------------------- -- RGM Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup RGM_Peripheral_Access_Layer RGM Peripheral Access Layer * @{ */ /** RGM - Size of Registers Arrays */ /** RGM - Register Layout Typedef */ typedef struct { uint8_t RESERVED_0[8]; __IO uint32_t SRS ; /* System Reset Status Register, offset: 0x8 */ __IO uint32_t RSTFLT ; /* Reset Filter Control Register, offset: 0xC */ uint8_t RESERVED_1[8]; __IO uint32_t SSRS ; /* Sticky System Reset Status Register, offset: 0x18 */ __IO uint32_t SRIE ; /* System Reset Interrupt Enable Register, offset: 0x1C */ uint8_t RESERVED_2[224]; __IO uint32_t C0_CFG ; /* CPU0 Reset Configuration Register, offset: 0x100 */ __IO uint32_t C0_RST ; /* CPU0 Reset Register, offset: 0x104 */ __IO uint32_t C0_SRS ; /* CPU0 System Reset Status Register, offset: 0x108 */ uint8_t RESERVED_3[8]; __IO uint32_t C0_SSRS ; /* CPU0 Sticky System Reset Status Register, offset: 0x114 */ } RGM_Type, *RGM_MemMapPtr; /** Number of instances of the RGM module. */ #define RGM_INSTANCE_COUNT (1u) /* RGM - Peripheral instance base addresses */ /** Peripheral RGM base address */ #define RGM_BASE (0x40046000u) /** Peripheral RGM base pointer */ #define RGM ((RGM_Type *)RGM_BASE) /** Array initializer of RGM peripheral base addresses */ #define RGM_BASE_ADDRS {RGM_BASE} /** Array initializer of RGM peripheral base pointers */ #define RGM_BASE_PTRS {RGM} /* ---------------------------------------------------------------------------- -- RGM Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup RGM_Register_Masks RGM Register Masks * @{ */ /* SRS Bit Fields */ #define RGM_SRS_SYSRST_TOUT_MASK 0x80000000u #define RGM_SRS_SYSRST_TOUT_SHIFT 31u #define RGM_SRS_SYSRST_TOUT_WIDTH 1u #define RGM_SRS_SYSRST_TOUT(x) (((uint32_t)(((uint32_t)(x))<