#ifndef _FC7240_WKU_NU_Tztufn29_REGS_H_ #define _FC7240_WKU_NU_Tztufn29_REGS_H_ #ifdef __cplusplus extern "C" { #endif /* ---------------------------------------------------------------------------- -- WKU Peripheral Access Layer ---------------------------------------------------------------------------- */ /*! * @addtogroup WKU_Peripheral_Access_Layer WKU Peripheral Access Layer * @{ */ /** WKU - Size of Registers Arrays */ /** WKU - Register Layout Typedef */ typedef struct { uint8_t RESERVED_0[4]; __IO uint32_t MDC ; /* Module Delay Configuration Register0, offset: 0x04 */ __IO uint32_t MWER0 ; /* Module Wakeup Enable Register0, offset: 0x08 */ __IO uint32_t MWER1 ; /* Module Wakeup Enable Register1, offset: 0x0C */ __IO uint32_t MWER2 ; /* Module Wakeup Enable Register2, offset: 0x10 */ } WKU_Type, *WKU_MemMapPtr; /** Number of instances of the WKU module. */ #define WKU_INSTANCE_COUNT (1u) /* WKU - Peripheral instance base addresses */ /** Peripheral WKU base address */ #define WKU_BASE (0x4003f000u) /** Peripheral WKU base pointer */ #define WKU ((WKU_Type *)WKU_BASE) /** Array initializer of WKU peripheral base addresses */ #define WKU_BASE_ADDRS {WKU_BASE} /** Array initializer of WKU peripheral base pointers */ #define WKU_BASE_PTRS {WKU} // need fill by yourself ///** Number of interrupt vector arrays for the WKU module. */ //#define WKU_IRQS_ARR_COUNT (1u) ///** Number of interrupt channels for the WKU module. */ //#define WKU_IRQS_CH_COUNT (1u) ///** Interrupt vectors for the WKU peripheral type */ //#define WKU_IRQS {WKU_IRQn} /* ---------------------------------------------------------------------------- -- WKU Register Masks ---------------------------------------------------------------------------- */ /*! * @addtogroup WKU_Register_Masks WKU Register Masks * @{ */ /* MDC Bit Fields */ #define WKU_MDC_DLYEN_MASK 0x80000000u #define WKU_MDC_DLYEN_SHIFT 31u #define WKU_MDC_DLYEN_WIDTH 1u #define WKU_MDC_DLYEN(x) (((uint32_t)(((uint32_t)(x))<