1 #ifndef _CLKCONF_H 2 #define _CLKCONF_H 3 4 /* Clock configuration */ 5 #define CM_FCLKEN1_CORE 0xA00 6 #define CM_ICLKEN1_CORE 0xA10 7 #define CM_FCLKEN_WKUP 0xC00 8 #define CM_ICLKEN_WKUP 0xC10 9 10 #define CM_PER_I2C2_CLKCTRL 0x044 11 #define CM_PER_I2C1_CLKCTRL 0x048 12 #define CM_WKUP_I2C0_CLKCTRL 0x4B8 13 14 int clkconf_init(void); 15 int clkconf_set(u32_t clk, u32_t mask, u32_t value); 16 int clkconf_release(void); 17 18 #endif 19