FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kField_ExtractRange_ (   REG_VAL,
  MSB,
  LSB 
)
related

Extracts a bitfield from the specified bit range.

(MSB - LSB) must be strictly less than the bit width of the type of MSB. See remarks in kField_ToMask_ documentation.

Parameters
REG_VALRegister value.
MSBLeftmost bit index in range (highest).
LSBRightmost bit index in range (lowest).
Returns
Value extracted from bitfield.