SpHr_bitSetRange(val, bit0, bitN)


Set all bits of val between bit0 and bitN.


Example

variable val = SpHr_bitSetRange(0, 1,4)    // set bits 1 to 4 of val

Contact: Brian