…Replace below code with the wrapper FIELD_MODIFY(MASK, ®, val)
- reg &= ~MASK;
- reg |= FIELD_PREP(MASK, val);
I will review the generated message to improve the formatting as youWould indentation be more helpful for the mentioned code excerpt
suggested, the next time I use it.
(instead of trying to describe lines with bullet points)?
Regards,
Markus