FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#define kField_ExtractNamedRange_ (   REG_VAL,
  FIELD_NAME 
)
related

Extracts a bitfield by token-pasting left/right macros using a specific naming scheme.

(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.
FIELD_NAMEMacro prefix, prepended to _MSB and _LSB.
Returns
Value extracted from bitfield.