public override void setUnderlyingValue(int raw) { rawVal = raw; val = (sfrPIE1Bits)raw; }
public bool hasBit(sfrPIE1Bits toCheck) { return (((int)val) | ((int)(toCheck))) == 0 ? false : true; }