add and remove mask for system, interrupt and return for sleep, user define func to system default function, usage empty and fill mask