#ifndef _FC7240_PMC_NU_Tztufn12_REGS_H_ #define _FC7240_PMC_NU_Tztufn12_REGS_H_ #ifdef __cplusplus extern "C" { #endif /* ---------------------------------------------------------------------------- -- PMC Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup PMC_Peripheral_Access_Layer PMC Peripheral Access Layer * @{ */ /** PMC - Size of Registers Arrays */ /** PMC - Register Layout Typedef */ typedef struct { __IO uint32_t LVSCR ; /* Low Voltage Status and Control Register, offset: 0x0 */ __IO uint32_t CONFIG ; /* PMC Configuration Register, offset: 0x4 */ } PMC_Type, *PMC_MemMapPtr; /** Number of instances of the PMC module. */ #define PMC_INSTANCE_COUNT (1u) /* PMC - Peripheral instance base addresses */ /** Peripheral PMC base address */ #define PMC_BASE (0x40044000u) /** Peripheral PMC base pointer */ #define PMC ((PMC_Type *)PMC_BASE) /** Array initializer of PMC peripheral base addresses */ #define PMC_BASE_ADDRS {PMC_BASE} /** Array initializer of PMC peripheral base pointers */ #define PMC_BASE_PTRS {PMC} // need fill by yourself ///** Number of interrupt vector arrays for the PMC module. */ //#define PMC_IRQS_ARR_COUNT (1u) ///** Number of interrupt channels for the PMC module. */ //#define PMC_IRQS_CH_COUNT (1u) ///** Interrupt vectors for the PMC peripheral type */ //#define PMC_IRQS {PMC_IRQn} /* ---------------------------------------------------------------------------- -- PMC Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup PMC_Register_Masks PMC Register Masks * @{ */ /* LVSCR Bit Fields */ #define PMC_LVSCR_POR_FLAG_MASK 0x80000000u #define PMC_LVSCR_POR_FLAG_SHIFT 31u #define PMC_LVSCR_POR_FLAG_WIDTH 1u #define PMC_LVSCR_POR_FLAG(x) (((uint32_t)(((uint32_t)(x))<