custom message for SHMGET
[minix3.git] / include / minix / clkconf.h
blobdc66f4aac273467fdf18495a5c6117fb14828cb0
1 #ifndef _CLKCONF_H
2 #define _CLKCONF_H
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
10 #define CM_PER_I2C2_CLKCTRL 0x044
11 #define CM_PER_I2C1_CLKCTRL 0x048
12 #define CM_WKUP_I2C0_CLKCTRL 0x4B8
14 int clkconf_init();
15 int clkconf_set(u32_t clk, u32_t mask, u32_t value);
16 int clkconf_release();
18 #endif