
Clock configuration will be needed by other/future subsystems such as i2c. Extract the functionality from libgpio and put it into it's own library. Change-Id: I6f6de0b3fb4d305ddfeac74123b78c983d1318dd
8 lines
181 B
C
8 lines
181 B
C
/* Clock configuration */
|
|
#define CM_FCLKEN_WKUP 0xC00
|
|
#define CM_ICLKEN_WKUP 0xC10
|
|
|
|
int clkconf_init();
|
|
int clkconf_set(u32_t clk, u32_t mask, u32_t value);
|
|
int clkconf_release();
|