SpHr_bitTestRange(val, bit0, bitN)
Test bits bit0 to bitN of val.
Returns 1 if any of the bits are set.
Example
variable val = 0
if(SpHr_bitTestRange(val, 1, 4))
// true if one of bits 1 through 4 of val are set
else
// false if none of bits 1through 4 are set.
endif