#define UNIT_USED_MASK(n) (1 << ((n) &0x1f))
typelib.h
Hard coded 32 bit division for getting bit index. (x & 0x1f)
Macros