111 return bitValue(reg, numberOfBits, (position + 1u), 0);
116 uint8_t numberOfBits,
124 uint8_t outputRegister = reg;
125 outputRegister = outputRegister & ~(
MXM_REG_MASK(shift, numberOfBits));
126 outputRegister =
bitValue(value, numberOfBits, 1, shift) | outputRegister;
127 return outputRegister;