113 return bitValue(reg, numberOfBits, (position + 1u), 0);
118 uint8_t numberOfBits,
126 uint8_t outputRegister = reg;
127 outputRegister = outputRegister & ~(
MXM_REG_MASK(shift, numberOfBits));
128 outputRegister =
bitValue(value, numberOfBits, 1, shift) | outputRegister;
129 return outputRegister;
133 #ifdef UNITY_UNIT_TEST