SpHr_bitClear(val, bit)


Test bit of val, equivalent to: val = val & ~(2^bit)    


Example

variable val = 0

val = SpHr_bitSet(val, 1)        // set bit one

if(SpHr_bitTest(val, 1))        // test bit one

    val = SpHr_bitClear(val, 1)    // clear bit one

endif

Contact: Brian