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

Inserts a bitfield into an existing register value.

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

Parameters
REG_REFPointer to register value.
MSBLeftmost bit index in range (highest).
LSBRightmost bit index in range (lowest).
FLD_VALField value.