![]() Zero if array has an array type, a compile error otherwise. ZERO_OR_COMPILE_ERROR ( cond ) ¶Ġ if cond is true-ish causes a compile error otherwise. The result should be combined with other fields using a logical OR. Prepare a bitfield element using value with mask representing its field position and width. FIELD_GET ( mask, value ) ¶Įxtract a bitfield element from value corresponding to the field mask mask. LSB_GET ( value ) ¶Įxtract the Least Significant Bit from value. ![]() GENMASK ( h, l ) ¶Ĭreate a contiguous bitmask starting at bit position l and ending at position h. ![]() INT_TO_POINTER ( x ) ¶Ĭast x, a signed integer, to a void*. POINTER_TO_INT ( x ) ¶Ĭast x, a pointer, to a signed integer. UINT_TO_POINTER ( x ) ¶Ĭast x, an unsigned integer, to a void*. ![]() Cast x, a pointer, to an unsigned integer. ![]()
0 Comments
Leave a Reply. |