Go to the documentation of this file.
19 #define UData(Data) ((unsigned long) (Data))
21 #define UData(Data) (Data)
46 #define Fld(Size, Shft) (((Size) << 16) + (Shft))
68 #define FSize(Field) ((Field) >> 16)
69 #define FShft(Field) ((Field) & 0x0000FFFF)
70 #define FMsk(Field) (((UData (1) << FSize (Field)) - 1) << FShft (Field))
71 #define FAlnMsk(Field) ((UData (1) << FSize (Field)) - 1)
72 #define F1stBit(Field) (UData (1) << FShft (Field))
90 #define FInsrt(Value, Field) \
91 (UData (Value) << FShft (Field))
109 #define FExtr(Data, Field) \
110 ((UData (Data) >> FShft (Field)) & FAlnMsk (Field))